bubble-bath

Crates.iobubble-bath
lib.rsbubble-bath
version
sourcesrc
created_at2023-11-16 11:44:18.156252
updated_at2024-11-07 09:21:49.695895
descriptionSmall and quick HTML sanitizer
homepage
repositoryhttps://github.com/aumetra/bubble-bath
max_upload_size
id1037529
Cargo.toml error:TOML parse error at line 25, column 1 | 25 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Aumetra Weisman (aumetra)

documentation

README

bubble-bath

Small and quick HTML sanitizer

Usage

Add bubble-bath to your dependencies:

cargo add bubble-bath

Use the library:

let unsanitized = r#"<script>alert('XSS!')</script>"#;
let clean = bubble_bath::clean(unsanitized);

License

bubble-bath is either licensed under the Apache-2.0 or MIT license, at your choosing.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

Commit count: 47

cargo fmt