|
| 1 | +[package] |
| 2 | +name = "stdlib" |
| 3 | +version = "0.1.0" |
| 4 | +edition = "2018" |
| 5 | + |
| 6 | +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 7 | + |
| 8 | +[dependencies] |
| 9 | +rustpython-parser = { path = "../parser", optional = true } |
| 10 | +rustpython-derive = { path = "../derive" } |
| 11 | +rustpython-vm = { path = "../vm" } |
| 12 | +rustpython-common = { path = "../common" } |
| 13 | +crossbeam-utils = "0.8.5" |
| 14 | +itertools = "0.10.1" |
| 15 | +lexical-core = "0.7" |
| 16 | +num-traits = "0.2.14" |
| 17 | +crc = "^1.0.0" |
| 18 | +memchr = "2" |
| 19 | +base64 = "0.13" |
| 20 | +num-complex = "0.4.0" |
| 21 | +csv-core = "0.1" |
| 22 | +hex = "0.4.0" |
| 23 | +puruspe = "0.1" |
| 24 | + |
| 25 | +# Crypto: |
| 26 | +digest = "0.9.0" |
| 27 | +md-5 = "0.9.1" |
| 28 | +sha-1 = "0.9.4" |
| 29 | +sha2 = "0.9.3" |
| 30 | +sha3 = "0.9.1" |
| 31 | +blake2 = "0.9.1" |
| 32 | +xml-rs = "0.8" |
| 33 | +num-bigint = "0.4.2" |
| 34 | +num-integer = "0.1.44" |
| 35 | + |
| 36 | +[features] |
| 37 | +# default = ["compile-parse", "threading", "pylib"] |
| 38 | +# # TODO: use resolver = "2" instead of features |
| 39 | +# zlib = ["libz-sys", "flate2/zlib"] |
| 40 | +# vm-tracing-logging = [] |
| 41 | +# flame-it = ["flame", "flamer"] |
| 42 | +# pylib = ["rustpython-pylib"] |
| 43 | +# freeze-stdlib = ["rustpython-pylib", "rustpython-pylib/compiled-bytecode"] |
| 44 | +# jit = ["rustpython-jit"] |
| 45 | +# threading = ["rustpython-common/threading"] |
| 46 | +# compile-parse = ["parser", "compiler"] |
| 47 | +# compiler = ["rustpython-compiler", "rustpython-compiler-core", "ast"] |
| 48 | +# parser = ["rustpython-parser", "ast"] |
| 49 | + |
| 50 | +ssl = ["openssl", "openssl-sys", "foreign-types-shared"] |
| 51 | +ssl-vendor = ["ssl", "openssl/vendored", "openssl-probe"] |
| 52 | + |
| 53 | + |
| 54 | +[target.'cfg(not(target_arch = "wasm32"))'.dependencies] |
| 55 | +gethostname = "0.2.0" |
| 56 | +socket2 = { version = "0.4.0", features = ["all"] } |
| 57 | +dns-lookup = "1.0" |
| 58 | +rustyline = "9" |
| 59 | +openssl = { version = "0.10.32", optional = true } |
| 60 | +openssl-sys = { version = "0.9", optional = true } |
| 61 | +openssl-probe = { version = "0.1", optional = true } |
| 62 | +which = "4.0" |
| 63 | +foreign-types-shared = { version = "0.1", optional = true } |
0 commit comments