mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-26 18:25:06 +01:00
Fix client-only builds (#1155)
This commit is contained in:
parent
0d5332a87f
commit
613218f0d8
@ -13,14 +13,7 @@ repository = { workspace = true }
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["sync"]
|
default = ["sync"]
|
||||||
sync = [
|
sync = ["urlencoding", "reqwest", "sha2", "hex"]
|
||||||
"urlencoding",
|
|
||||||
"reqwest",
|
|
||||||
"sha2",
|
|
||||||
"hex",
|
|
||||||
"generic-array",
|
|
||||||
"xsalsa20poly1305",
|
|
||||||
]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
atuin-common = { path = "../atuin-common", version = "16.0.0" }
|
atuin-common = { path = "../atuin-common", version = "16.0.0" }
|
||||||
@ -55,6 +48,8 @@ typed-builder = "0.14.0"
|
|||||||
tokio = { workspace = true }
|
tokio = { workspace = true }
|
||||||
semver = { workspace = true }
|
semver = { workspace = true }
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
|
xsalsa20poly1305 = "0.9.0"
|
||||||
|
generic-array = { version = "0.14", features = ["serde"] }
|
||||||
|
|
||||||
# encryption
|
# encryption
|
||||||
rusty_paseto = { version = "0.5.0", default-features = false }
|
rusty_paseto = { version = "0.5.0", default-features = false }
|
||||||
@ -68,8 +63,6 @@ urlencoding = { version = "2.1.0", optional = true }
|
|||||||
reqwest = { workspace = true, optional = true }
|
reqwest = { workspace = true, optional = true }
|
||||||
hex = { version = "0.4", optional = true }
|
hex = { version = "0.4", optional = true }
|
||||||
sha2 = { version = "0.10", optional = true }
|
sha2 = { version = "0.10", optional = true }
|
||||||
xsalsa20poly1305 = { version = "0.9.0", optional = true }
|
|
||||||
generic-array = { version = "0.14", optional = true, features = ["serde"] }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
|
@ -6,11 +6,10 @@ extern crate log;
|
|||||||
#[cfg(feature = "sync")]
|
#[cfg(feature = "sync")]
|
||||||
pub mod api_client;
|
pub mod api_client;
|
||||||
#[cfg(feature = "sync")]
|
#[cfg(feature = "sync")]
|
||||||
pub mod encryption;
|
|
||||||
#[cfg(feature = "sync")]
|
|
||||||
pub mod sync;
|
pub mod sync;
|
||||||
|
|
||||||
pub mod database;
|
pub mod database;
|
||||||
|
pub mod encryption;
|
||||||
pub mod history;
|
pub mod history;
|
||||||
pub mod import;
|
pub mod import;
|
||||||
pub mod kv;
|
pub mod kv;
|
||||||
|
Loading…
Reference in New Issue
Block a user