@@ -9,34 +9,35 @@ edition = "2021"
9
9
include = [" src/**/*.rs" , " Cargo.toml" , " build.rs" , " Lib/**/*.py" ]
10
10
11
11
[features ]
12
- default = [" compile-parse " ]
12
+ default = [" compiler " ]
13
13
importlib = []
14
14
encodings = [" importlib" ]
15
15
vm-tracing-logging = []
16
16
flame-it = [" flame" , " flamer" ]
17
17
freeze-stdlib = [" rustpython-pylib/freeze-stdlib" ]
18
18
jit = [" rustpython-jit" ]
19
19
threading = [" rustpython-common/threading" ]
20
- compile-parse = [" parser" , " compiler " ]
20
+ compiler = [" parser" , " codegen " ]
21
21
ast = [" rustpython-ast" ]
22
- compiler = [" rustpython-compiler" , " rustpython-codegen" , " ast" ]
22
+ codegen = [" rustpython-compiler" , " rustpython-codegen" , " ast" ]
23
23
parser = [" rustpython-parser" , " ast" ]
24
24
25
25
[dependencies ]
26
- num-complex = { version = " 0.4.0" , features = [" serde" ] }
27
- num-bigint = { version = " 0.4.3" , features = [" serde" ] }
28
- num-traits = " 0.2.14"
29
- num-integer = " 0.1.44"
30
- num-rational = " 0.4.0"
31
- rustpython-common = { path = " ../common" }
32
- rustpython-derive = { path = " ../derive" , version = " 0.1.2" }
33
26
rustpython-compiler = { path = " ../compiler" , optional = true , version = " 0.1.2" }
34
27
rustpython-ast = { path = " ../compiler/ast" , optional = true , version = " 0.1" }
35
28
rustpython-parser = { path = " ../compiler/parser" , optional = true , version = " 0.1.2" }
36
29
rustpython-codegen = { path = " ../compiler/codegen" , optional = true , version = " 0.1.2" }
37
30
rustpython-bytecode = { path = " ../compiler/bytecode" , version = " 0.1.2" }
31
+ rustpython-common = { path = " ../common" }
32
+ rustpython-derive = { path = " ../derive" , version = " 0.1.2" }
38
33
rustpython-jit = { path = " ../jit" , optional = true , version = " 0.1.2" }
39
34
rustpython-pylib = { path = " pylib-crate" , version = " 0.1.0" }
35
+
36
+ num-complex = { version = " 0.4.0" , features = [" serde" ] }
37
+ num-bigint = { version = " 0.4.3" , features = [" serde" ] }
38
+ num-traits = " 0.2.14"
39
+ num-integer = " 0.1.44"
40
+ num-rational = " 0.4.0"
40
41
rand = " 0.8.5"
41
42
getrandom = { version = " 0.2.6" , features = [" js" ] }
42
43
log = " 0.4.16"
0 commit comments