diff --git a/Cargo.lock b/Cargo.lock index d885b52242..c14378e045 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -921,9 +921,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d" dependencies = [ "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", ] [[package]] @@ -1898,7 +1895,6 @@ dependencies = [ "getrandom", "half", "hex", - "hexf-parse", "indexmap", "is-macro", "itertools", @@ -1925,7 +1921,6 @@ dependencies = [ "paste", "puruspe", "rand", - "rand_core", "result-like", "rustc_version", "rustpython-ast", @@ -1946,7 +1941,6 @@ dependencies = [ "socket2", "sre-engine", "static_assertions", - "strum", "strum_macros", "system-configuration", "termios", @@ -1976,11 +1970,8 @@ version = "0.1.2" dependencies = [ "console_error_panic_hook", "js-sys", - "parking_lot", - "rustpython-common", "rustpython-parser", "rustpython-vm", - "serde", "serde-wasm-bindgen", "wasm-bindgen", "wasm-bindgen-futures", @@ -2231,12 +2222,6 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" -[[package]] -name = "strum" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2" - [[package]] name = "strum_macros" version = "0.21.1" diff --git a/Cargo.toml b/Cargo.toml index 1a559f7be3..6ce04ec8ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,6 @@ ssl-vendor = ["rustpython-vm/ssl-vendor"] log = "0.4" env_logger = { version = "0.8", default-features = false, features = ["atty", "termcolor"] } clap = "2.33" -rustpython-compiler = { path = "compiler/porcelain", version = "0.1.1" } rustpython-parser = { path = "parser", version = "0.1.1" } rustpython-vm = { path = "vm", version = "0.1.1", default-features = false, features = ["compile-parse"] } pylib = { package = "rustpython-pylib", path = "vm/pylib-crate", version = "0.1.0", optional = true } @@ -49,6 +48,7 @@ rustyline = "8.1" cpython = "0.6" python3-sys = "0.6" criterion = "0.3" +rustpython-compiler = { path = "compiler/porcelain", version = "0.1.1" } [[bench]] name = "execution" diff --git a/vm/Cargo.toml b/vm/Cargo.toml index a452bcdbbb..98eabbc0d3 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -42,7 +42,6 @@ num-traits = "0.2.8" num-integer = "0.1.41" num-rational = "0.4.0" rand = "0.8" -rand_core = "0.6" getrandom = { version = "0.2", features = ["js"] } log = "0.4" rustpython-derive = { path = "../derive", version = "0.1.2" } @@ -60,7 +59,6 @@ chrono = { version = "0.4", features = ["wasmbind"] } lexical-core = "0.7" itertools = "0.10.0" hex = "0.4.0" -hexf-parse = "0.1.0" indexmap = "1.0.2" ahash = "0.7.2" crc = "^1.0.0" @@ -117,7 +115,6 @@ rustpython-common = { path = "../common" } [target.'cfg(unix)'.dependencies] exitcode = "1.1.2" uname = "0.1.1" -strum = "0.21" strum_macros = "0.21" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/wasm/lib/Cargo.toml b/wasm/lib/Cargo.toml index 2b618619ab..4e19b8320f 100644 --- a/wasm/lib/Cargo.toml +++ b/wasm/lib/Cargo.toml @@ -17,17 +17,13 @@ no-start-func = [] [dependencies] rustpython-parser = { path = "../../parser" } -rustpython-common = { path = "../../common" } # no threading feature for rustpython-vm -- doesn't much matter anyway, but it might be more optimized rustpython-vm = { path = "../../vm", default-features = false, features = ["compile-parse"] } wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" serde-wasm-bindgen = "0.1" -serde = "1.0" js-sys = "0.3" console_error_panic_hook = "0.1" -# make parking_lot use wasm-bingden for instant -parking_lot = { version = "0.11", features = ["wasm-bindgen"] } [dependencies.web-sys] version = "0.3"