[package]
name = "rs-url2json"
version = "0.1.0"
edition = "2024"

description = "Converts the URL string to a json"
license = "Apache-2.0"
repository = "https://github.com/takanoriyanagitani/rs-url2json"
homepage = "https://github.com/takanoriyanagitani/rs-url2json"
documentation = "https://docs.rs/rs-url2json/latest"
keywords = ["url", "json", "wasi", "structured"]
categories = ["command-line-utilities"]

exclude = [
	"url2json",
	"url2json.wasm",
]

[lints.rust]
unsafe_code = "forbid"

[lints.clippy]
unwrap_used = "forbid"
expect_used = "forbid"

[[bin]]
name = "url2json"

[profile.release-wasi]
inherits = "release"
lto = true
strip = true
opt-level = 's'
codegen-units = 16

[dependencies.url]
version = "2"
default-features = false
features = [
	"std",
	"serde",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
default-features = false
features = [
	"std",
]
