[package]
edition = "2021"
rust-version = "1.85"
name = "rusty_expressions"
version = "0.2.1"
authors = ["Remade With Rust / Mata Network"]
build = false
exclude = [
"tools/*",
"docs/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Oniguruma remade in pure Rust: named groups, look-around, backreferences, subexp calls, absent expressions, callouts, per-regex encodings (UTF-8/16/32, Shift_JIS, Big5, EUC-*, GB18030, ISO-8859-*) and Perl/Python/Java/POSIX/GNU/Emacs/grep syntax dialects. Match-equivalent to Oniguruma 6.9.10 and ~3x faster than libonig. no_std + alloc with default-features = false, runs on wasm32, no C toolchain."
homepage = "https://www.mata.network/"
documentation = "https://docs.rs/rusty_expressions"
readme = "README.md"
keywords = [
"regex",
"oniguruma",
"regexp",
"unicode",
"no-std",
]
categories = [
"text-processing",
"no-std",
"encoding",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/Remade-With-Rust/rusty_expressions"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
compat = []
default = ["rusty-alloc"]
expr-count = []
rusty-alloc = ["dep:rusty_alloc-api"]
secure = [
"rusty-alloc",
"rusty_alloc-api/secure",
]
[lib]
name = "rusty_expressions"
path = "src/lib.rs"
[[example]]
name = "readme_examples"
path = "examples/readme_examples.rs"
[[test]]
name = "expressions"
path = "tests/expressions.rs"
[dependencies.rusty_alloc-api]
version = "=1.1.4"
optional = true
[lints.rust]
unsafe_code = "deny"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1