diff --git a/Cargo.lock b/Cargo.lock index de7f349..dcadb1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -355,16 +355,16 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "biscuit" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28865439fc81744500265d96c920985ceb6b612ef8564d43f1cc78e7a6c89e26" +checksum = "7e28fc7c56c61743a01d0d1b73e4fed68b8a4f032ea3a2d4bb8c6520a33fc05a" dependencies = [ "chrono", "data-encoding", "num-bigint", "num-traits", "once_cell", - "ring 0.16.20", + "ring", "serde", "serde_json", ] @@ -1453,7 +1453,7 @@ checksum = "155c4d7e39ad04c172c5e3a99c434ea3b4a7ba7960b38ecd562b270b097cce09" dependencies = [ "base64 0.21.5", "pem", - "ring 0.17.5", + "ring", "serde", "serde_json", "simple_asn1", @@ -2350,21 +2350,6 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin 0.5.2", - "untrusted 0.7.1", - "web-sys", - "winapi", -] - [[package]] name = "ring" version = "0.17.5" @@ -2375,7 +2360,7 @@ dependencies = [ "getrandom", "libc", "spin 0.9.8", - "untrusted 0.9.0", + "untrusted", "windows-sys", ] @@ -2424,7 +2409,7 @@ version = "0.21.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" dependencies = [ - "ring 0.17.5", + "ring", "rustls-webpki", "sct", ] @@ -2444,8 +2429,8 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.5", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] @@ -2481,8 +2466,8 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.5", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] @@ -3553,12 +3538,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - [[package]] name = "untrusted" version = "0.9.0" @@ -3691,16 +3670,6 @@ version = "0.2.88" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" -[[package]] -name = "web-sys" -version = "0.3.65" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - [[package]] name = "webpki-roots" version = "0.24.0" diff --git a/apps/api/Cargo.toml b/apps/api/Cargo.toml index 7c77b6d..2cc19d3 100644 --- a/apps/api/Cargo.toml +++ b/apps/api/Cargo.toml @@ -9,7 +9,7 @@ anyhow = "1.0" async-graphql = { version = "6.0", features = ["chrono"] } async-graphql-axum = "6.0" axum = "0.6" -biscuit = "0.6.0-beta1" +biscuit = "0.7.0" caster-auth = { path = "../../libs/auth" } caster-domains = { path = "../../libs/domains" } caster-utils = { path = "../../libs/utils" } diff --git a/libs/auth/Cargo.toml b/libs/auth/Cargo.toml index 3eca3f3..e010ca3 100644 --- a/libs/auth/Cargo.toml +++ b/libs/auth/Cargo.toml @@ -11,7 +11,7 @@ integration = [] anyhow = "1.0" async-trait = "0.1.41" axum = "0.6" -biscuit = "0.6.0-beta1" +biscuit = "0.7.0" caster-utils = { path = "../../libs/utils" } http = "0.2" hyper = "0.14"