Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jun 12, 2024
1 parent 9d9dc86 commit 5ae824e
Show file tree
Hide file tree
Showing 17 changed files with 332 additions and 60 deletions.
331 changes: 306 additions & 25 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ resolver = "2"
askama = { version = "0.12.1", default-features = false, features = [
"with-axum",
] }
clap = { version = "4.5.6", features = ["derive", "wrap_help"] }
clap = { version = "4.5.7", features = ["derive", "wrap_help"] }
diesel = { version = "2.2.0", default-features = false, features = [
"32-column-tables",
"with-deprecated",
Expand Down Expand Up @@ -106,7 +106,7 @@ garde = { version = "0.19.0", features = [
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.6"
sonic-rs = "0.3.7"
triomphe = { version = "0.1.12", default-features = false, features = [
"unsize",
] }
Expand Down Expand Up @@ -212,8 +212,8 @@ diesel-async = { git = "https://github.com/weiznich/diesel_async.git", rev = "3b
scraper = { git = "https://github.com/causal-agent/scraper.git", rev = "d67111f5cc0b7da6e6ff10e4549d87cf09ba3e5b" }
tokio-postgres-rustls = { git = "https://github.com/jbg/tokio-postgres-rustls.git", rev = "b16c1bc0f5d4f91324174fd1bd839d743a70f86a" }

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

# TCP nodelay for `axum::serve`
axum = { git = "https://github.com/tokio-rs/axum.git", rev = "8d0c5c05eb75eb779591c8000705e785123868a0" }
Expand Down
4 changes: 2 additions & 2 deletions crates/kitsune-activitypub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ speedy-uuid = { workspace = true }
tracing = "0.1.40"
triomphe = { workspace = true }
typed-builder = "0.18.2"
url = "2.5.0"
url = "2.5.1"

[target.'cfg(not(target_env = "msvc"))'.dependencies]
sha2 = { version = "0.10.8", features = ["asm"] }

[dev-dependencies]
http-body-util = "0.1.1"
http-body-util = "0.1.2"
hyper = "1.3.1"
kitsune-config = { workspace = true }
kitsune-test = { workspace = true }
Expand Down
9 changes: 0 additions & 9 deletions crates/kitsune-db/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,11 @@ pub mod sql_types {
#[derive(diesel::sql_types::SqlType)]
#[diesel(postgres_type(name = "language_iso_code", schema = "kitsune"))]
pub struct LanguageIsoCode;

/// The `pg_catalog.tsvector` SQL type
///
/// (Automatically generated by Diesel.)
#[derive(diesel::sql_types::SqlType)]
#[diesel(postgres_type(name = "tsvector", schema = "pg_catalog"))]
pub struct Tsvector;
}

diesel::table! {
use diesel::sql_types::*;
use diesel_full_text_search::Tsvector;
use super::sql_types::Tsvector;

/// Representation of the `accounts` table.
///
Expand Down Expand Up @@ -830,7 +822,6 @@ diesel::table! {
use diesel::sql_types::*;
use diesel_full_text_search::Tsvector;
use super::sql_types::LanguageIsoCode;
use super::sql_types::Tsvector;

/// Representation of the `posts` table.
///
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-federation-filter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ kitsune-config = { workspace = true }
kitsune-derive = { workspace = true }
kitsune-error = { workspace = true }
kitsune-type = { workspace = true }
url = "2.5.0"
url = "2.5.1"

[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 @@ -12,7 +12,7 @@ futures-util = { version = "0.3.30", default-features = false, features = [
"alloc",
] }
http-body = "1.0.0"
http-body-util = "0.1.1"
http-body-util = "0.1.2"
http-signatures = { workspace = true }
hyper = "1.3.1"
hyper-util = { version = "0.1.5", features = [
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-observability/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license.workspace = true
[dependencies]
async-trait = "0.1.80"
eyre = "0.6.12"
http-body-util = "0.1.1"
http-body-util = "0.1.2"
hyper = { version = "1.3.1", default-features = false }
kitsune-config = { workspace = true }
kitsune-http-client = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/kitsune-oidc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license.workspace = true
enum_dispatch = "0.3.13"
fred = { workspace = true }
http = "1.1.0"
http-body-util = "0.1.1"
http-body-util = "0.1.2"
kitsune-config = { workspace = true }
kitsune-derive = { workspace = true }
kitsune-error = { workspace = true }
Expand All @@ -25,7 +25,7 @@ openidconnect = { version = "4.0.0-alpha.2", default-features = false, features
serde = { version = "1.0.203", features = ["derive"] }
sonic-rs = { workspace = true }
speedy-uuid = { workspace = true }
url = "2.5.0"
url = "2.5.1"

[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 @@ -11,7 +11,7 @@ futures-util = { version = "0.3.30", default-features = false }
http = "1.1.0"
kitsune-error = { workspace = true }
kitsune-http-client = { workspace = true }
quick-xml = { version = "0.31.0", features = ["serialize"] }
quick-xml = { version = "0.32.0", features = ["serialize"] }
rusty-s3 = "0.5.0"
serde = { version = "1.0.203", features = ["derive"] }
typed-builder = "0.18.2"
Expand Down
4 changes: 2 additions & 2 deletions crates/kitsune-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ tokio = { version = "1.38.0", features = ["macros", "sync"] }
tracing = "0.1.40"
triomphe = { workspace = true }
typed-builder = "0.18.2"
url = "2.5.0"
url = "2.5.1"
zxcvbn = { version = "3.0.1", default-features = false }

[dev-dependencies]
hex-simd = "0.8.0"
http-body-util = "0.1.1"
http-body-util = "0.1.2"
hyper = "1.3.1"
kitsune-activitypub = { workspace = true }
kitsune-config = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/kitsune-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ diesel-async = { workspace = true }
fred = { workspace = true }
futures-util = "0.3.30"
http = "1.1.0"
http-body-util = "0.1.1"
http-body-util = "0.1.2"
isolang = "2.4.0"
kitsune-config = { workspace = true }
kitsune-db = { workspace = true }
Expand All @@ -21,7 +21,7 @@ rand = "0.8.5"
rusty-s3 = { version = "0.5.0", default-features = false }
tokio = { version = "1.38.0", features = ["time"] }
triomphe = { workspace = true }
url = "2.5.0"
url = "2.5.1"
uuid = { version = "1.8.0", features = ["fast-rng", "v4"] }

[lints]
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-wasm-mrf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ wasmtime-wasi = { version = "21.0.1", default-features = false }
tempfile = "3.10.1"
tokio = { version = "1.38.0", features = ["macros", "rt"] }
tracing-subscriber = "0.3.18"
wat = "1.209.1"
wat = "1.210.0"

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/kitsune-webfinger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ triomphe = { workspace = true }
urlencoding = "2.1.3"

[dev-dependencies]
http-body-util = "0.1.1"
http-body-util = "0.1.2"
hyper = "1.3.1"
pretty_assertions = "1.4.0"
sonic-rs = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions kitsune/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ diesel-async = { workspace = true }
futures-util = "0.3.30"
headers = "0.4.0"
http = "1.1.0"
http-body-util = "0.1.1"
http-body-util = "0.1.2"
http-signatures = { workspace = true }
iso8601-timestamp = "0.2.17"
itertools = { workspace = true }
Expand Down Expand Up @@ -101,7 +101,7 @@ tracing = "0.1.40"
trials = { workspace = true }
triomphe = { workspace = true }
typed-builder = "0.18.2"
url = "2.5.0"
url = "2.5.1"

# --- Optional dependencies ---

Expand Down
6 changes: 3 additions & 3 deletions lib/mrf-manifest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ semver = { version = "1.0.23", features = ["serde"] }
serde = { version = "1.0.203", features = ["derive"] }
serde_json = { version = "1.0.117", optional = true }
thiserror = { version = "1.0.61", optional = true }
wasm-encoder = { version = "0.209.1", optional = true }
wasmparser = { version = "0.209.1", optional = true }
wasm-encoder = { version = "0.210.0", optional = true }
wasmparser = { version = "0.210.0", optional = true }

[dev-dependencies]
serde_json = "1.0.117"
insta = { version = "1.39.0", default-features = false, features = ["json"] }
wat = "1.209.1"
wat = "1.210.0"

[features]
decode = ["dep:leb128", "dep:serde_json", "dep:thiserror", "dep:wasmparser"]
Expand Down
4 changes: 2 additions & 2 deletions lib/mrf-tool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ mrf-manifest = { workspace = true, features = [
"serialise",
] }
serde_json = "1.0.117"
wasmparser = "0.209.1"
wasmparser = "0.210.0"

[lints]
workspace = true

[dev-dependencies]
serde_json = "1.0.117"
wat = "1.209.1"
wat = "1.210.0"
2 changes: 1 addition & 1 deletion lib/tower-http-digest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tracing = { version = "0.1.40", default-features = false }
[dev-dependencies]
bytes = "1.6.0"
futures-test = "0.3.30"
http-body-util = "0.1.1"
http-body-util = "0.1.2"
tower = { version = "0.4.13", default-features = false, features = ["util"] }

[lints]
Expand Down

0 comments on commit 5ae824e

Please sign in to comment.