Skip to content

Commit

Permalink
Reorganize web dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmurph32 committed Oct 30, 2024
1 parent 17fb2fb commit 6d3b5b2
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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 = [
Expand Down

0 comments on commit 6d3b5b2

Please sign in to comment.