Files
RustPython/vm/Cargo.toml
2019-08-08 17:33:39 +03:00

77 lines
2.0 KiB
TOML

[package]
name = "rustpython-vm"
version = "0.1.0"
description = "Rust Python virtual machine."
authors = ["RustPython Team"]
repository = "https://github.com/RustPython/RustPython"
license = "MIT"
edition = "2018"
include = ["src/**/*.rs", "Cargo.toml", "build.rs", "Lib/**/*.py"]
[features]
default = ["rustpython-parser", "rustpython-compiler", "use-proc-macro-hack"]
vm-tracing-logging = []
flame-it = ["flame", "flamer"]
use-proc-macro-hack = ["proc-macro-hack", "rustpython-derive/proc-macro-hack"]
freeze-stdlib = []
[dependencies]
# Crypto:
digest = "0.8.1"
md-5 = "0.8"
sha-1 = "0.8"
sha2 = "0.8"
sha3 = "0.8"
blake2 = "0.8"
num-complex = { version = "0.2", features = ["serde"] }
num-bigint = { version = "0.2", features = ["serde"] }
num-traits = "=0.2.6"
num-integer = "=0.1.39"
num-rational = "0.2.1"
rand = "0.5"
log = "0.3"
rustpython-derive = {path = "../derive", version = "0.1.0"}
rustpython-parser = {path = "../parser", optional = true, version = "0.1.0"}
rustpython-compiler = {path = "../compiler", optional = true, version = "0.1.0"}
rustpython-bytecode = { path = "../bytecode", version = "0.1.0"}
serde = { version = "1.0.66", features = ["derive"] }
serde_json = "1.0.26"
byteorder = "1.2.6"
regex = "1"
rustc_version_runtime = "0.1.*"
statrs = "0.10.0"
caseless = "0.2.1"
chrono = "=0.4.6"
unicode-segmentation = "1.2.1"
unicode-xid = "0.1.0"
lazy_static = "^1.0.1"
lexical = "2.0.0"
itertools = "^0.8.0"
hex = "0.3.2"
hexf-parse = "0.1.0"
indexmap = "1.0.2"
crc = "^1.0.0"
bincode = "1.1.4"
unicode_categories = "0.1.1"
unicode_names2 = "0.2.2"
unicode-casing = "0.1.0"
unic = "0.9.0"
maplit = "1.0"
proc-macro-hack = { version = "0.5", optional = true }
bitflags = "1.1"
libc = "0.2"
nix = "0.14.1"
wtf8 = "0.0.3"
arr_macro = "0.1.2"
flame = { version = "0.2", optional = true }
flamer = { version = "0.3", optional = true }
[target.'cfg(all(unix, not(any(target_os = "android", target_os = "redox"))))'.dependencies]
pwd = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
gethostname = "0.2.0"
subprocess = "0.1.18"