sorug 0.1.0

Ultra-high-performance, zero-copy, WHATWG-compliant URL parser
Documentation
# 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"
rust-version = "1.85"
name = "sorug"
version = "0.1.0"
build = "build.rs"
exclude = [
    "memories.md",
    "target/",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-high-performance, zero-copy, WHATWG-compliant URL parser"
homepage = "https://github.com/hocestnonsatis/sorug"
documentation = "https://docs.rs/sorug"
readme = "README.md"
keywords = [
    "url",
    "parser",
    "whatwg",
    "simd",
    "swar",
]
categories = [
    "parser-implementations",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hocestnonsatis/sorug"

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

[[test]]
name = "comprehensive_validation"
path = "tests/comprehensive_validation.rs"

[[test]]
name = "wpt"
path = "tests/wpt.rs"

[[bench]]
name = "url_benchmark"
path = "benches/url_benchmark.rs"
harness = false

[dependencies.memchr]
version = "2.7"
features = ["std"]
default-features = false

[dev-dependencies.ada-url]
version = "4"

[dev-dependencies.criterion]
version = "0.5"

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

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.url]
version = "2.5"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1

[profile.release]
lto = true
codegen-units = 1
panic = "abort"