Skip to content

Commit

Permalink
cargo: removed unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Oct 3, 2024
1 parent e3e1d66 commit 1ee60a9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 49 deletions.
26 changes: 1 addition & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 22 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,32 @@ version = "3.0.0-develop"
opt-level = 3

[dependencies]
anyhow = "1.0.81"
torrust-index-located-error = { version = "3.0.0-develop", path = "packages/located-error" }

anyhow = "1"
argon2 = "0"
async-trait = "0"
axum = { version = "0", features = ["multipart"] }
axum-server = { version = "0", features = ["tls-rustls"] }
binascii = "0"
bytes = "1"
camino = { version = "1.1.6", features = ["serde"] }
casbin = "2.2.0"
camino = { version = "1", features = ["serde"] }
casbin = "2"
chrono = { version = "0", default-features = false, features = ["clock"] }
clap = { version = "4.5.4", features = ["derive", "env"] }
clap = { version = "4", features = ["derive", "env"] }
derive_more = "0"
email_address = "0"
fern = "0"
figment = { version = "0.10", features = ["env", "test", "toml"] }
figment = { version = "0", features = ["env", "test", "toml"] }
futures = "0"
futures-util = "0.3.30"
futures-util = "0"
hex = "0"
http = "1.1.0"
http-body = "1.0.0"
http = "1"
http-body = "1"
hyper = "1"
hyper-util = { version = "0.1.3", features = ["http1", "http2", "tokio"] }
hyper-util = { version = "0", features = ["http1", "http2", "tokio"] }
indexmap = "2"
jsonwebtoken = "9"
lazy_static = "1.4.0"
lazy_static = "1"
lettre = { version = "0", features = [
"builder",
"file-transport-envelope",
Expand All @@ -67,20 +68,19 @@ lettre = { version = "0", features = [
"tokio1-rustls-tls",
] }
log = "0"
mockall = "0.13.0"
mockall = "0"
pbkdf2 = { version = "0", features = ["simple"] }
pin-project-lite = "0.2"
pin-project-lite = "0"
rand = "0"
rand_core = { version = "0", features = ["std"] }
regex = "1"
reqwest = { version = "0", features = ["json", "multipart"] }
rustversion = "1.0.14"
serde = { version = "1", features = ["derive", "rc"] }
serde_bencode = "0"
serde_bytes = "0"
serde_derive = "1"
serde_json = "1"
serde_with = "3.8.1"
serde_with = "3"
sha-1 = "0"
sqlx = { version = "0", features = ["migrate", "mysql", "runtime-tokio-native-tls", "sqlite", "time"] }
tera = { version = "1", default-features = false }
Expand All @@ -89,13 +89,11 @@ text-to-png = "0"
thiserror = "1"
tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
toml = "0"
torrust-index-located-error = { version = "3.0.0-develop", path = "packages/located-error" }
tower = { version = "0.4", features = ["timeout"] }
tower = { version = "0", features = ["timeout"] }
tower-http = { version = "0", features = ["compression-full", "cors", "propagate-header", "request-id", "trace"] }
trace = "0.1.7"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["json"] }
url = { version = "2.5.0", features = ["serde"] }
tracing = "0"
tracing-subscriber = { version = "0", features = ["json"] }
url = { version = "2", features = ["serde"] }
urlencoding = "2"
uuid = { version = "1", features = ["v4"] }

Expand All @@ -104,6 +102,9 @@ tempfile = "3"
uuid = { version = "1", features = ["v4"] }
which = "6"

[package.metadata.cargo-machete]
ignored = ["sha-1"]

[lints.clippy]
complexity = { level = "deny", priority = -1 }
correctness = { level = "deny", priority = -1 }
Expand Down
5 changes: 2 additions & 3 deletions packages/located-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ rust-version.workspace = true
version.workspace = true

[dependencies]
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["json"] }
tracing = "0"

[dev-dependencies]
thiserror = "1.0"
thiserror = "1"

0 comments on commit 1ee60a9

Please sign in to comment.