Skip to content

Commit c67d1f6

Browse files
committed
clean up cargo
1 parent 5b3997f commit c67d1f6

File tree

3 files changed

+12
-29
lines changed

3 files changed

+12
-29
lines changed

Cargo.lock

+1-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stdlib/Cargo.toml

+7-5
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,22 @@ adler32 = "1.0.3"
4242
crc32fast = "1.2.0"
4343
flate2 = "1.0.20"
4444

45+
num-complex = "0.4.0"
46+
num-bigint = "0.4.2"
47+
num-integer = "0.1.44"
48+
4549
crossbeam-utils = "0.8.5"
4650
itertools = "0.10.1"
4751
lexical-core = "0.7"
4852
num-traits = "0.2.14"
4953
crc = "^1.0.0"
5054
memchr = "2"
5155
base64 = "0.13"
52-
num-complex = "0.4.0"
5356
csv-core = "0.1"
5457
hex = "0.4.0"
5558
puruspe = "0.1"
5659
nix = "0.22.1"
5760
xml-rs = "0.8"
58-
num-bigint = "0.4.2"
59-
num-integer = "0.1.44"
6061
libc = "0.2.102"
6162
cfg-if = "1.0.0"
6263
ahash = "0.7.4"
@@ -87,9 +88,10 @@ ssl-vendor = ["ssl", "openssl/vendored", "openssl-probe"]
8788
gethostname = "0.2.0"
8889
socket2 = { version = "0.4.0", features = ["all"] }
8990
dns-lookup = "1.0"
90-
rustyline = "9"
9191
openssl = { version = "0.10.32", optional = true }
9292
openssl-sys = { version = "0.9", optional = true }
9393
openssl-probe = { version = "0.1", optional = true }
94-
which = "4.0"
9594
foreign-types-shared = { version = "0.1", optional = true }
95+
96+
[target.'cfg(target_os = "macos")'.dependencies]
97+
system-configuration = "0.4"

vm/Cargo.toml

+4-14
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ num-bigint = { version = "0.4.2", features = ["serde"] }
2727
num-traits = "0.2.8"
2828
num-integer = "0.1.41"
2929
num-rational = "0.4.0"
30-
rand = "0.8"
31-
getrandom = { version = "0.2", features = ["js"] }
32-
log = "0.4"
30+
rustpython-common = { path = "../common" }
3331
rustpython-derive = { path = "../derive", version = "0.1.2" }
3432
rustpython-ast = { path = "../ast", optional = true, version = "0.1" }
3533
rustpython-parser = { path = "../parser", optional = true, version = "0.1.2" }
@@ -38,6 +36,9 @@ rustpython-compiler-core = { path = "../compiler", optional = true, version = "0
3836
rustpython-bytecode = { path = "../bytecode", version = "0.1.2" }
3937
rustpython-jit = { path = "../jit", optional = true, version = "0.1.2" }
4038
rustpython-pylib = { path = "pylib-crate", optional = true, version = "0.1.0" }
39+
rand = "0.8"
40+
getrandom = { version = "0.2", features = ["js"] }
41+
log = "0.4"
4142
serde = { version = "1.0.66", features = ["derive"] }
4243
caseless = "0.2.1"
4344
chrono = { version = "0.4", features = ["wasmbind"] }
@@ -88,7 +89,6 @@ unic-ucd-ident = "0.9"
8889
flame = { version = "0.2", optional = true }
8990
flamer = { version = "0.4", optional = true }
9091

91-
rustpython-common = { path = "../common" }
9292
ascii = "1.0.0"
9393

9494
[target.'cfg(unix)'.dependencies]
@@ -98,22 +98,12 @@ strum = "0.21"
9898
strum_macros = "0.21"
9999

100100
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
101-
gethostname = "0.2.0"
102-
socket2 = { version = "0.4.0", features = ["all"] }
103-
dns-lookup = "1.0"
104101
rustyline = "9"
105-
openssl = { version = "0.10.32", optional = true }
106-
openssl-sys = { version = "0.9", optional = true }
107-
openssl-probe = { version = "0.1", optional = true }
108102
which = "4.0"
109-
foreign-types-shared = { version = "0.1", optional = true }
110103

111104
[target.'cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))'.dependencies]
112105
num_cpus = "1"
113106

114-
[target.'cfg(target_os = "macos")'.dependencies]
115-
system-configuration = "0.4"
116-
117107
[target.'cfg(windows)'.dependencies]
118108
winreg = "0.8.0"
119109
schannel = "0.1"

0 commit comments

Comments
 (0)