[package]
edition = "2024"
rust-version = "1.93.0"
name = "rustpython-sre_engine"
version = "0.5.0"
authors = [
"Kangzhi Shi <shikangzhi@gmail.com>",
"RustPython Team",
]
build = false
include = [
"LICENSE",
"src/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A low-level implementation of Python's SRE regex engine"
readme = false
keywords = ["regex"]
license = "MIT"
repository = "https://github.com/RustPython/RustPython"
resolver = "2"
[lib]
name = "rustpython_sre_engine"
path = "src/lib.rs"
[dependencies.bitflags]
version = "2.11.0"
[dependencies.num_enum]
version = "0.7"
default-features = false
[dependencies.optional]
version = "0.5"
[dependencies.rustpython-wtf8]
version = "0.5.0"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[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"