[package]
edition = "2021"
rust-version = "1.94"
name = "ssukka"
version = "0.2.0"
authors = ["Han Damin <miniex@daminstudio.net>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML obfuscation library and CLI for Rust. Renders identically in browsers but is hard for humans to read."
readme = "README.md"
keywords = [
"html",
"obfuscation",
"css",
"javascript",
]
categories = [
"web-programming",
"encoding",
]
license = "MIT"
repository = "https://github.com/miniex/ssukka"
[features]
default = []
wasm = [
"dep:wasm-bindgen",
"dep:getrandom",
"dep:getrandom_03",
]
[lib]
name = "ssukka"
path = "src/lib.rs"
[[bin]]
name = "ssukka"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "obfuscation"
path = "benches/obfuscation.rs"
harness = false
[dependencies.getrandom]
version = "0.4.3"
features = ["wasm_js"]
optional = true
[dependencies.getrandom_03]
version = "0.3.4"
features = ["wasm_js"]
optional = true
package = "getrandom"
[dependencies.lightningcss]
version = "1.0.0-alpha.71"
[dependencies.lol_html]
version = "3.0.0"
[dependencies.oxc]
version = "0.136.0"
features = [
"semantic",
"mangler",
"codegen",
"ast_visit",
"cfg",
]
[dependencies.rand]
version = "0.10.1"
[dependencies.wasm-bindgen]
version = "0.2.125"
optional = true
[dev-dependencies.criterion]
version = "0.8.2"
[lints.clippy]
uninlined_format_args = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"