# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "rs-url2json"
version = "0.1.0"
build = false
exclude = [
    "url2json",
    "url2json.wasm",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Converts the URL string to a json"
homepage = "https://github.com/takanoriyanagitani/rs-url2json"
documentation = "https://docs.rs/rs-url2json/latest"
readme = "README.md"
keywords = [
    "url",
    "json",
    "wasi",
    "structured",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/takanoriyanagitani/rs-url2json"

[lib]
name = "rs_url2json"
path = "src/lib.rs"

[[bin]]
name = "url2json"
path = "src/bin/url2json.rs"

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

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

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

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

[lints.rust]
unsafe_code = "forbid"

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