Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Mar 21, 2024
1 parent a823b78 commit 3a3b67f
Show file tree
Hide file tree
Showing 21 changed files with 165 additions and 198 deletions.
314 changes: 142 additions & 172 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/kitsune-activitypub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ rsa = "0.9.6"
scoped-futures = "0.1.3"
serde = "1.0.197"
sha2 = "0.10.8"
simd-json = "0.13.8"
simd-json = "0.13.9"
speedy-uuid = { path = "../../lib/speedy-uuid" }
thiserror = "1.0.58"
tracing = "0.1.40"
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 @@ -14,7 +14,7 @@ redis = { version = "0.25.2", default-features = false, features = [
"tokio-comp",
] }
serde = "1.0.197"
simd-json = "0.13.8"
simd-json = "0.13.9"
thiserror = "1.0.58"
tracing = "0.1.40"
typed-builder = "0.18.1"
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-captcha/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ http = "1.1.0"
kitsune-http-client = { path = "../kitsune-http-client" }
serde = { version = "1.0.197", features = ["derive"] }
serde_urlencoded = "0.7.1"
simd-json = "0.13.8"
simd-json = "0.13.9"
strum = { version = "0.26.2", features = ["derive"] }
thiserror = "1.0.58"
typed-builder = "0.18.1"
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ num-traits = "0.2.18"
rustls = "=0.22.2"
rustls-native-certs = "0.7.0"
serde = { version = "1.0.197", features = ["derive"] }
simd-json = "0.13.8"
simd-json = "0.13.9"
speedy-uuid = { path = "../../lib/speedy-uuid", features = ["diesel"] }
thiserror = "1.0.58"
tokio = { version = "1.36.0", features = ["rt"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-email/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ lettre = { version = "0.11.4", default-features = false, features = [
"tracing",
] }
miette = "7.2.0"
mrml = { version = "3.1.0", default-features = false, features = [
mrml = { version = "3.1.3", default-features = false, features = [
"orderedmap",
"parse",
"render",
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 @@ -26,7 +26,7 @@ kitsune-type = { path = "../kitsune-type" }
pin-project = "1.1.5"
serde = "1.0.197"
simdutf8 = { version = "0.1.4", features = ["aarch64_neon"] }
simd-json = "0.13.8"
simd-json = "0.13.9"
tower = { version = "0.4.13", features = ["util"] }
tower-http = { version = "0.5.2", features = [
# Explicitly exclude `zstd`
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-mastodon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ kitsune-util = { path = "../kitsune-util" }
mime = "0.3.17"
scoped-futures = "0.1.3"
serde = "1.0.197"
simd-json = "0.13.8"
simd-json = "0.13.9"
smol_str = "0.2.1"
speedy-uuid = { path = "../../lib/speedy-uuid" }
thiserror = "1.0.58"
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-messaging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ just-retry = { path = "../../lib/just-retry" }
pin-project-lite = "0.2.13"
redis = { version = "0.25.2", features = ["connection-manager", "tokio-comp"] }
serde = "1.0.197"
simd-json = "0.13.8"
simd-json = "0.13.9"
tokio = { version = "1.36.0", features = ["macros", "rt", "sync"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tracing = "0.1.40"
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-oidc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ redis = { version = "0.25.2", default-features = false, features = [
"tokio-comp",
] }
serde = { version = "1.0.197", features = ["derive"] }
simd-json = "0.13.8"
simd-json = "0.13.9"
speedy-uuid = { path = "../../lib/speedy-uuid", features = ["serde"] }
thiserror = "1.0.58"
url = "2.5.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ rsa = "0.9.6"
rusty-s3 = { version = "0.5.0", default-features = false }
scoped-futures = "0.1.3"
serde = "1.0.197"
simd-json = "0.13.8"
simd-json = "0.13.9"
smol_str = "0.2.1"
speedy-uuid = { path = "../../lib/speedy-uuid" }
thiserror = "1.0.58"
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ testcontainers-modules = { version = "0.3.5", features = [
] }
tokio = { version = "1.36.0", features = ["time"] }
url = "2.5.0"
uuid = { version = "1.7.0", features = ["v4", "fast-rng"] }
uuid = { version = "1.8.0", features = ["v4", "fast-rng"] }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-type/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license.workspace = true
[dependencies]
iso8601-timestamp = "0.2.17"
serde = { version = "1.0.197", features = ["derive"] }
simd-json = "0.13.8"
simd-json = "0.13.9"
smol_str = { version = "0.2.1", features = ["serde"] }
speedy-uuid = { path = "../../lib/speedy-uuid", features = ["serde"] }
strum = { version = "0.26.2", features = ["derive"] }
Expand Down
8 changes: 3 additions & 5 deletions crates/kitsune-wasm-mrf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ redis = { version = "0.25.2", default-features = false, features = [
"connection-manager",
"tokio-rustls-comp",
] }
simd-json = "0.13.8"
simd-json = "0.13.9"
slab = "0.4.9"
sled = "0.34.7"
smol_str = "0.2.1"
Expand All @@ -31,7 +31,7 @@ tokio = { version = "1.36.0", features = ["fs"] }
tracing = "0.1.40"
typed-builder = "0.18.1"
walkdir = "2.5.0"
wasmtime = { version = "18.0.3", default-features = false, features = [
wasmtime = { version = "19.0.0", default-features = false, features = [
"addr2line",
"async",
"component-model",
Expand All @@ -40,9 +40,7 @@ wasmtime = { version = "18.0.3", default-features = false, features = [
"pooling-allocator",
"runtime",
] }
wasmtime-wasi = { version = "18.0.3", default-features = false, features = [
"preview2",
] }
wasmtime-wasi = { version = "19.0.0", default-features = false }

[dev-dependencies]
tempfile = "3.10.1"
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-wasm-mrf/src/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::kv_storage;
use slab::Slab;
use std::sync::Arc;
use wasmtime::{component::ResourceTable, Engine, Store};
use wasmtime_wasi::preview2::{WasiCtx, WasiCtxBuilder, WasiView};
use wasmtime_wasi::{WasiCtx, WasiCtxBuilder, WasiView};

pub struct KvContext {
pub module_name: Option<String>,
Expand Down
3 changes: 1 addition & 2 deletions crates/kitsune-wasm-mrf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ impl MrfService {
let mut linker = Linker::<Context>::new(&engine);

mrf_wit::v1::Mrf::add_to_linker(&mut linker, |ctx| ctx).map_err(miette::Report::msg)?;
wasmtime_wasi::preview2::command::add_to_linker(&mut linker)
.map_err(miette::Report::msg)?;
wasmtime_wasi::command::add_to_linker(&mut linker).map_err(miette::Report::msg)?;

Ok(Self {
engine,
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 @@ -27,7 +27,7 @@ urlencoding = "2.1.3"
http-body-util = "0.1.1"
hyper = "1.2.0"
pretty_assertions = "1.4.0"
simd-json = "0.13.8"
simd-json = "0.13.9"
tokio = { version = "1.36.0", features = ["macros"] }
tower = { version = "0.4.13", default-features = false, features = ["util"] }

Expand Down
2 changes: 1 addition & 1 deletion kitsune/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ rust-embed = { version = "8.3.0", features = ["include-exclude"] }
scoped-futures = "0.1.3"
serde = { version = "1.0.197", features = ["derive"] }
serde_urlencoded = "0.7.1"
simd-json = "0.13.8"
simd-json = "0.13.9"
simdutf8 = { version = "0.1.4", features = ["aarch64_neon"] }
speedy-uuid = { path = "../lib/speedy-uuid" }
strum = { version = "0.26.2", features = ["derive", "phf"] }
Expand Down
2 changes: 1 addition & 1 deletion lib/athena/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ redis = { version = "0.25.2", default-features = false, features = [
"tokio-comp",
] }
serde = { version = "1.0.197", features = ["derive"] }
simd-json = "0.13.8"
simd-json = "0.13.9"
smol_str = "0.2.1"
speedy-uuid = { path = "../speedy-uuid", features = ["redis", "serde"] }
thiserror = "1.0.58"
Expand Down
4 changes: 2 additions & 2 deletions lib/masto-id-convert/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ atoi_radix10 = "0.0.1"
nanorand = { version = "0.7.0", default-features = false, features = [
"wyrand",
] }
uuid = { version = "1.7.0", default-features = false }
uuid = { version = "1.8.0", default-features = false }

[features]
default = ["std"]
Expand All @@ -23,7 +23,7 @@ std = []
[dev-dependencies]
criterion = "0.5.1"
time = "0.3.34"
uuid = { version = "1.7.0", features = ["v7"] }
uuid = { version = "1.8.0", features = ["v7"] }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion lib/speedy-uuid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ diesel = { version = "2.1.5", features = [
redis = { version = "0.25.2", default-features = false, optional = true }
serde = { version = "1.0.197", optional = true }
thiserror = "1.0.58"
uuid = { version = "1.7.0", features = ["fast-rng", "v7"] }
uuid = { version = "1.8.0", features = ["fast-rng", "v7"] }
uuid-simd = { version = "0.8.0", features = ["uuid"] }

[dev-dependencies]
Expand Down

0 comments on commit 3a3b67f

Please sign in to comment.