diff --git a/Cargo.lock b/Cargo.lock index 3cf31ce..ddbaf19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -117,6 +117,29 @@ dependencies = [ "tracing", ] +[[package]] +name = "axum-extra" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9963ff19f40c6102c76756ef0a46004c0d58957d87259fc9208ff8441c12ab96" +dependencies = [ + "axum", + "axum-core", + "bytes", + "cookie", + "futures-util", + "http 1.4.2", + "http-body", + "http-body-util", + "mime", + "pin-project-lite", + "rustversion", + "serde_core", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "axum-extra" version = "0.12.6" @@ -152,10 +175,10 @@ dependencies = [ [[package]] name = "backend" -version = "1.0.6" +version = "1.0.27" dependencies = [ "axum", - "axum-extra", + "axum-extra 0.12.6", "chrono", "constant_time_eq 0.5.0", "cookie", @@ -168,7 +191,7 @@ dependencies = [ "serde_json", "sha2", "shared-backend", - "shared-core", + "shared-core 3.0.33", "tempfile", "thiserror 2.0.18", "time", @@ -276,7 +299,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" dependencies = [ "iana-time-zone", + "js-sys", "num-traits", + "wasm-bindgen", "windows-link", ] @@ -452,7 +477,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -496,7 +521,7 @@ dependencies = [ [[package]] name = "frontend" -version = "1.0.6" +version = "1.0.27" dependencies = [ "futures-channel", "futures-util", @@ -506,7 +531,7 @@ dependencies = [ "percent-encoding", "serde", "serde_json", - "shared-core", + "shared-core 3.0.33", "shared-frontend", "wasm-bindgen", "wasm-bindgen-futures", @@ -1600,7 +1625,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -1801,7 +1826,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -1976,20 +2001,24 @@ dependencies = [ [[package]] name = "shared-backend" -version = "3.0.33" -source = "git+https://github.com/studio2201/shared-assets.git?tag=v3.0.33#5c1f076b40ab66804648a645cc37978056d104f5" +version = "3.0.39" +source = "git+https://github.com/studio2201/shared-assets.git?tag=v3.0.39#d9d716ba42b270f2dc3519357f915956d8ff79be" dependencies = [ "anyhow", "axum", + "axum-extra 0.10.3", "chrono", "constant_time_eq 0.3.1", "dotenvy", "http-body-util", "ipnet", + "rand 0.9.5", "rusqlite", "serde", - "shared-core", + "serde_json", + "shared-core 3.0.39", "thiserror 2.0.18", + "time", "tokio", "tower-http 0.6.11", "tracing", @@ -2005,6 +2034,15 @@ dependencies = [ "serde", ] +[[package]] +name = "shared-core" +version = "3.0.39" +source = "git+https://github.com/studio2201/shared-assets.git?tag=v3.0.39#d9d716ba42b270f2dc3519357f915956d8ff79be" +dependencies = [ + "constant_time_eq 0.3.1", + "serde", +] + [[package]] name = "shared-frontend" version = "3.0.33" @@ -2012,7 +2050,7 @@ source = "git+https://github.com/studio2201/shared-assets.git?tag=v3.0.33#5c1f07 dependencies = [ "js-sys", "serde", - "shared-core", + "shared-core 3.0.33", "wasm-bindgen", "web-sys", "yew", @@ -2130,7 +2168,7 @@ dependencies = [ "getrandom 0.4.3", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -2725,7 +2763,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 8fe84dc..70cceeb 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -19,7 +19,7 @@ path = "src/bin/sh/main.rs" [dependencies] shared-core = { git = "https://github.com/studio2201/shared-assets.git", tag = "v3.0.33" } -shared-backend = { git = "https://github.com/studio2201/shared-assets.git", tag = "v3.0.33" } +shared-backend = { git = "https://github.com/studio2201/shared-assets.git", tag = "v3.0.39" } axum = { version = "0.8", features = ["ws", "macros"] } tokio = { version = "1", features = ["full"] } serde = { version = "1.0", features = ["derive"] }