# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75.0" name = "rustpython" version = "0.4.0" authors = ["RustPython Team"] build = false include = [ "LICENSE", "Cargo.toml", "src/**/*.rs", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A python interpreter written in rust." readme = "README.md" license = "MIT" repository = "https://github.com/RustPython/RustPython" [package.metadata.vcpkg] git = "https://github.com/microsoft/vcpkg" rev = "2024.02.14" [package.metadata.vcpkg.target.x86_64-pc-windows-msvc] dev-dependencies = ["openssl"] triplet = "x64-windows-static-md" [profile.bench] opt-level = 3 lto = "thin" codegen-units = 1 [profile.dev.package."*"] opt-level = 3 [profile.release] lto = "thin" [profile.test] opt-level = 3 [lib] name = "rustpython" path = "src/lib.rs" [[bin]] name = "rustpython" path = "src/main.rs" [dependencies.atty] version = "0.2.14" [dependencies.cfg-if] version = "1.0" [dependencies.clap] version = "2.34" [dependencies.dirs] version = "2.0.0" package = "dirs-next" [dependencies.env_logger] version = "0.9.0" features = [ "atty", "termcolor", ] default-features = false [dependencies.flame] version = "0.2.2" optional = true [dependencies.flamescope] version = "0.1.2" optional = true [dependencies.log] version = "0.4.16" [dependencies.rustpython-compiler] version = "0.4.0" [dependencies.rustpython-parser] version = "0.4.0" [dependencies.rustpython-pylib] version = "0.4.0" optional = true [dependencies.rustpython-stdlib] version = "0.4.0" features = ["compiler"] optional = true default-features = false [dependencies.rustpython-vm] version = "0.4.0" features = ["compiler"] default-features = false [dev-dependencies.criterion] version = "0.3.5" features = ["html_reports"] [dev-dependencies.pyo3] version = "0.20.2" features = ["auto-initialize"] [features] bz2 = [ "stdlib", "rustpython-stdlib/bz2", ] default = [ "threading", "stdlib", "zlib", "importlib", ] encodings = ["rustpython-vm/encodings"] flame-it = [ "rustpython-vm/flame-it", "flame", "flamescope", ] freeze-stdlib = [ "stdlib", "rustpython-vm/freeze-stdlib", "rustpython-pylib?/freeze-stdlib", ] importlib = ["rustpython-vm/importlib"] jit = ["rustpython-vm/jit"] ssl = ["rustpython-stdlib/ssl"] ssl-vendor = [ "ssl", "rustpython-stdlib/ssl-vendor", ] stdlib = [ "rustpython-stdlib", "rustpython-pylib", "encodings", ] threading = [ "rustpython-vm/threading", "rustpython-stdlib/threading", ] zlib = [ "stdlib", "rustpython-stdlib/zlib", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustyline] version = "14.0.0" [target."cfg(windows)".dependencies.libc] version = "0.2.153"