diff --git a/Cargo.lock b/Cargo.lock index 7fa5896c..2e219cbb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,6 @@ dependencies = [ "ipaddress", "itertools 0.12.1", "jsonwebtoken", - "lazy_static", "lru-cache", "nix", "num_cpus", @@ -451,7 +450,6 @@ dependencies = [ "sha2", "thiserror", "thread_local", - "threadpool", "tikv-jemalloc-ctl", "tikv-jemallocator", "tokio", @@ -462,7 +460,6 @@ dependencies = [ "tracing-opentelemetry", "tracing-subscriber", "trust-dns-resolver", - "urlencoding", "webpage", ] diff --git a/Cargo.toml b/Cargo.toml index dca443f5..8017094a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,7 +77,6 @@ lru-cache = "0.1.2" rusqlite = { git = "https://github.com/rusqlite/rusqlite", rev = "ccfbc28ae1edc3090fb1b331fdc145f052ec73b9", optional = true, features = ["bundled"] } parking_lot = { version = "0.12.1", optional = true } num_cpus = "1.16.0" -threadpool = "1.8.1" # Used for ruma wrapper 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-jemallocator = { version = "0.5.4", features = ["unprefixed_malloc_on_supported_platforms"], optional = true } -lazy_static = "1.4.0" async-trait = "0.1.77" # 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 } # 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] @@ -169,6 +170,9 @@ debug = 0 lto = 'off' incremental = true +[target.'cfg(macos)'.profile.dev] +split-debuginfo = "unpacked" + # default release profile [profile.release] lto = 'thin'