From 14b30606a5b2e127f5490f184c8af9ffab780095 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Fri, 13 May 2022 07:57:27 +0200 Subject: Allow to build atuin server without client (#404) --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') 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" -- cgit v1.3.1