askama_web 0.16.0

A compatibility add-on for Askama to support many different web frameworks
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.88"
name = "askama_web"
version = "0.16.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A compatibility add-on for Askama to support many different web frameworks"
homepage = "https://askama.readthedocs.io/"
readme = "README.md"
keywords = [
    "markup",
    "template",
    "jinja2",
    "html",
]
categories = ["template-engine"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/askama-rs/askama_web/"

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

[features]
actix-web-4 = [
    "dep:actix_web_4",
    "dep:bytes_1",
]
"axum-0.7" = ["axum-core-0.4"]
"axum-0.8" = ["axum-core-0.5"]
"axum-core-0.4" = [
    "dep:axum_core_0_4",
    "dep:bytes_1",
    "dep:http_1",
]
"axum-core-0.5" = [
    "dep:axum_core_0_5",
    "dep:bytes_1",
    "dep:http_1",
]
"cot-0.3" = ["dep:cot_0_3"]
"cot-0.4" = ["dep:cot_0_4"]
"cot-0.5" = ["dep:cot_0_5"]
"cot-0.6" = ["cot_core-0.6"]
"cot_core-0.6" = [
    "dep:cot_core_0_6",
    "dep:bytes_1",
    "dep:http_1",
]
default = ["derive"]
derive = ["dep:askama_web_derive"]
eprintln = []
"log-0.4" = ["dep:log_0_4"]
poem-3 = [
    "dep:poem_3",
    "dep:bytes_1",
    "dep:http_1",
]
"rocket-0.5" = ["dep:rocket_0_5"]
"tracing-0.1" = ["dep:tracing_0_1"]
"trillium-0.2" = ["dep:trillium_0_2"]
"warp-0.3" = [
    "dep:warp_0_3",
    "dep:bytes_1",
    "dep:http_0_2",
]
"warp-0.4" = [
    "dep:warp_0_4",
    "dep:bytes_1",
    "dep:http_1",
]

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

[dependencies.actix_web_4]
version = "4.0.0"
optional = true
default-features = false
package = "actix-web"

[dependencies.askama]
version = "0.16.0"
features = ["std"]
default-features = false

[dependencies.askama_web_derive]
version = "0.3.0"
optional = true

[dependencies.axum_core_0_4]
version = "0.4.0"
optional = true
default-features = false
package = "axum-core"

[dependencies.axum_core_0_5]
version = "0.5.0"
optional = true
default-features = false
package = "axum-core"

[dependencies.bytes_1]
version = "1.10.1"
optional = true
default-features = false
package = "bytes"

[dependencies.cot_0_3]
version = "0.3.0"
optional = true
default-features = false
package = "cot"

[dependencies.cot_0_4]
version = "0.4.0"
optional = true
default-features = false
package = "cot"

[dependencies.cot_0_5]
version = "0.5.0"
optional = true
default-features = false
package = "cot"

[dependencies.cot_core_0_6]
version = "0.6.0"
optional = true
default-features = false
package = "cot_core"

[dependencies.http_0_2]
version = "0.2.0"
optional = true
default-features = false
package = "http"

[dependencies.http_1]
version = "1.0.0"
optional = true
default-features = false
package = "http"

[dependencies.log_0_4]
version = "0.4.0"
optional = true
default-features = false
package = "log"

[dependencies.poem_3]
version = "3.0.0"
optional = true
default-features = false
package = "poem"

[dependencies.rocket_0_5]
version = "0.5.0"
optional = true
default-features = false
package = "rocket"

[dependencies.tracing_0_1]
version = "0.1.0"
optional = true
default-features = false
package = "tracing"

[dependencies.trillium_0_2]
version = "0.2.0"
optional = true
default-features = false
package = "trillium"

[dependencies.warp_0_3]
version = "0.3.3"
optional = true
default-features = false
package = "warp"

[dependencies.warp_0_4]
version = "0.4.0"
optional = true
default-features = false
package = "warp"

[lints.clippy]
collapsible_match = "warn"
expect_used = "warn"
match_bool = "warn"
match_ref_pats = "warn"
match_same_arms = "warn"
match_single_binding = "warn"
needless_bool = "deny"
needless_late_init = "warn"
needless_match = "warn"
redundant_guards = "warn"
redundant_pattern = "warn"
redundant_pattern_matching = "warn"
single_match = "warn"
single_match_else = "warn"
unwrap_used = "warn"

[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
meta_variable_misuse = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
noop_method_call = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
unused_crate_dependencies = "warn"
warnings = "warn"

[lints.rust.unknown_lints]
level = "allow"
priority = -1

[lints.rust.unsafe_code]
level = "forbid"
priority = -1