[package]
edition = "2024"
name = "wafrift-plugin-api"
version = "0.3.1"
authors = ["Santh Project <security@santh.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Plugin / tamper API — load external tampers from TOML or WebAssembly without rebuilding wafrift."
readme = "README.md"
keywords = [
"waf",
"plugin",
"tamper",
"wasm",
"evasion",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/santhsecurity/wafrift"
resolver = "2"
[lib]
name = "wafrift_plugin_api"
path = "src/lib.rs"
[[test]]
name = "property_and_robustness"
path = "tests/property_and_robustness.rs"
[dependencies.dirs]
version = "6"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.wasmtime]
version = "30"
features = [
"runtime",
"cranelift",
]
default-features = false
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
assertions_on_constants = "allow"
doc_lazy_continuation = "allow"
too_many_arguments = "allow"
[lints.rust]
unsafe_code = "warn"
unused_must_use = "deny"