From d780391408b9e6d443e5e4f907748cae484b79fb Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sat, 1 Feb 2025 22:42:11 +0100 Subject: 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. --- server/common/Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 server/common/Cargo.toml (limited to 'server/common/Cargo.toml') diff --git a/server/common/Cargo.toml b/server/common/Cargo.toml new file mode 100644 index 0000000..a17fb95 --- /dev/null +++ b/server/common/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "eyeballs-common" +version = "0.1.0" +edition = "2021" + +[dependencies] +futures.workspace = true +pathdiff = "0.2.3" +serde.workspace = true +tokio = { workspace = true, features = ["fs", "process", "sync"] } -- cgit v1.2.3-70-g09d2