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
108 lines (93 loc) · 2.81 KB
/
Cargo.toml
File metadata and controls
108 lines (93 loc) · 2.81 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
[package]
name = "rustpython-stdlib"
version = "0.1.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rustpython-parser = { path = "../parser", optional = true }
rustpython-derive = { path = "../derive" }
rustpython-vm = { path = "../vm" }
rustpython-common = { path = "../common" }
# random
rand = "0.8"
rand_core = "0.6"
mt19937 = "2.0"
# Crypto:
digest = "0.9.0"
md-5 = "0.9.1"
sha-1 = "0.9.4"
sha2 = "0.9.3"
sha3 = "0.9.1"
blake2 = "0.9.1"
## unicode stuff
unicode_names2 = "0.4"
# TODO: use unic for this; needed for title case:
# https://github.com/RustPython/RustPython/pull/832#discussion_r275428939
unicode-casing = "0.1"
# update version all at the same time
unic-char-property = "0.9"
unic-normal = "0.9"
unic-ucd-bidi = "0.9"
unic-ucd-category = "0.9"
unic-ucd-age = "0.9"
unic-ucd-ident = "0.9"
# compression
adler32 = "1.0.3"
crc32fast = "1.2.0"
flate2 = "1.0.20"
num-complex = "0.4.0"
num-bigint = "0.4.2"
num-integer = "0.1.44"
crossbeam-utils = "0.8.5"
itertools = "0.10.1"
lexical-parse-float = "0.8.0"
num-traits = "0.2.14"
memchr = "2"
base64 = "0.13"
csv-core = "0.1"
hex = "0.4.0"
puruspe = "0.1"
nix = "0.23"
xml-rs = "0.8"
libc = "0.2.102"
cfg-if = "1.0.0"
ahash = "0.7.4"
libz-sys = { version = "1.0", optional = true }
num_enum = "0.5.4"
ascii = "1.0.0"
[target.'cfg(all(unix, not(target_os = "redox")))'.dependencies]
termios = "0.3"
[features]
default = ["compile-parse", "pylib"]
pylib = ["rustpython-vm/pylib"]
compile-parse = ["rustpython-vm/compile-parse", "rustpython-parser"]
threading = ["rustpython-vm/threading"]
parser = ["rustpython-vm/parser"]
ast = ["rustpython-vm/ast"]
compiler = ["rustpython-vm/compiler"]
# compiler = ["rustpython-compiler", "rustpython-compiler-core", "ast"]
# parser = ["rustpython-parser", "ast"]
zlib = ["libz-sys", "flate2/zlib"]
ssl = ["openssl", "openssl-sys", "foreign-types-shared"]
ssl-vendor = ["ssl", "openssl/vendored", "openssl-probe"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
gethostname = "0.2.0"
socket2 = { version = "0.4.0", features = ["all"] }
dns-lookup = "1.0"
openssl = { version = "0.10.32", optional = true }
openssl-sys = { version = "0.9", optional = true }
openssl-probe = { version = "0.1", optional = true }
foreign-types-shared = { version = "0.1", optional = true }
[target.'cfg(windows)'.dependencies]
schannel = "0.1"
widestring = "0.4"
paste = "1.0.5"
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3"
features = [
"winsock2", "handleapi", "ws2def", "std", "winbase", "wincrypt", "fileapi", "processenv",
"namedpipeapi", "winnt", "processthreadsapi", "errhandlingapi", "winuser", "synchapi", "wincon",
"impl-default", "vcruntime", "ifdef", "netioapi"
]
[target.'cfg(target_os = "macos")'.dependencies]
system-configuration = "0.4"