[package] name = "rustpython" version = "0.1.1" authors = ["RustPython Team"] edition = "2018" description = "A python interpreter written in rust." repository = "https://github.com/RustPython/RustPython" license = "MIT" [workspace] members = [".", "derive", "vm", "wasm/lib", "parser", "compiler", "bytecode"] [[bench]] name = "bench" path = "./benchmarks/bench.rs" [features] default = ["rustpython-vm/use-proc-macro-hack"] flame-it = ["rustpython-vm/flame-it", "flame", "flamescope"] freeze-stdlib = ["rustpython-vm/freeze-stdlib"] [dependencies] log = "0.4" env_logger = "0.7" clap = "2.33" rustpython-compiler = {path = "compiler", version = "0.1.1"} rustpython-parser = {path = "parser", version = "0.1.1"} rustpython-vm = {path = "vm", version = "0.1.1"} dirs = "2.0" num-traits = "0.2.8" flame = { version = "0.2", optional = true } flamescope = { version = "0.1", optional = true } [target.'cfg(not(target_os = "wasi"))'.dependencies] rustyline = "=5.0.1" [dev-dependencies.cpython] version = "0.2" [[bin]] name = "rustpython" path = "src/main.rs" [patch.crates-io] # REDOX START, Uncommment when you want to compile/check with redoxer # time = { git = "https://gitlab.redox-os.org/redox-os/time.git", branch = "redox-unix" } # nix = { git = "https://github.com/AdminXVII/nix", branch = "add-redox-support" } # REDOX END