rustpython-codegen 0.5.0

Compiler for python code into bytecode for the rustpython VM.
Documentation
# 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 = "2024"
rust-version = "1.93.0"
name = "rustpython-codegen"
version = "0.5.0"
authors = ["RustPython Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiler for python code into bytecode for the rustpython VM."
readme = false
license = "MIT"
repository = "https://github.com/RustPython/RustPython"
resolver = "2"

[features]
default = ["std"]
std = [
    "thiserror/std",
    "itertools/use_std",
]

[lib]
name = "rustpython_codegen"
path = "src/lib.rs"

[dependencies.ahash]
version = "0.8.12"

[dependencies.bitflags]
version = "2.11.0"

[dependencies.indexmap]
version = "2.13.0"
features = ["std"]

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.29"

[dependencies.malachite-bigint]
version = "0.9.1"

[dependencies.memchr]
version = "2.8.0"

[dependencies.num-complex]
version = "0.4.6"

[dependencies.num-traits]
version = "0.2"

[dependencies.ruff_python_ast]
version = "0.15.8"
package = "rustpython-ruff_python_ast"

[dependencies.ruff_text_size]
version = "0.15.8"
package = "rustpython-ruff_text_size"

[dependencies.rustpython-compiler-core]
version = "0.5.0"

[dependencies.rustpython-literal]
version = "0.5.0"

[dependencies.rustpython-wtf8]
version = "0.5.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.unicode_names2]
version = "2.0.0"

[dev-dependencies.insta]
version = "1.46"

[dev-dependencies.ruff_python_parser]
version = "0.15.8"
package = "rustpython-ruff_python_parser"

[lints.clippy]
alloc_instead_of_core = "warn"
complexity = "warn"
correctness = "warn"
perf = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
style = "warn"
suspicious = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
unsafe_code = "allow"
unsafe_op_in_unsafe_fn = "deny"