From 8df4b978e22a4c387b0d878cb0e94027b114dd38 Mon Sep 17 00:00:00 2001 From: Muhamad Azamy Date: Fri, 22 Sep 2023 12:17:36 +0200 Subject: [PATCH] clean up dependencies --- Cargo.lock | 108 ----------------------------------------------------- Cargo.toml | 9 ----- 2 files changed, 117 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e52e4aa..c527586 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,12 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - [[package]] name = "aead" version = "0.5.2" @@ -265,21 +259,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" -[[package]] -name = "capnp" -version = "0.14.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dca085c2c7d9d65ad749d450b19b551efaa8e3476a439bdca07aca8533097f3" - -[[package]] -name = "capnpc" -version = "0.14.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdc9f1dc84666d4ff007b1a16c8f97db80764a624625979be05d869bcff43aaa" -dependencies = [ - "capnp", -] - [[package]] name = "cc" version = "1.0.79" @@ -421,15 +400,6 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccaeedb56da03b09f598226e25e80088cb4cd25f316e6e4df7d695f0feeb1403" -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if", -] - [[package]] name = "crossbeam-queue" version = "0.3.8" @@ -557,28 +527,6 @@ dependencies = [ "instant", ] -[[package]] -name = "filetime" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.2.16", - "windows-sys 0.48.0", -] - -[[package]] -name = "flate2" -version = "1.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - [[package]] name = "flume" version = "0.10.14" @@ -1105,15 +1053,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "miniz_oxide" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] - [[package]] name = "mio" version = "0.8.6" @@ -1533,11 +1472,8 @@ dependencies = [ "bb8-redis", "blake2b_simd", "bytes", - "capnp", - "capnpc", "clap", "daemonize", - "flate2", "futures", "git-version", "hex", @@ -1548,18 +1484,14 @@ dependencies = [ "nix", "polyfuse", "reqwest", - "serde", - "serde_json", "simple_logger", "snap", "sqlx", - "tar", "tempfile", "thiserror", "time", "tokio", "url", - "xxtea", ] [[package]] @@ -1663,20 +1595,6 @@ name = "serde" version = "1.0.162" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71b2f6e1ab5c2b98c05f0f35b236b22e8df7ead6ffbf51d7808da7f8817e7ab6" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.162" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2a0814352fd64b58489904a44ea8d90cb1a91dcb6b4f5ebabc32c8318e93cb6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.15", -] [[package]] name = "serde_json" @@ -1923,17 +1841,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "tar" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b55807c0344e1e6c04d7c965f5289c39a8d94ae23ed5c0b57aabac549f871c6" -dependencies = [ - "filetime", - "libc", - "xattr", -] - [[package]] name = "tempfile" version = "3.5.0" @@ -2524,21 +2431,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "xattr" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" -dependencies = [ - "libc", -] - -[[package]] -name = "xxtea" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e52655abf007cc0520d91ac9e89d4fd34d5eb7462269d24b6c29edea6e47c29c" - [[package]] name = "zerocopy" version = "0.3.0" diff --git a/Cargo.toml b/Cargo.toml index 2d789a7..e6e1a9c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,6 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] -capnpc = "0.14.4" git-version = "0.3.5" [[bin]] @@ -18,7 +17,6 @@ build-binary = [ "dep:polyfuse", "dep:simple_logger", "dep:tempfile", - "dep:git-version", "dep:daemonize" ] @@ -27,7 +25,6 @@ name = "rfs" path = "src/lib.rs" [dependencies] -capnp = "0.14.3" anyhow = "1.0.44" time = "0.3.3" sqlx = { version = "0.5", features = [ "runtime-tokio-rustls", "sqlite" ] } @@ -35,20 +32,15 @@ tokio = { version = "1", features = [ "rt", "rt-multi-thread", "macros"] } libc = "0.2" futures = "0.3" thiserror = "1.0" -xxtea = "0.2.0" bytes = "1.1.0" log = "0.4" lru = "0.7.0" nix = "0.23.0" clap = { version = "4.2", features = ["derive"] } -tar = "0.4" -flate2 = "1.0" snap = "1.0.5" bb8-redis = "0.13" async-trait = "0.1.53" url = "2.3.1" -serde = {version = "1", features = ["derive"] } -serde_json = "1.0" blake2b_simd = "1" aes-gcm = "0.10" hex = "0.4" @@ -56,7 +48,6 @@ lazy_static = "1.4" # next are only needed for the binarys simple_logger = {version = "1.0.1", optional = true} daemonize = { version = "0.5", optional = true } -git-version = { version = "0.3.5", optional = true} tempfile = { version = "3.3.0", optional = true } [dependencies.polyfuse]