Files
RustPython/Cargo.toml
2019-08-09 10:20:10 -05:00

51 lines
1.4 KiB
TOML

[package]
name = "rustpython"
version = "0.1.0"
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.1"
env_logger="0.5.10"
clap = "2.31.2"
rustpython-compiler = {path = "compiler", version = "0.1.0"}
rustpython-parser = {path = "parser", version = "0.1.0"}
rustpython-vm = {path = "vm", version = "0.1.0"}
xdg = "2.2.0"
flame = { version = "0.2", optional = true }
flamescope = { version = "0.1", optional = true }
[target.'cfg(not(target_os = "redox"))'.dependencies]
rustyline = "4.1.0"
[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" }
# libc = { git = "https://github.com/AdminXVII/libc", branch = "extra-traits-redox" }
# nix = { git = "https://github.com/AdminXVII/nix", branch = "add-redox-support" }
# REDOX END