[dependencies.slab]
default-features = false
version = "0.4"
[dependencies.smallvec]
default-features = false
features = ["const_generics", "union"]
version = "1.15"
[dev-dependencies.actix-router]
version = "=0.5.3"
[dev-dependencies.divan]
version = "0.1"
[dev-dependencies.insta]
version = "1.43"
[dev-dependencies.matchit]
version = "=0.8.6"
[dev-dependencies.ntex-router]
version = "=0.5.3"
[dev-dependencies.path-tree]
version = "=0.8.3"
[dev-dependencies.route-recognizer]
version = "=0.3.1"
[dev-dependencies.similar-asserts]
version = "1.7"
[dev-dependencies.xitca-router]
version = "=0.3.0"
[lib]
name = "wayfind"
path = "src/lib.rs"
[lints.clippy]
new_without_default = "allow"
str_to_string = "deny"
too_many_lines = "allow"
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.future-incompatible]
level = "deny"
priority = -1
[lints.rust.keyword-idents]
level = "deny"
priority = -1
[lints.rust.let-underscore]
level = "deny"
priority = -1
[lints.rust.nonstandard-style]
level = "deny"
priority = -1
[lints.rust.refining-impl-trait]
level = "deny"
priority = -1
[lints.rust.rust-2018-compatibility]
level = "deny"
priority = -1
[lints.rust.rust-2018-idioms]
level = "deny"
priority = -1
[lints.rust.rust-2021-compatibility]
level = "deny"
priority = -1
[lints.rust.rust-2024-compatibility]
level = "deny"
priority = -1
[lints.rust.unused]
level = "deny"
priority = -2
[package]
authors = ["Cathal Mullan <contact@cathal.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "web-programming"]
description = "A speedy, flexible router."
edition = "2024"
include = ["/src", "/tests", "/CHANGELOG.md", "/LICENSE-APACHE", "/LICENSE-MIT", "/README.md"]
keywords = ["router", "path"]
license = "MIT OR Apache-2.0"
name = "wayfind"
readme = "README.md"
repository = "https://github.com/DuskSystems/wayfind"
rust-version = "1.85"
version = "0.9.0"
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3
[profile.profiling]
debug = 2
inherits = "release"
[profile.release]
codegen-units = 1
lto = "fat"
[[test]]
name = "delete"
path = "tests/delete.rs"
[[test]]
name = "display"
path = "tests/display.rs"
[[test]]
name = "dynamic"
path = "tests/dynamic.rs"
[[test]]
name = "get"
path = "tests/get.rs"
[[test]]
name = "insert"
path = "tests/insert.rs"
[[test]]
name = "optimize"
path = "tests/optimize.rs"
[[test]]
name = "static"
path = "tests/static.rs"
[[test]]
name = "wildcard"
path = "tests/wildcard.rs"