chore: slim down tokio features

This commit is contained in:
əlemi 2025-01-09 20:13:12 +01:00
parent 713645a682
commit 9b6f438a98
Signed by: alemi
GPG key ID: A4895B84D311642C
5 changed files with 5 additions and 5 deletions

3
Cargo.lock generated
View file

@ -4573,9 +4573,7 @@ dependencies = [
"bytes",
"libc",
"mio",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"socket2",
"tokio-macros",
"windows-sys 0.52.0",
@ -4924,6 +4922,7 @@ dependencies = [
"sha2",
"sha256",
"thiserror 2.0.10",
"tokio",
"toml",
"tracing",
"uriproxy",

View file

@ -34,7 +34,7 @@ tracing-subscriber = "0.3"
clap = { version = "4.5", features = ["derive"] }
signal-hook = "0.3"
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
tokio = { version = "1.43", features = ["full"] } # TODO slim this down
tokio = { version = "1.43", features = ["rt-multi-thread", "macros"] }
sea-orm = { version = "1.1", features = ["sqlx-sqlite", "sqlx-postgres", "runtime-tokio-rustls"] }
futures = "0.3"

View file

@ -31,6 +31,7 @@ httpsign = { path = "../../utils/httpsign/" }
mdhtml = { path = "../../utils/mdhtml/" }
jrd = "0.1"
tracing = "0.1"
tokio = "1.43"
sea-orm = { version = "1.1", features = ["macros"] }
reqwest = { version = "0.12", features = ["json"] }
apb = { path = "../../apb", features = ["unstructured", "orm", "did-core", "activitypub-miscellaneous-terms", "activitypub-fe", "activitypub-counters", "litepub", "ostatus", "toot"] }

View file

@ -20,7 +20,7 @@ serde_json = "1.0"
upub = { path = "../core/" }
jrd = "0.1"
tracing = "0.1"
tokio = { version = "1.43", features = ["full"] } # TODO slim this down
tokio = "1.43"
reqwest = { version = "0.12", features = ["json"] }
axum = { version = "0.8", features = ["multipart"] }
tower-http = { version = "0.6", features = ["cors", "trace"] }

View file

@ -18,7 +18,7 @@ serde_json = "1.0"
sea-orm = "1.1"
regex = "1.11"
chrono = { version = "0.4", features = ["serde"] }
tokio = { version = "1.43", features = ["full"] } # TODO slim this down
tokio = { version = "1.43", features = ["time"] }
reqwest = { version = "0.12", features = ["json"] }
apb = { path = "../../apb", features = ["unstructured", "orm", "activitypub-fe", "activitypub-counters", "litepub", "ostatus", "toot"] }
mdhtml = { path = "../../utils/mdhtml/" }