wayfind 1.0.2

A speedy, flexible router.
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 = "wayfind"
version = "1.0.2"
build = false
include = [
    "/src",
    "/tests",
    "/CHANGELOG.md",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A speedy, flexible router."
readme = "README.md"
keywords = ["router"]
categories = [
    "network-programming",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DuskSystems/wayfind"

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

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

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

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

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

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

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

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

[dependencies.memchr]
version = "2.8"
features = ["alloc"]
default-features = false

[dev-dependencies.actix-router]
version = "=0.5.4"
default-features = false

[dev-dependencies.divan]
version = "4.7"
default-features = false
package = "codspeed-divan-compat"

[dev-dependencies.insta]
version = "1.47"
default-features = false

[dev-dependencies.matchit]
version = "=0.9.1"
default-features = false

[dev-dependencies.ntex-router]
version = "=1.0.0"
default-features = false

[dev-dependencies.path-tree]
version = "=0.8.3"
default-features = false

[dev-dependencies.route-recognizer]
version = "=0.3.1"
default-features = false

[dev-dependencies.similar-asserts]
version = "2.0"
default-features = false

[dev-dependencies.xitca-router]
version = "=0.4.1"
default-features = false

[lints.clippy]
alloc_instead_of_core = "deny"
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
byte_char_slices = "allow"
cfg_not_test = "deny"
clone_on_ref_ptr = "deny"
create_dir = "deny"
dbg_macro = "deny"
deref_by_slicing = "deny"
doc_include_without_cfg = "deny"
doc_paragraphs_missing_punctuation = "deny"
empty_drop = "deny"
empty_enum_variants_with_brackets = "deny"
empty_structs_with_brackets = "deny"
error_impl_error = "deny"
exit = "deny"
expect_used = "deny"
fn_to_numeric_cast_any = "deny"
get_unwrap = "deny"
impl_trait_in_params = "deny"
inline_always = "allow"
iter_over_hash_type = "deny"
large_include_file = "deny"
let_underscore_must_use = "deny"
lossy_float_literal = "deny"
map_err_ignore = "deny"
mem_forget = "deny"
missing_assert_message = "deny"
missing_asserts_for_indexing = "deny"
mod_module_files = "deny"
multiple_crate_versions = "allow"
new_without_default = "allow"
non_zero_suggestions = "deny"
option_if_let_else = "allow"
panic = "deny"
panic_in_result_fn = "deny"
print_stderr = "deny"
print_stdout = "deny"
pub_without_shorthand = "deny"
rc_buffer = "deny"
rc_mutex = "deny"
redundant_pub_crate = "allow"
redundant_test_prefix = "deny"
redundant_type_annotations = "deny"
ref_patterns = "deny"
renamed_function_params = "deny"
rest_pat_in_fully_bound_structs = "deny"
return_and_then = "deny"
same_name_method = "deny"
semicolon_outside_block = "deny"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
str_to_string = "deny"
string_add = "deny"
string_lit_chars_any = "deny"
todo = "deny"
too_many_lines = "allow"
try_err = "deny"
unimplemented = "deny"
unnecessary_self_imports = "deny"
unreachable = "deny"
unseparated_literal_suffix = "deny"
unused_result_ok = "deny"
unused_trait_names = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"

[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]
missing_docs = "deny"
trivial_numeric_casts = "deny"
unnameable_types = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"
unused_import_braces = "deny"
unused_lifetimes = "deny"
unused_qualifications = "deny"

[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

[lints.rustdoc.all]
level = "deny"
priority = -1