summaryrefslogtreecommitdiff
path: root/server/hook/Cargo.toml
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-02-01 22:42:11 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-02-01 22:42:11 +0100
commitd780391408b9e6d443e5e4f907748cae484b79fb (patch)
treed961efd62478248081d1a327c818d6fa171f0a2d /server/hook/Cargo.toml
parent05b674190f26e2a58cc7b7288586c031552d50f3 (diff)
Use workspace instead of features
Having to include --feature=build-server in basically all commands that wasn't building eyeballs-githook got tiring quickly. Instead, use workspaces, with a separate project for building the githook. It means I also had to add a library common with code shared by both githook and server.
Diffstat (limited to 'server/hook/Cargo.toml')
-rw-r--r--server/hook/Cargo.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/server/hook/Cargo.toml b/server/hook/Cargo.toml
new file mode 100644
index 0000000..2a298b7
--- /dev/null
+++ b/server/hook/Cargo.toml
@@ -0,0 +1,14 @@
+[package]
+name = "eyeballs-githook"
+version = "0.1.0"
+edition = "2021"
+
+[dependencies]
+eyeballs-common = { path = "../common" }
+rmp-serde.workspace = true
+serde.workspace = true
+tokio = { workspace = true, features = ["full"] }
+
+[[bin]]
+name = "eyeballs-githook"
+path = "src/githook.rs"