[package]
edition = "2021"
rust-version = "1.83"
name = "url-normalize"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Normalize a URL — faithful Rust port of sindresorhus/normalize-url"
homepage = "https://github.com/ekroon/url-normalize"
readme = "README.md"
keywords = [
"url",
"normalize",
"normalization",
"sanitize",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/ekroon/url-normalize"
[features]
cli = ["serde_json"]
[lib]
name = "url_normalize"
path = "src/lib.rs"
[[bin]]
name = "normalize_cli"
path = "src/bin/normalize_cli.rs"
required-features = ["cli"]
[[test]]
name = "js_parity_test"
path = "tests/js_parity_test.rs"
[[test]]
name = "normalize_url_tests"
path = "tests/normalize_url_tests.rs"
[dependencies.idna]
version = "1"
[dependencies.serde_json]
version = "1"
optional = true