diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 6b5ef2582..010f49833 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -75,6 +75,7 @@ bcder = "0.7.3" bytes = "1.7.2" byteorder = { version = "1.4.3", default-features = false } byteordered = "0.6.0" +chrono = { version = "0.4.38", default-features = false, features = ["serde"] } ciborium = "0.2.0" config = { version = "0.14.0", default-features = false, features = [ "json", @@ -121,18 +122,12 @@ tempfile = "3.10.1" thiserror = "1.0.61" treeline = "0.1.0" url = "2.5.2" +uuid = { version = "1.10.0", features = ["serde", "v4"] } x509-certificate = "0.23.1" x509-parser = "0.16.0" zip = { version = "0.6.6", default-features = false } -[target.'cfg(not(target_os = "wasi"))'.dependencies] -chrono = { version = "0.4.38", default-features = false, features = [ - "serde", - "wasmbind", -] } -uuid = { version = "1.10.0", features = ["serde", "v4", "js"] } - [target.'cfg(target_arch = "wasm32")'.dependencies] ecdsa = "0.16.9" p256 = "0.13.2" @@ -152,12 +147,14 @@ image = { version = "0.24.7", default-features = false, features = [ ], optional = true } [target.'cfg(target_os = "wasi")'.dependencies] -chrono = { version = "0.4.38", default-features = false, features = ["serde"] } getrandom = "0.2.7" instant = { version = "0.1.12", features = ["inaccurate"] } -uuid = { version = "1.10.0", features = ["serde", "v4"] } [target.'cfg(all(target_arch = "wasm32",not(target_os = "wasi")))'.dependencies] +chrono = { version = "0.4.38", default-features = false, features = [ + "serde", + "wasmbind", +] } console_log = { version = "1.0.0", features = ["color"] } getrandom = { version = "0.2.7", features = ["js"] } # We need to use the `inaccurate` flag here to ensure usage of the JavaScript Date API @@ -168,6 +165,7 @@ rand_core = "0.9.0-alpha.2" # Set correct feature for ring, used by x509-certificate ring = { version = "0.17.8", features = ["wasm32_unknown_unknown_js"]} serde-wasm-bindgen = "0.5.0" +uuid = { version = "1.10.0", features = ["serde", "v4", "js"] } wasm-bindgen = "0.2.83" wasm-bindgen-futures = "0.4.31" web-sys = { version = "0.3.58", features = [