remove a few unused deps (cargo machete)

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-02-25 21:47:40 -05:00 committed by June
parent cdc644946d
commit a9d232f064
2 changed files with 7 additions and 6 deletions

3
Cargo.lock generated
View file

@ -426,7 +426,6 @@ dependencies = [
"ipaddress", "ipaddress",
"itertools 0.12.1", "itertools 0.12.1",
"jsonwebtoken", "jsonwebtoken",
"lazy_static",
"lru-cache", "lru-cache",
"nix", "nix",
"num_cpus", "num_cpus",
@ -451,7 +450,6 @@ dependencies = [
"sha2", "sha2",
"thiserror", "thiserror",
"thread_local", "thread_local",
"threadpool",
"tikv-jemalloc-ctl", "tikv-jemalloc-ctl",
"tikv-jemallocator", "tikv-jemallocator",
"tokio", "tokio",
@ -462,7 +460,6 @@ dependencies = [
"tracing-opentelemetry", "tracing-opentelemetry",
"tracing-subscriber", "tracing-subscriber",
"trust-dns-resolver", "trust-dns-resolver",
"urlencoding",
"webpage", "webpage",
] ]

View file

@ -77,7 +77,6 @@ lru-cache = "0.1.2"
rusqlite = { git = "https://github.com/rusqlite/rusqlite", rev = "ccfbc28ae1edc3090fb1b331fdc145f052ec73b9", optional = true, features = ["bundled"] } rusqlite = { git = "https://github.com/rusqlite/rusqlite", rev = "ccfbc28ae1edc3090fb1b331fdc145f052ec73b9", optional = true, features = ["bundled"] }
parking_lot = { version = "0.12.1", optional = true } parking_lot = { version = "0.12.1", optional = true }
num_cpus = "1.16.0" num_cpus = "1.16.0"
threadpool = "1.8.1"
# Used for ruma wrapper # Used for ruma wrapper
serde_html_form = "0.2.4" serde_html_form = "0.2.4"
@ -94,7 +93,6 @@ figment = { version = "0.10.14", features = ["env", "toml"] }
tikv-jemalloc-ctl = { version = "0.5.4", features = ["use_std"], optional = true } tikv-jemalloc-ctl = { version = "0.5.4", features = ["use_std"], optional = true }
tikv-jemallocator = { version = "0.5.4", features = ["unprefixed_malloc_on_supported_platforms"], optional = true } tikv-jemallocator = { version = "0.5.4", features = ["unprefixed_malloc_on_supported_platforms"], optional = true }
lazy_static = "1.4.0"
async-trait = "0.1.77" async-trait = "0.1.77"
# used for checking if an IP is in specific subnets / CIDR ranges # used for checking if an IP is in specific subnets / CIDR ranges
@ -112,7 +110,10 @@ either = { version = "1.10.0", features = ["serde"] }
axum-server-dual-protocol = { version = "0.5.2", optional = true } axum-server-dual-protocol = { version = "0.5.2", optional = true }
# to encode/decode percent URIs when conduwuit is running without a reverse proxy # to encode/decode percent URIs when conduwuit is running without a reverse proxy
urlencoding = "2.1.3" #urlencoding = "2.1.3"
# to get the client IP address of requests
#axum-client-ip = "0.4.2"
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
@ -169,6 +170,9 @@ debug = 0
lto = 'off' lto = 'off'
incremental = true incremental = true
[target.'cfg(macos)'.profile.dev]
split-debuginfo = "unpacked"
# default release profile # default release profile
[profile.release] [profile.release]
lto = 'thin' lto = 'thin'