# 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 = "2021" name = "axum-template" version = "2.4.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Layers, extractors and template engine wrappers for axum based Web MVC applications" homepage = "https://github.com/Altair-Bueno/axum-template" readme = "README.md" keywords = [ "axum", "minijinja", "tera", "handlebars", "mvc", ] categories = [ "template-engine", "web-programming", ] license = "MIT" repository = "https://github.com/Altair-Bueno/axum-template" [package.metadata.docs.rs] all-features = true [lib] name = "axum_template" path = "src/lib.rs" [[example]] name = "custom_engine" path = "examples/custom_engine.rs" [[example]] name = "custom_key" path = "examples/custom_key.rs" required-features = ["tera"] [[example]] name = "dynamic_template" path = "examples/dynamic_template.rs" required-features = ["handlebars"] [[example]] name = "handlebars" path = "examples/handlebars.rs" required-features = ["handlebars"] [[example]] name = "minijinja" path = "examples/minijinja.rs" required-features = ["minijinja"] [[example]] name = "minijinja-autoreload" path = "examples/minijinja-autoreload.rs" required-features = [ "minijinja-autoreload", "minijinja-autoreload/watch-fs", "minijinja", "minijinja/loader", ] [[example]] name = "nested" path = "examples/nested.rs" required-features = ["handlebars"] [[example]] name = "tera" path = "examples/tera.rs" required-features = ["tera"] [[test]] name = "engine" path = "tests/engine.rs" [[test]] name = "error" path = "tests/error.rs" [[test]] name = "key" path = "tests/key.rs" [[test]] name = "render" path = "tests/render.rs" [dependencies.axum] version = "0.7.1" features = ["matched-path"] default-features = false [dependencies.handlebars] version = "6.0.0" optional = true default-features = false [dependencies.minijinja] version = "2.0.1" optional = true default-features = false [dependencies.minijinja-autoreload] version = "2.0.1" optional = true default-features = false [dependencies.serde] version = "1" [dependencies.tera] version = "1.19.0" optional = true default-features = false [dependencies.thiserror] version = "1" [dev-dependencies.anyhow] version = "1.0.61" [dev-dependencies.axum] version = "0.7.1" features = [ "macros", "tokio", ] [dev-dependencies.hyper] version = "1.0.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.speculoos] version = "0.11.0" [dev-dependencies.tokio] version = "1.22.0" features = ["full"] [dev-dependencies.tower] version = "0.4.13" features = ["full"] [dev-dependencies.tower-http] version = "0.5.0" features = ["full"]