salvo 0.92.2

Salvo is a powerful web framework that can make your work easier.
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.92"
name = "salvo"
version = "0.92.2"
authors = ["chrislearn <chris@acroidea.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Salvo is a powerful web framework that can make your work easier.
"""
homepage = "https://salvo.rs"
documentation = "https://docs.rs/salvo/"
readme = "README.md"
keywords = [
    "http",
    "async",
    "web",
    "framework",
    "server",
]
categories = [
    "web-programming::http-server",
    "web-programming::websocket",
    "network-programming",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/salvo-rs/salvo"

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

[badges.codecov]
branch = "main"
repository = "salvo-rs/salvo"
service = "github"

[features]
acme = ["salvo-acme"]
affix-state = ["salvo_extra/affix-state"]
anyhow = [
    "salvo_core/anyhow",
    "salvo-oapi?/anyhow",
]
aws-lc-rs = [
    "salvo_core/aws-lc-rs",
    "salvo-proxy?/aws-lc-rs",
]
basic-auth = ["salvo_extra/basic-auth"]
cache = ["dep:salvo-cache"]
caching-headers = ["salvo_extra/caching-headers"]
catch-panic = ["salvo_extra/catch-panic"]
compression = ["dep:salvo-compression"]
concurrency-limiter = ["salvo_extra/concurrency-limiter"]
cookie = ["salvo_core/cookie"]
cors = ["dep:salvo-cors"]
craft = ["dep:salvo-craft"]
csrf = ["dep:salvo-csrf"]
default = [
    "cookie",
    "fix-http1-request-uri",
    "server",
    "server-handle",
    "http1",
    "http2",
    "test",
    "aws-lc-rs",
    "matched-path",
]
eyre = [
    "salvo_core/eyre",
    "salvo-oapi?/eyre",
]
fix-http1-request-uri = ["salvo_core/fix-http1-request-uri"]
flash = ["dep:salvo-flash"]
force-https = ["salvo_extra/force-https"]
full = [
    "cookie",
    "fix-http1-request-uri",
    "server",
    "server-handle",
    "http1",
    "http2",
    "http2-cleartext",
    "quinn",
    "rustls",
    "native-tls",
    "openssl",
    "unix",
    "acme",
    "socket2",
    "tower-compat",
    "anyhow",
    "test",
    "affix-state",
    "basic-auth",
    "craft",
    "force-https",
    "jwt-auth",
    "catch-panic",
    "compression",
    "logging",
    "proxy",
    "concurrency-limiter",
    "rate-limiter",
    "sse",
    "trailing-slash",
    "timeout",
    "websocket",
    "request-id",
    "caching-headers",
    "cache",
    "cors",
    "csrf",
    "flash",
    "session",
    "serve-static",
    "otel",
    "oapi",
    "aws-lc-rs",
    "matched-path",
    "tus",
]
http1 = ["salvo_core/http1"]
http2 = ["salvo_core/http2"]
http2-cleartext = ["salvo_core/http2-cleartext"]
jwt-auth = ["dep:salvo-jwt-auth"]
logging = ["salvo_extra/logging"]
matched-path = ["salvo_core/matched-path"]
native-tls = ["salvo_core/native-tls"]
oapi = ["dep:salvo-oapi"]
openssl = ["salvo_core/openssl"]
otel = ["dep:salvo-otel"]
proxy = ["salvo-proxy"]
quinn = [
    "salvo_core/quinn",
    "salvo-acme?/quinn",
]
rate-limiter = ["dep:salvo-rate-limiter"]
request-id = ["salvo_extra/request-id"]
ring = [
    "salvo_core/ring",
    "salvo-proxy?/ring",
]
rustls = ["salvo_core/rustls"]
serve-static = ["dep:salvo-serve-static"]
server = ["salvo_core/server"]
server-handle = ["salvo_core/server-handle"]
session = ["dep:salvo-session"]
size-limiter = ["salvo_extra/size-limiter"]
socket2 = ["salvo_core/socket2"]
sse = ["salvo_extra/sse"]
test = ["salvo_core/test"]
timeout = ["salvo_extra/timeout"]
tls12 = ["salvo_core/tls12"]
tower-compat = ["salvo_extra/tower-compat"]
trailing-slash = ["salvo_extra/trailing-slash"]
tus = ["dep:salvo-tus"]
unix = ["salvo_core/unix"]
websocket = ["salvo_extra/websocket"]

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

[dependencies.salvo-acme]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-cache]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-compression]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-cors]
version = "0.92.2"
optional = true
default-features = false

[dependencies.salvo-craft]
version = "0.92.2"
optional = true
default-features = false

[dependencies.salvo-csrf]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-flash]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-jwt-auth]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-oapi]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-otel]
version = "0.92.2"
optional = true
default-features = false

[dependencies.salvo-proxy]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-rate-limiter]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-serve-static]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[dependencies.salvo-session]
version = "0.92.2"
optional = true
default-features = false

[dependencies.salvo-tus]
version = "0.92.2"
optional = true
default-features = false

[dependencies.salvo_core]
version = "0.92.2"
default-features = false

[dependencies.salvo_extra]
version = "0.92.2"
features = ["full"]
optional = true
default-features = false

[lints.clippy]
await_holding_lock = "warn"
dbg_macro = "warn"
empty_enums = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
exit = "warn"
filter_map_next = "warn"
fn_params_excessive_bools = "warn"
future_not_send = "warn"
if_let_mutex = "warn"
implicit_clone = "warn"
imprecise_flops = "warn"
inefficient_to_string = "warn"
linkedlist = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_let_else = "warn"
mem_forget = "warn"
must_use_candidate = "warn"
needless_borrow = "warn"
needless_continue = "warn"
needless_pass_by_ref_mut = "warn"
option_option = "warn"
redundant_clone = "warn"
ref_option = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_self_not_must_use = "warn"
single_match_else = "warn"
str_to_string = "warn"
suboptimal_flops = "warn"
todo = "warn"
trivially_copy_pass_by_ref = "warn"
type_complexity = "allow"
uninlined_format_args = "warn"
unnested_or_patterns = "warn"
unused_self = "warn"
unwrap_used = "warn"
use_self = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "deny"
unsafe_code = "forbid"

[lints.rustdoc]
broken_intra_doc_links = "warn"