forked from Rust-related/RustPython
54 lines
1.5 KiB
TOML
54 lines
1.5 KiB
TOML
[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]
|
|
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 = "6.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" }
|
|
# nix = { git = "https://github.com/AdminXVII/nix", branch = "add-redox-support" }
|
|
# # following patches are just waiting on a new version to be released to crates.io
|
|
# socket2 = { git = "https://github.com/alexcrichton/socket2-rs" }
|
|
# rustyline = { git = "https://github.com/kkawakam/rustyline" }
|
|
# libc = { git = "https://github.com/rust-lang/libc" }
|
|
# REDOX END
|