mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
* Add `rapidhash` to list of dependencies * Use `rapidhash::quality::RandomState` in `codegen` crate * Use `rapidhash::quality::RandomState` in `stdlib` crate * Use `rapidhash::quality::RandomState` in `vm` crate * Remove `ahash` from lists of dependencies
106 lines
3.2 KiB
TOML
106 lines
3.2 KiB
TOML
[package]
|
|
name = "rustpython-vm"
|
|
description = "RustPython virtual machine."
|
|
include = ["src/**/*.rs", "Cargo.toml", "build.rs", "Lib/**/*.py"]
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
license.workspace = true
|
|
|
|
[features]
|
|
default = ["compiler", "wasmbind", "gc", "host_env", "stdio"]
|
|
host_env = []
|
|
stdio = []
|
|
importlib = []
|
|
encodings = ["importlib"]
|
|
vm-tracing-logging = []
|
|
flame-it = ["flame", "flamer"]
|
|
freeze-stdlib = ["encodings"]
|
|
jit = ["rustpython-jit"]
|
|
threading = ["rustpython-common/threading"]
|
|
gc = []
|
|
compiler = ["parser", "codegen", "rustpython-compiler"]
|
|
ast = ["ruff_python_ast", "ruff_text_size"]
|
|
codegen = ["rustpython-codegen", "ast"]
|
|
parser = ["ast"]
|
|
serde = ["dep:serde"]
|
|
wasmbind = ["rustpython-common/wasm_js", "chrono/wasmbind", "wasm-bindgen"]
|
|
|
|
[dependencies]
|
|
rustpython-compiler = { workspace = true, optional = true }
|
|
rustpython-codegen = { workspace = true, optional = true }
|
|
rustpython-common = { workspace = true }
|
|
rustpython-derive = { workspace = true }
|
|
rustpython-host_env = { workspace = true }
|
|
rustpython-jit = { workspace = true, optional = true }
|
|
|
|
ruff_python_ast = { workspace = true, optional = true }
|
|
ruff_python_parser = { workspace = true }
|
|
ruff_text_size = { workspace = true, optional = true }
|
|
rustpython-compiler-core = { workspace = true }
|
|
rustpython-literal = { workspace = true }
|
|
rustpython-sre_engine = { workspace = true }
|
|
|
|
ascii = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
bstr = { workspace = true }
|
|
crossbeam-utils = { workspace = true }
|
|
chrono = { workspace = true }
|
|
constant_time_eq = { workspace = true }
|
|
flame = { workspace = true, optional = true }
|
|
hex = { workspace = true }
|
|
indexmap = { workspace = true }
|
|
itertools = { workspace = true }
|
|
is-macro = { workspace = true }
|
|
libc = { workspace = true }
|
|
log = { workspace = true }
|
|
malachite-bigint = { workspace = true }
|
|
num-complex = { workspace = true }
|
|
num-integer = { workspace = true }
|
|
num-traits = { workspace = true }
|
|
num_enum = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
paste = { workspace = true }
|
|
rapidhash = { workspace = true }
|
|
scopeguard = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
static_assertions = { workspace = true }
|
|
strum = { workspace = true }
|
|
strum_macros = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
memchr = { workspace = true }
|
|
|
|
flamer = { workspace = true, optional = true }
|
|
half = { workspace = true }
|
|
psm = { workspace = true }
|
|
optional = { workspace = true }
|
|
result-like = { workspace = true }
|
|
timsort = { workspace = true }
|
|
|
|
## unicode stuff
|
|
icu_casemap = { workspace = true }
|
|
icu_locale = { workspace = true }
|
|
icu_properties = { workspace = true }
|
|
writeable = { workspace = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
exitcode = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
rustyline = { workspace = true }
|
|
which = { workspace = true }
|
|
widestring = { workspace = true }
|
|
|
|
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
|
|
wasm-bindgen = { workspace = true, optional = true }
|
|
|
|
[build-dependencies]
|
|
chrono = { workspace = true }
|
|
glob = { workspace = true }
|
|
itertools = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|