Skip to content

Commit

Permalink
fix diesel features, deduplicate tokio
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Dec 1, 2024
1 parent 856ed52 commit 06d5457
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 24 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ asynk-strim = "0.1.2"
clap = { version = "4.5.21", features = ["derive", "wrap_help"] }
diesel = { version = "2.2.5", default-features = false, features = [
"32-column-tables",
"postgres_backend",
"uuid",
"with-deprecated",
] }
Expand Down Expand Up @@ -135,7 +136,7 @@ serde = { version = "1.0.215", features = ["derive"] }
simdutf8 = { version = "0.1.5", features = ["aarch64_neon"] }
sonic-rs = "=0.3.14"
thiserror = "2.0.3"
tokio = "1.41.1"
tokio = { version = "1.41.1", features = ["full"] }
tracing = "0.1.41"
triomphe = { version = "0.1.14", default-features = false, features = [
"arc-swap",
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-activitypub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ kitsune-config.workspace = true
kitsune-test.workspace = true
kitsune-webfinger.workspace = true
pretty_assertions = "1.4.1"
tokio = { workspace = true, features = ["macros"] }
tokio.workspace = true
tower = { version = "0.5.1", default-features = false, features = ["util"] }

[lints]
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ triomphe.workspace = true
typed-builder.workspace = true

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt"] }
tokio.workspace = true

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ human-size = { version = "0.4.3", features = ["serde"] }
isolang = { version = "2.4.0", features = ["serde"] }
serde.workspace = true
smol_str = { version = "0.3.2", features = ["serde"] }
tokio = { workspace = true, features = ["fs"] }
tokio.workspace = true
toml = { version = "0.8.19", default-features = false, features = ["parse"] }

[lints]
Expand Down
4 changes: 2 additions & 2 deletions crates/kitsune-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ rustls-native-certs = "0.8.1"
serde.workspace = true
sonic-rs.workspace = true
speedy-uuid = { workspace = true, features = ["diesel"] }
tokio = { workspace = true, features = ["rt"] }
tokio.workspace = true
tokio-postgres = "0.7.12"
tokio-postgres-rustls = "0.13.0"
tracing.workspace = true
Expand All @@ -40,7 +40,7 @@ typed-builder.workspace = true

[dev-dependencies]
kitsune-test.workspace = true
tokio = { workspace = true, features = ["macros"] }
tokio.workspace = true

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-http-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tower-http = { version = "0.6.2", features = [
] }

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt"] }
tokio.workspace = true

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-s3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ typed-builder.workspace = true

[dev-dependencies]
kitsune-test.workspace = true
tokio = { workspace = true, features = ["macros", "rt"] }
tokio.workspace = true

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ rusty-s3 = { version = "0.5.0", default-features = false }
serde.workspace = true
smol_str = "0.3.2"
speedy-uuid.workspace = true
tokio = { workspace = true, features = ["macros", "sync"] }
tokio.workspace = true
tracing.workspace = true
triomphe.workspace = true
typed-builder.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/kitsune-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ futures-util.workspace = true
kitsune-error.workspace = true
kitsune-s3.workspace = true
rusty-s3 = { version = "0.5.0", default-features = false }
tokio = { workspace = true, features = ["fs", "io-util"] }
tokio.workspace = true
tokio-util = { version = "0.7.12", features = ["io"] }
triomphe.workspace = true

[dev-dependencies]
tempfile = "3.14.0"
tokio = { workspace = true, features = ["macros", "rt"] }
tokio.workspace = true

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kitsune-s3.workspace = true
pin-project-lite = "0.2.15"
rand = "0.8.5"
rusty-s3 = { version = "0.5.0", default-features = false }
tokio = { workspace = true, features = ["time"] }
tokio.workspace = true
triomphe.workspace = true
url.workspace = true
uuid = { version = "1.11.0", features = ["fast-rng", "v4"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pulldown-cmark = { version = "0.12.2", default-features = false, features = [
] }
rand = "0.8.5"
speedy-uuid.workspace = true
tokio = { workspace = true, features = ["macros"] }
tokio.workspace = true

[lints]
workspace = true
4 changes: 2 additions & 2 deletions crates/kitsune-wasm-mrf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ redb = { version = "2.2.0", features = ["logging"] }
slab = "0.4.9"
smol_str = "0.3.2"
sonic-rs.workspace = true
tokio = { workspace = true, features = ["fs"] }
tokio.workspace = true
tracing.workspace = true
triomphe.workspace = true
walkdir = "2.5.0"
Expand All @@ -44,7 +44,7 @@ wasmtime-wasi = { version = "27.0.0", default-features = false }
[dev-dependencies]
bytes = "1.9.0"
tempfile = "3.14.0"
tokio = { workspace = true, features = ["macros", "rt"] }
tokio.workspace = true
tower = "0.5.1"
tracing-subscriber = "0.3.19"
wat = "1.221.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-webfinger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ http-body-util = "0.1.2"
hyper = "1.5.1"
pretty_assertions = "1.4.1"
sonic-rs.workspace = true
tokio = { workspace = true, features = ["macros"] }
tokio.workspace = true
tower = { version = "0.5.1", default-features = false, features = ["util"] }

[lints]
Expand Down
2 changes: 1 addition & 1 deletion kitsune-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kitsune-db.workspace = true
kitsune-error.workspace = true
serde.workspace = true
speedy-uuid.workspace = true
tokio = { workspace = true, features = ["full"] }
tokio.workspace = true
tracing-subscriber = "0.3.19"

[lints]
Expand Down
2 changes: 1 addition & 1 deletion kitsune-job-runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kitsune-service.workspace = true
kitsune-url.workspace = true
kitsune-wasm-mrf.workspace = true
mimalloc = "0.1.43"
tokio = { workspace = true, features = ["full"] }
tokio.workspace = true
tracing.workspace = true
triomphe.workspace = true
typed-builder.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion kitsune/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ speedy-uuid.workspace = true
strum = { version = "0.26.3", features = ["derive"] }
tempfile = "3.14.0"
time = "0.3.36"
tokio = { workspace = true, features = ["full"] }
tokio.workspace = true
tokio-util = { version = "0.7.12", features = ["io"] }
tower = { version = "0.5.1", features = ["util"] }
tower-stop-using-brave.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion lib/athena/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ smol_str = "0.3.2"
sonic-rs = { workspace = true, optional = true }
speedy-uuid = { workspace = true, features = ["redis"] }
thiserror.workspace = true
tokio = { workspace = true, features = ["macros", "rt", "sync"] }
tokio.workspace = true
tokio-util = { version = "0.7.12", features = ["rt"] }
tracing.workspace = true
triomphe.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion lib/blowocking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
[dependencies]
rayon = "1.10.0"
thiserror.workspace = true
tokio = { workspace = true, features = ["sync"] }
tokio.workspace = true
tracing.workspace = true

[features]
Expand Down
2 changes: 1 addition & 1 deletion lib/geomjeungja/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ unsize = "1.1.0"
insta = { version = "1.41.1", features = ["json"] }
rand_xorshift = "0.3.0"
sonic-rs.workspace = true
tokio = { workspace = true, features = ["macros", "rt"] }
tokio.workspace = true

[lints]
workspace = true
2 changes: 1 addition & 1 deletion lib/http-signatures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tracing = { workspace = true, optional = true }

[dev-dependencies]
divan = "0.1.16"
tokio = { workspace = true, features = ["macros", "rt"] }
tokio.workspace = true

[features]
default = ["easy"]
Expand Down
2 changes: 1 addition & 1 deletion lib/just-retry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
retry-policies = "0.4.0"
tokio = { workspace = true, features = ["time"] }
tokio.workspace = true
tracing.workspace = true

[lints]
Expand Down

0 comments on commit 06d5457

Please sign in to comment.