[package]
edition = "2021"
name = "contextual-encoder"
version = "0.1.0"
authors = ["cyber witchery labs"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "contextual output encoding for xss defense, inspired by the owasp java encoder"
readme = "README.md"
keywords = [
"security",
"xss",
"encoding",
"html",
"owasp",
]
categories = [
"web-programming",
"encoding",
]
license = "MIT"
[lib]
name = "contextual_encoder"
path = "src/lib.rs"
[[example]]
name = "contexts"
path = "examples/contexts.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[lints.rust]
unsafe_code = "forbid"