aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-05-13 07:57:27 +0200
committerGitHub <noreply@github.com>2022-05-13 06:57:27 +0100
commit14b30606a5b2e127f5490f184c8af9ffab780095 (patch)
tree181cfc9e152b52defde17590db77817d48300a98 /Cargo.toml
parentDon't create config dir for server in default location if not needed (#406) (diff)
downloadatuin-14b30606a5b2e127f5490f184c8af9ffab780095.zip
Allow to build atuin server without client (#404)
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 1dee5856..0e1f2296 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -33,13 +33,14 @@ members = ["./atuin-client", "./atuin-server", "./atuin-common"]
# TODO(conradludgate)
# Currently, this keeps the same default built behaviour for v0.8
# We should rethink this by the time we hit a new breaking change
-default = ["sync", "server"]
+default = ["client", "sync", "server"]
+client = ["atuin-client"]
sync = ["atuin-client/sync"]
server = ["atuin-server", "tracing-subscriber"]
[dependencies]
atuin-server = { path = "atuin-server", version = "0.9.1", optional = true }
-atuin-client = { path = "atuin-client", version = "0.9.1", default-features = false }
+atuin-client = { path = "atuin-client", version = "0.9.1", optional = true, default-features = false }
atuin-common = { path = "atuin-common", version = "0.9.1" }
log = "0.4"