Skip to content

Commit

Permalink
All round upgrade of dependencies (#586)
Browse files Browse the repository at this point in the history
* upgrade rust

* update frontend

* update website

* regen
  • Loading branch information
aumetra committed Sep 15, 2024
1 parent 485e0c9 commit ceeae20
Show file tree
Hide file tree
Showing 37 changed files with 1,653 additions and 3,591 deletions.
201 changes: 103 additions & 98 deletions Cargo.lock

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,12 @@ garde = { version = "0.20.0", features = [
"regex",
"serde",
] }
iso8601-timestamp = "0.3.0-beta.1"
iso8601-timestamp = "0.3.0-rc.1"
itertools = { version = "0.13.0", default-features = false }
moka = { version = "=0.12.7", features = ["sync"] }
simdutf8 = { version = "0.1.4", features = ["aarch64_neon"] }
sonic-rs = "0.3.12"
sonic-rs = "0.3.13"
tokio = "=1.38.1"
triomphe = { version = "0.1.13", default-features = false, features = [
"unsize",
] }
Expand Down Expand Up @@ -225,7 +226,7 @@ axum-core = { git = "https://github.com/tokio-rs/axum.git", rev = "918170a12bfcc
olpc-cjson = { git = "https://github.com/aumetra/aws-tough.git", rev = "3b46feaeaf8048d46f85d023295e65563b84d7d6" }

# SIMD runtime detection and generic I/O wrapper
sonic-rs = { git = "https://github.com/aumetra/sonic-rs.git", rev = "6e17d8f1dfff5d325e90200806c9abae6eeaadfd" }
sonic-rs = { git = "https://github.com/aumetra/sonic-rs.git", rev = "add820f8837c974fcee4110e678bb9e79b3f6ecb" }

# Use RustCrypto "x509-cert" crate for certificate parsing
tokio-postgres-rustls = { git = "https://github.com/jbg/tokio-postgres-rustls.git", rev = "b16c1bc0f5d4f91324174fd1bd839d743a70f86a" }
4 changes: 2 additions & 2 deletions crates/kitsune-activitypub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ hyper = "1.4.1"
kitsune-config = { workspace = true }
kitsune-test = { workspace = true }
kitsune-webfinger = { workspace = true }
pretty_assertions = "1.4.0"
tokio = { version = "1.40.0", features = ["macros"] }
pretty_assertions = "1.4.1"
tokio = { workspace = true, features = ["macros"] }
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 = "0.20.0"

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

[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 = { version = "1.0.210", features = ["derive"] }
smol_str = { version = "0.3.1", features = ["serde"] }
tokio = { version = "1.40.0", features = ["fs"] }
tokio = { workspace = true, features = ["fs"] }
toml = { version = "0.8.19", default-features = false, features = ["parse"] }

[lints]
Expand Down
6 changes: 3 additions & 3 deletions crates/kitsune-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ kitsune-language = { workspace = true }
kitsune-type = { workspace = true }
num-derive = "0.4.2"
num-traits = "0.2.19"
rustls = { version = "0.23.12", default-features = false, features = [
rustls = { version = "0.23.13", default-features = false, features = [
"logging",
"ring",
"std",
Expand All @@ -32,7 +32,7 @@ rustls-native-certs = "0.8.0"
serde = { version = "1.0.210", features = ["derive"] }
sonic-rs = { workspace = true }
speedy-uuid = { workspace = true, features = ["diesel"] }
tokio = { version = "1.40.0", features = ["rt"] }
tokio = { workspace = true, features = ["rt"] }
tokio-postgres = "0.7.11"
tokio-postgres-rustls = "0.12.0"
tracing = "0.1.40"
Expand All @@ -42,7 +42,7 @@ typed-builder = "0.20.0"

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

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-email/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kitsune-db = { workspace = true }
kitsune-derive = { workspace = true }
kitsune-error = { workspace = true }
kitsune-url = { workspace = true }
lettre = { version = "0.11.8", default-features = false, features = [
lettre = { version = "0.11.9", default-features = false, features = [
"builder",
"hostname",
"pool",
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-embed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kitsune-db = { workspace = true }
kitsune-derive = { workspace = true }
kitsune-error = { workspace = true }
kitsune-http-client = { workspace = true }
lantern-client-sdk = { package = "client-sdk", git = "https://github.com/Lantern-chat/client-sdk-rs.git", rev = "bda44f7464b4060cc553fb0e6c2a3917ab5d2f98", default-features = false }
lantern-client-sdk = { package = "client-sdk", git = "https://github.com/Lantern-chat/client-sdk-rs.git", rev = "efb4288d9b107b48609802193d57b29f7ae395a1", default-features = false }
scraper = { version = "0.20.0", default-features = false }
smol_str = "0.3.1"

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

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

[lints]
workspace = true
10 changes: 5 additions & 5 deletions crates/kitsune-observability/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ hyper = { version = "1.4.1", default-features = false }
kitsune-config = { workspace = true }
kitsune-core = { workspace = true }
kitsune-http-client = { workspace = true }
opentelemetry = { version = "0.24.0", default-features = false, features = [
opentelemetry = { version = "0.25.0", default-features = false, features = [
"trace",
] }
opentelemetry-http = "0.13.0"
opentelemetry-otlp = { version = "0.17.0", default-features = false, features = [
opentelemetry-http = "0.25.0"
opentelemetry-otlp = { version = "0.25.0", default-features = false, features = [
"grpc-tonic",
"http-json",
"http-proto",
"tls",
"tls-roots",
"trace",
] }
opentelemetry_sdk = { version = "0.24.1", default-features = false, features = [
opentelemetry_sdk = { version = "0.25.0", default-features = false, features = [
"rt-tokio",
] }
tracing = "0.1.40"
tracing-error = "0.2.0"
tracing-opentelemetry = { version = "0.25.0", default-features = false }
tracing-opentelemetry = { version = "0.26.0", default-features = false }
tracing-subscriber = "0.3.18"

[lints]
Expand Down
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 = "0.20.0"

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

[lints]
workspace = true
4 changes: 2 additions & 2 deletions 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 = "1.0.210"
smol_str = "0.3.1"
speedy-uuid = { workspace = true }
tokio = { version = "1.40.0", features = ["macros", "sync"] }
tokio = { workspace = true, features = ["macros", "sync"] }
tracing = "0.1.40"
triomphe = { workspace = true }
typed-builder = "0.20.0"
Expand All @@ -65,7 +65,7 @@ kitsune-federation-filter = { workspace = true }
kitsune-jobs = { workspace = true }
kitsune-test = { workspace = true }
kitsune-webfinger = { workspace = true }
pretty_assertions = "1.4.0"
pretty_assertions = "1.4.1"
tempfile = "3.12.0"
tower = { version = "0.5.1", default-features = false, features = ["util"] }

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 = "0.3.30"
kitsune-error = { workspace = true }
kitsune-s3 = { workspace = true }
rusty-s3 = { version = "0.5.0", default-features = false }
tokio = { version = "1.40.0", features = ["fs", "io-util"] }
tokio = { workspace = true, features = ["fs", "io-util"] }
tokio-util = { version = "0.7.12", features = ["io"] }
triomphe = { workspace = true }

[dev-dependencies]
tempfile = "3.12.0"
tokio = { version = "1.40.0", features = ["macros", "rt"] }
tokio = { workspace = true, features = ["macros", "rt"] }

[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 @@ -19,7 +19,7 @@ kitsune-s3 = { workspace = true }
pin-project-lite = "0.2.14"
rand = "0.8.5"
rusty-s3 = { version = "0.5.0", default-features = false }
tokio = { version = "1.40.0", features = ["time"] }
tokio = { workspace = true, features = ["time"] }
triomphe = { workspace = true }
url = "2.5.2"
uuid = { version = "1.10.0", features = ["fast-rng", "v4"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-type/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ speedy-uuid = { workspace = true, features = ["diesel"] }
strum = { version = "0.26.3", features = ["derive"] }

[dev-dependencies]
pretty_assertions = "1.4.0"
pretty_assertions = "1.4.1"
rstest = { version = "0.22.0", default-features = false }
serde_test = "1"

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.1", default-features = false, features = [
] }
rand = "0.8.5"
speedy-uuid = { workspace = true }
tokio = { version = "1.40.0", features = ["macros"] }
tokio = { workspace = true, features = ["macros"] }

[lints]
workspace = true
8 changes: 4 additions & 4 deletions crates/kitsune-wasm-mrf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ kitsune-derive = { workspace = true }
kitsune-error = { workspace = true }
kitsune-type = { workspace = true }
mrf-manifest = { workspace = true, features = ["decode"] }
redb = { version = "2.1.2", features = ["logging"] }
redb = { version = "2.1.3", features = ["logging"] }
slab = "0.4.9"
smol_str = "0.3.1"
sonic-rs = { workspace = true }
tokio = { version = "1.40.0", features = ["fs"] }
tokio = { workspace = true, features = ["fs"] }
tracing = "0.1.40"
triomphe = { workspace = true }
walkdir = "2.5.0"
Expand All @@ -42,9 +42,9 @@ wasmtime-wasi = { version = "24.0.0", default-features = false }

[dev-dependencies]
tempfile = "3.12.0"
tokio = { version = "1.40.0", features = ["macros", "rt"] }
tokio = { workspace = true, features = ["macros", "rt"] }
tracing-subscriber = "0.3.18"
wat = "1.216.0"
wat = "1.217.0"

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-wasm-mrf/example-mrf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]

[dependencies]
rand = "0.8.5"
wit-bindgen = "0.31.0"
wit-bindgen = "0.32.0"

[lints]
workspace = true
4 changes: 2 additions & 2 deletions crates/kitsune-webfinger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ urlencoding = "2.1.3"
[dev-dependencies]
http-body-util = "0.1.2"
hyper = "1.4.1"
pretty_assertions = "1.4.0"
pretty_assertions = "1.4.1"
sonic-rs = { workspace = true }
tokio = { version = "1.40.0", features = ["macros"] }
tokio = { workspace = true, features = ["macros"] }
tower = { version = "0.5.1", default-features = false, features = ["util"] }

[lints]
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
inherit version;

src = "${src}/kitsune-fe";
npmDepsHash = "sha256-Nr7jpoYmYh0UgB3KoLepWEIrx6UAJFTOfvKL+12eHjk=";
npmDepsHash = "sha256-qctSnlEycd4Krhps+5GoLl+EwdY4XgNh8p8jAybFg3U=";

npmFlags = [ "--legacy-peer-deps" ];

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 = { version = "1.0.210", features = ["derive"] }
speedy-uuid = { workspace = true }
tokio = { version = "1.40.0", features = ["full"] }
tokio = { workspace = true, features = ["full"] }
tracing-subscriber = "0.3.18"

[lints]
Expand Down
Loading

0 comments on commit ceeae20

Please sign in to comment.