[package]
edition = "2024"
name = "wafrift-encoding"
version = "0.2.5"
authors = ["Santh Project <contact@santh.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Payload encoding strategies and header obfuscation for WAF evasion."
readme = "README.md"
keywords = [
"waf",
"encoding",
"evasion",
"security",
"pentest",
]
categories = [
"encoding",
"network-programming",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/santhsecurity/wafrift"
resolver = "2"
[lib]
name = "wafrift_encoding"
path = "src/lib.rs"
[[example]]
name = "encoding_basic"
path = "examples/encoding_basic.rs"
[[example]]
name = "layered"
path = "examples/layered.rs"
[[test]]
name = "adversarial"
path = "tests/adversarial.rs"
[[test]]
name = "adversarial_contextual"
path = "tests/adversarial_contextual.rs"
[[test]]
name = "contextual"
path = "tests/contextual.rs"
[[test]]
name = "mutator_determinism"
path = "tests/mutator_determinism.rs"
[[test]]
name = "mutator_idempotence"
path = "tests/mutator_idempotence.rs"
[[test]]
name = "mutator_panic_audit"
path = "tests/mutator_panic_audit.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "url_mutate_audit_fixes"
path = "tests/url_mutate_audit_fixes.rs"
[dependencies.base64]
version = "0.22.1"
[dependencies.flate2]
version = "1"
[dependencies.hex]
version = "0.4.3"
[dependencies.rand]
version = "0.8"
[dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.urlencoding]
version = "2"
[dependencies.wafrift-types]
version = "0.2.5"
[dev-dependencies.proptest]
version = "1.11.0"
[lints.rust]
unsafe_code = "warn"
unused_must_use = "deny"