diff --git a/util/RustSdk/rust/Cargo.lock b/util/RustSdk/rust/Cargo.lock index aff61935e472..2b0b1f717aac 100644 --- a/util/RustSdk/rust/Cargo.lock +++ b/util/RustSdk/rust/Cargo.lock @@ -134,8 +134,8 @@ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" [[package]] name = "bitwarden-api-api" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "async-trait", "reqwest", @@ -149,8 +149,8 @@ dependencies = [ [[package]] name = "bitwarden-api-identity" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "async-trait", "reqwest", @@ -164,8 +164,8 @@ dependencies = [ [[package]] name = "bitwarden-core" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "async-trait", "bitwarden-api-api", @@ -177,7 +177,6 @@ dependencies = [ "bitwarden-uuid", "chrono", "getrandom 0.2.16", - "log", "rand 0.8.5", "reqwest", "rustls", @@ -189,14 +188,15 @@ dependencies = [ "serde_qs", "serde_repr", "thiserror 1.0.69", + "tracing", "uuid", "zeroize", ] [[package]] name = "bitwarden-crypto" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "aes", "argon2", @@ -225,6 +225,7 @@ dependencies = [ "sha2", "subtle", "thiserror 1.0.69", + "tracing", "typenum", "uuid", "zeroize", @@ -233,8 +234,8 @@ dependencies = [ [[package]] name = "bitwarden-encoding" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "data-encoding", "data-encoding-macro", @@ -244,16 +245,16 @@ dependencies = [ [[package]] name = "bitwarden-error" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "bitwarden-error-macro", ] [[package]] name = "bitwarden-error-macro" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "darling", "proc-macro2", @@ -263,8 +264,8 @@ dependencies = [ [[package]] name = "bitwarden-state" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "async-trait", "bitwarden-error", @@ -281,29 +282,29 @@ dependencies = [ [[package]] name = "bitwarden-threading" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "bitwarden-error", - "log", "serde", "thiserror 1.0.69", "tokio", "tokio-util", + "tracing", ] [[package]] name = "bitwarden-uuid" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "bitwarden-uuid-macro", ] [[package]] name = "bitwarden-uuid-macro" -version = "1.0.0" -source = "git+https://github.com/bitwarden/sdk-internal.git?rev=7080159154a42b59028ccb9f5af62bf087e565f9#7080159154a42b59028ccb9f5af62bf087e565f9" +version = "2.0.0" +source = "git+https://github.com/bitwarden/sdk-internal.git?rev=bd636a4ff3e97f87431ef188f7a2685f89bcb274#bd636a4ff3e97f87431ef188f7a2685f89bcb274" dependencies = [ "quote", "syn", @@ -2584,9 +2585,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "pin-project-lite", + "tracing-attributes", "tracing-core", ] +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tracing-core" version = "0.1.34" diff --git a/util/RustSdk/rust/Cargo.toml b/util/RustSdk/rust/Cargo.toml index 65b0d42e5fd0..bffd469c67ae 100644 --- a/util/RustSdk/rust/Cargo.toml +++ b/util/RustSdk/rust/Cargo.toml @@ -13,8 +13,8 @@ crate-type = ["cdylib"] [dependencies] base64 = "0.22.1" -bitwarden-core = { git = "https://github.com/bitwarden/sdk-internal.git", rev = "7080159154a42b59028ccb9f5af62bf087e565f9" } -bitwarden-crypto = { git = "https://github.com/bitwarden/sdk-internal.git", rev = "7080159154a42b59028ccb9f5af62bf087e565f9" } +bitwarden-core = { git = "https://github.com/bitwarden/sdk-internal.git", rev = "bd636a4ff3e97f87431ef188f7a2685f89bcb274" } +bitwarden-crypto = { git = "https://github.com/bitwarden/sdk-internal.git", rev = "bd636a4ff3e97f87431ef188f7a2685f89bcb274" } serde = "=1.0.219" serde_json = "=1.0.141"