From 8af0ca419b6baa9de50d53470f73feb0872cd4ac Mon Sep 17 00:00:00 2001 From: Alexander Weiss Date: Tue, 16 Jan 2024 22:59:37 +0100 Subject: [PATCH] use cli feature for rustic_backend --- Cargo.lock | 15 --------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 752fb2ae6..b36517b69 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2804,32 +2804,22 @@ dependencies = [ "aho-corasick", "anyhow", "backoff", - "binrw", "bytes", - "cached", "clap", "derive_setters", "displaydoc", "dunce", - "filetime", "hex", "humantime", - "ignore", "itertools", "log", "merge", - "nix", - "once_cell", "opendal", "rand", "rayon", "reqwest", "rustic_core", "serde", - "serde-aux", - "serde_derive", - "serde_json", - "serde_with", "shell-words", "strum", "strum_macros", @@ -2844,9 +2834,7 @@ name = "rustic_core" version = "0.1.2" dependencies = [ "aes256ctr_poly1305aes", - "aho-corasick", "anyhow", - "backoff", "binrw", "bytes", "bytesize", @@ -2858,7 +2846,6 @@ dependencies = [ "derivative", "derive_more", "derive_setters", - "directories", "dirs", "displaydoc", "dunce", @@ -2878,7 +2865,6 @@ dependencies = [ "path-dedot", "rand", "rayon", - "reqwest", "scrypt", "serde", "serde-aux", @@ -2888,7 +2874,6 @@ dependencies = [ "sha2", "shell-words", "thiserror", - "url", "walkdir", "xattr", "zstd", diff --git a/Cargo.toml b/Cargo.toml index a82e8df68..e719b03b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,7 +108,7 @@ toml_edit = { workspace = true, features = ["serde"] } libc = "0.2.150" [workspace.dependencies] rustic_core = { path = "../rustic_core/crates/core", features = ["cli"] } -rustic_backend = { path = "../rustic_core/crates/backend" } +rustic_backend = { path = "../rustic_core/crates/backend", features = ["cli"] } # rustic_core = { version = "0.1.2", features = ["cli"] } abscissa_core = { version = "0.7.0", default-features = false, features = ["application"] }