diff --git a/Cargo.toml b/Cargo.toml index 4d3741aa3..18f4c1b21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -188,6 +188,7 @@ bstr = "1" bzip2 = "0.6" caseless = "0.2.2" chrono = { version = "0.4.44", default-features = false, features = ["clock", "std"] } +console_error_panic_hook = "0.1" constant_time_eq = "0.4" cranelift = "0.131.1" cranelift-jit = "0.131.1" @@ -216,6 +217,7 @@ indexmap = { version = "2.14.0", features = ["std"] } insta = "1.47" itertools = "0.14.0" is-macro = "0.3.7" +js-sys = "0.3" junction = "1.4.2" lexical-parse-float = "1.0.6" libc = "0.2.186" @@ -271,6 +273,7 @@ rustyline = "18" serde = { package = "serde_core", version = "1.0.225", default-features = false, features = ["alloc"] } schannel = "0.1.29" scopeguard = "1" +serde-wasm-bindgen = "0.6.5" sha-1 = "0.10.0" sha2 = "0.10.2" sha3 = "0.10.1" @@ -299,6 +302,8 @@ unicode_names2 = "2.0.0" widestring = "1.2.0" windows-sys = "0.61.2" wasm-bindgen = "0.2.106" +wasm-bindgen-futures = "0.4" +web-sys = "0.3" webpki-roots = "1.0" which = "8" x509-cert = "0.2.5" diff --git a/crates/wasm/Cargo.toml b/crates/wasm/Cargo.toml index a285dcabd..4150beaa8 100644 --- a/crates/wasm/Cargo.toml +++ b/crates/wasm/Cargo.toml @@ -26,11 +26,11 @@ rustpython-vm = { workspace = true, features = ["compiler", "encodings", "serde" serde = { workspace = true } wasm-bindgen = { workspace = true } -console_error_panic_hook = "0.1" -js-sys = "0.3" -serde-wasm-bindgen = "0.6.5" -wasm-bindgen-futures = "0.4" -web-sys = { version = "0.3", features = [ +console_error_panic_hook = { workspace = true } +js-sys = { workspace = true } +serde-wasm-bindgen = { workspace = true } +wasm-bindgen-futures = { workspace = true } +web-sys = { workspace = true, features = [ "console", "Document", "Element",