Skip to content

Commit a7dc41c

Browse files
committed
sort Cargo.toml dependencies
1 parent e3dcd91 commit a7dc41c

File tree

12 files changed

+61
-62
lines changed

12 files changed

+61
-62
lines changed

Cargo.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,26 @@ ssl-vendor = ["rustpython-stdlib/ssl-vendor"]
3535
[dependencies]
3636
rustpython-compiler = { path = "compiler", version = "0.1.1" }
3737
rustpython-parser = { path = "compiler/parser", version = "0.1.1" }
38-
rustpython-vm = { path = "vm", version = "0.1.1", default-features = false, features = ["compiler"] }
3938
rustpython-stdlib = {path = "stdlib", optional = true, default-features = false}
39+
rustpython-vm = { path = "vm", version = "0.1.1", default-features = false, features = ["compiler"] }
4040

41-
log = "0.4.16"
42-
env_logger = { version = "0.9.0", default-features = false, features = ["atty", "termcolor"] }
41+
cfg-if = "1.0.0"
4342
clap = "2.34"
4443
dirs = { package = "dirs-next", version = "2.0.0" }
45-
num-traits = "0.2.14"
46-
cfg-if = "1.0.0"
47-
libc = "0.2.126"
48-
44+
env_logger = { version = "0.9.0", default-features = false, features = ["atty", "termcolor"] }
4945
flame = { version = "0.2.2", optional = true }
5046
flamescope = { version = "0.1.2", optional = true }
47+
libc = "0.2.126"
48+
log = "0.4.16"
49+
num-traits = "0.2.14"
5150

5251
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
5352
rustyline = "10.0.0"
5453

5554
[dev-dependencies]
5655
cpython = "0.7.0"
57-
python3-sys = "0.7.0"
5856
criterion = "0.3.5"
57+
python3-sys = "0.7.0"
5958

6059
[[bench]]
6160
name = "execution"

common/Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ edition = "2021"
88
threading = ["parking_lot"]
99

1010
[dependencies]
11+
ascii = "1.0"
12+
cfg-if = "1.0"
13+
hexf-parse = "0.2.1"
14+
lexical-parse-float = { version = "0.8.0", features = ["format"] }
15+
libc = "0.2.126"
1116
lock_api = "0.4"
12-
parking_lot = { version = "0.12.0", optional = true }
13-
num-traits = "0.2"
14-
num-complex = "0.4.0"
1517
num-bigint = "0.4.2"
16-
lexical-parse-float = { version = "0.8.0", features = ["format"] }
17-
hexf-parse = "0.2.1"
18-
cfg-if = "1.0"
18+
num-complex = "0.4.0"
19+
num-traits = "0.2"
1920
once_cell = "1.4.1"
20-
siphasher = "0.3"
21-
rand = "0.8"
22-
volatile = "0.3"
21+
parking_lot = { version = "0.12.0", optional = true }
2322
radium = "0.7"
24-
libc = "0.2.126"
25-
ascii = "1.0"
23+
rand = "0.8"
24+
siphasher = "0.3"
2625
unic-ucd-category = "0.9"
26+
volatile = "0.3"
2727

2828
[target.'cfg(windows)'.dependencies]
2929
widestring = "0.5.1"

compiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ authors = ["RustPython Team"]
66
edition = "2021"
77

88
[dependencies]
9+
rustpython-bytecode = { path = "bytecode" }
910
rustpython-codegen = { path = "codegen" }
1011
rustpython-parser = { path = "parser" }
11-
rustpython-bytecode = { path = "bytecode" }
1212

1313
thiserror = "1.0"

compiler/ast/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ unparse = ["rustpython-common"]
1212

1313
[dependencies]
1414
num-bigint = "0.4.3"
15+
rustpython-bytecode = { path = "../bytecode" }
1516
rustpython-common = { path = "../../common", optional = true }
16-
rustpython-bytecode = { path = "../bytecode"}

compiler/bytecode/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ edition = "2021"
77
repository = "https://github.com/RustPython/RustPython"
88
license = "MIT"
99

10-
1110
[dependencies]
1211
bincode = "1.3.3"
1312
bitflags = "1.3.2"
13+
bstr = "0.2.17"
14+
itertools = "0.10.3"
1415
lz4_flex = "0.9.2"
1516
num-bigint = { version = "0.4.3", features = ["serde"] }
1617
num-complex = { version = "0.4.0", features = ["serde"] }
1718
serde = { version = "1.0.136", features = ["derive"] }
18-
itertools = "0.10.3"
19-
bstr = "0.2.17"
2019
static_assertions = "1.1.0"

compiler/codegen/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ license = "MIT"
88
edition = "2021"
99

1010
[dependencies]
11+
rustpython-ast = { path = "../ast", features = ["unparse"] }
12+
rustpython-bytecode = { path = "../bytecode", version = "0.1.1" }
13+
14+
ahash = "0.7.6"
1115
indexmap = "1.8.1"
1216
itertools = "0.10.3"
13-
rustpython-bytecode = { path = "../bytecode", version = "0.1.1" }
14-
rustpython-ast = { path = "../ast", features = ["unparse"] }
17+
log = "0.4.16"
1518
num-complex = { version = "0.4.0", features = ["serde"] }
1619
num-traits = "0.2.14"
17-
log = "0.4.16"
18-
ahash = "0.7.6"
1920

2021
[dev-dependencies]
2122
rustpython-parser = { path = "../parser" }
23+
2224
insta = "1.14.0"

compiler/parser/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "rustpython-parser"
33
version = "0.1.2"
44
description = "Parser for python code."
5-
authors = [ "RustPython Team" ]
5+
authors = ["RustPython Team"]
66
build = "build.rs"
77
repository = "https://github.com/RustPython/RustPython"
88
license = "MIT"
@@ -15,14 +15,15 @@ phf_codegen = "0.10"
1515
tiny-keccak = { version = "2", features = ["sha3"] }
1616

1717
[dependencies]
18+
rustpython-ast = { path = "../ast" }
19+
1820
ahash = "0.7.6"
1921
itertools = "0.10.3"
2022
lalrpop-util = "0.19.8"
2123
log = "0.4.16"
2224
num-bigint = "0.4.3"
2325
num-traits = "0.2.14"
2426
phf = "0.10.1"
25-
rustpython-ast = { path = "../ast" }
2627
unic-emoji-char = "0.9.0"
2728
unic-ucd-ident = "0.9.0"
2829
unicode_names2 = "0.5.0"

derive/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ edition = "2021"
1111
proc-macro = true
1212

1313
[dependencies]
14-
rustpython-compiler = { path = "../compiler", version = "0.1.1" }
1514
rustpython-bytecode = { path = "../compiler/bytecode", version = "0.1.1" }
1615
rustpython-codegen = { path = "../compiler/codegen", version = "0.1.1" }
16+
rustpython-compiler = { path = "../compiler", version = "0.1.1" }
17+
rustpython-doc = { git = "https://github.com/RustPython/__doc__", branch = "main" }
1718

18-
syn = { version = "1.0.91", features = ["full", "extra-traits"] }
19-
syn-ext = { version = "0.4.0", features = ["full"] }
20-
quote = "1.0.18"
21-
proc-macro2 = "1.0.37"
19+
indexmap = "1.8.1"
20+
itertools = "0.10.3"
2221
maplit = "1.0.2"
2322
once_cell = "1.10.0"
23+
proc-macro2 = "1.0.37"
24+
quote = "1.0.18"
25+
syn = { version = "1.0.91", features = ["full", "extra-traits"] }
26+
syn-ext = { version = "0.4.0", features = ["full"] }
2427
textwrap = { version = "0.15.0", default-features = false }
25-
indexmap = "1.8.1"
26-
itertools = "0.10.3"
27-
rustpython-doc = { git = "https://github.com/RustPython/__doc__", branch = "main" }

jit/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "rustpython-jit"
33
version = "0.1.2"
44
description = "Experimental JIT(just in time) compiler for python code."
5-
authors = [ "RustPython Team" ]
5+
authors = ["RustPython Team"]
66
repository = "https://github.com/RustPython/RustPython"
77
license = "MIT"
88
edition = "2021"
@@ -13,10 +13,10 @@ autotests = false
1313
rustpython-bytecode = { path = "../compiler/bytecode", version = "0.1.2" }
1414

1515
cranelift = "0.76.0"
16-
cranelift-module = "0.76.0"
1716
cranelift-jit = "0.76.0"
18-
num-traits = "0.2"
17+
cranelift-module = "0.76.0"
1918
libffi = "2.0.0"
19+
num-traits = "0.2"
2020
thiserror = "1.0"
2121

2222
[dev-dependencies]

stdlib/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

8+
[features]
9+
threading = ["rustpython-common/threading", "rustpython-vm/threading"]
10+
zlib = ["libz-sys", "flate2/zlib"]
11+
bz2 = ["bzip2"]
12+
ssl = ["openssl", "openssl-sys", "foreign-types-shared"]
13+
ssl-vendor = ["ssl", "openssl/vendored", "openssl-probe"]
14+
815
[dependencies]
16+
# rustpython crates
917
rustpython-derive = { path = "../derive" }
1018
rustpython-vm = { path = "../vm" }
1119
rustpython-common = { path = "../common" }
@@ -79,14 +87,6 @@ page_size = "0.4"
7987
[target.'cfg(all(unix, not(target_os = "redox"), not(target_os = "ios")))'.dependencies]
8088
termios = "0.3.3"
8189

82-
[features]
83-
threading = ["rustpython-common/threading", "rustpython-vm/threading"]
84-
85-
zlib = ["libz-sys", "flate2/zlib"]
86-
bz2 = ["bzip2"]
87-
ssl = ["openssl", "openssl-sys", "foreign-types-shared"]
88-
ssl-vendor = ["ssl", "openssl/vendored", "openssl-probe"]
89-
9090
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
9191
gethostname = "0.2.3"
9292
socket2 = { version = "0.4.4", features = ["all"] }

0 commit comments

Comments
 (0)