web-net 0.9.0

Web layer on serve-net: URL normalization, sites and base paths, a compiled router with 404 and 405, gate checkpoints for authentication and authorization, hooks, error pages, and a render trait that reads typed views.
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 = "web-net"
version = "0.9.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
exclude = ["fuzz/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web layer on serve-net: URL normalization, sites and base paths, a compiled router with 404 and 405, gate checkpoints for authentication and authorization, hooks, error pages, and a render trait that reads typed views."
homepage = "https://github.com/jamesgober/web-net"
documentation = "https://docs.rs/web-net"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "router",
    "http",
    "server",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/web-net"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
uploads = ["form-net/fs"]

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

[[example]]
name = "hello"
path = "examples/hello.rs"

[[example]]
name = "site"
path = "examples/site.rs"
required-features = ["uploads"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.compress-lib]
version = "0.9"
default-features = false

[dependencies.cookie-net]
version = "0.7.1"
features = ["std"]
default-features = false

[dependencies.csrf-sec]
version = "0.9.3"
features = ["std"]
default-features = false

[dependencies.form-net]
version = "0.9"
features = ["std"]
default-features = false

[dependencies.parse-net]
version = "0.9.2"
features = ["std"]
default-features = false

[dependencies.serve-net]
version = "0.7.1"
features = ["http1"]
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.luminess]
version = "0.7"

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

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"