forked from RustPython/RustPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
135 lines (120 loc) · 3.92 KB
/
Cargo.toml
File metadata and controls
135 lines (120 loc) · 3.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[package]
name = "rustpython-vm"
version = "0.2.0"
description = "Rust Python virtual machine."
authors = ["RustPython Team"]
repository = "https://github.com/RustPython/RustPython"
license = "MIT"
edition = "2021"
include = ["src/**/*.rs", "Cargo.toml", "build.rs", "Lib/**/*.py"]
[features]
default = ["compiler"]
importlib = []
encodings = ["importlib"]
vm-tracing-logging = []
flame-it = ["flame", "flamer"]
freeze-stdlib = []
jit = ["rustpython-jit"]
threading = ["rustpython-common/threading"]
compiler = ["parser", "codegen", "rustpython-compiler"]
ast = ["rustpython-ast"]
codegen = ["rustpython-codegen", "ast"]
parser = ["rustpython-parser", "ast"]
[dependencies]
rustpython-compiler = { path = "../compiler", optional = true, version = "0.2.0" }
rustpython-ast = { path = "../compiler/ast", optional = true, version = "0.2.0" }
rustpython-parser = { path = "../compiler/parser", optional = true, version = "0.2.0" }
rustpython-codegen = { path = "../compiler/codegen", optional = true, version = "0.2.0" }
rustpython-compiler-core = { path = "../compiler/core", version = "0.2.0" }
rustpython-common = { path = "../common" }
rustpython-derive = { path = "../derive", version = "0.2.0" }
rustpython-jit = { path = "../jit", optional = true, version = "0.2.0" }
num-complex = { version = "0.4.0", features = ["serde"] }
num-bigint = { version = "0.4.3", features = ["serde"] }
num-traits = "0.2.14"
num-integer = "0.1.44"
num-rational = "0.4.0"
rand = "0.8.5"
getrandom = { version = "0.2.6", features = ["js"] }
log = "0.4.16"
serde = { version = "1.0.136", features = ["derive"] }
caseless = "0.2.1"
chrono = { version = "0.4.19", features = ["wasmbind"] }
itertools = "0.10.3"
hex = "0.4.3"
hexf-parse = "0.2.1"
indexmap = "1.8.1"
ahash = "0.7.6"
bitflags = "1.3.2"
libc = "0.2.133"
nix = "0.24.2"
paste = "1.0.7"
is-macro = "0.2.0"
result-like = "0.4.5"
num_enum = "0.5.7"
bstr = "0.2.17"
crossbeam-utils = "0.8.9"
parking_lot = "0.12.0"
thread_local = "1.1.4"
cfg-if = "1.0.0"
timsort = "0.1.2"
thiserror = "1.0"
atty = "0.2.14"
static_assertions = "1.1.0"
half = "1.8.2"
memchr = "2.4.1"
adler32 = "1.2.0"
flate2 = "1.0.23"
once_cell = "1.10.0"
memoffset = "0.6.5"
optional = "0.5.0"
# RustPython crates implementing functionality based on CPython
sre-engine = "0.4.1"
# to work on sre-engine locally or git version
# sre-engine = { git = "https://github.com/RustPython/sre-engine", rev = "refs/pull/14/head" }
# sre-engine = { git = "https://github.com/RustPython/sre-engine" }
# sre-engine = { path = "../../sre-engine" }
## unicode stuff
unicode_names2 = "0.5.1"
# TODO: use unic for this; needed for title case:
# https://github.com/RustPython/RustPython/pull/832#discussion_r275428939
unicode-casing = "0.1.0"
# update version all at the same time
unic-ucd-bidi = "0.9.0"
unic-ucd-category = "0.9.0"
unic-ucd-ident = "0.9.0"
flame = { version = "0.2", optional = true }
flamer = { version = "0.4", optional = true }
ascii = "1.0.0"
[target.'cfg(unix)'.dependencies]
exitcode = "1.1.2"
uname = "0.1.1"
strum = "0.24.0"
strum_macros = "0.24.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rustyline = "10.0.0"
which = "4.2.5"
[target.'cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))'.dependencies]
num_cpus = "1.13.1"
[target.'cfg(windows)'.dependencies]
winreg = "0.10.1"
schannel = "0.1.19"
widestring = "0.5.1"
[target.'cfg(windows)'.dependencies.windows]
version = "0.39.0"
features = [
"Win32_UI_Shell", "Win32_System_LibraryLoader", "Win32_Foundation"
]
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.9"
features = [
"winsock2", "handleapi", "ws2def", "std", "winbase", "wincrypt", "fileapi", "processenv",
"namedpipeapi", "winnt", "processthreadsapi", "errhandlingapi", "winuser", "synchapi", "wincon",
"impl-default", "vcruntime", "ifdef", "netioapi", "memoryapi",
]
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.80"
[build-dependencies]
itertools = "0.10.3"
rustc_version = "0.4.0"
glob = "0.3"