[package]
edition = "2024"
rust-version = "1.93.0"
name = "rustpython-derive"
version = "0.5.0"
authors = ["RustPython Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust language extensions and macros specific to rustpython."
readme = false
license = "MIT"
repository = "https://github.com/RustPython/RustPython"
resolver = "2"
[lib]
name = "rustpython_derive"
path = "src/lib.rs"
proc-macro = true
[dependencies.rustpython-compiler]
version = "0.5.0"
[dependencies.rustpython-derive-impl]
version = "0.5.0"
[dependencies.syn]
version = "2"
[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"