Rocket/contrib/dyn_templates/Cargo.toml

46 lines
1.1 KiB
TOML
Raw Normal View History

[package]
name = "rocket_dyn_templates"
2023-11-03 23:26:07 +00:00
version = "0.1.0"
authors = ["Sergio Benitez <sb@sergio.bz>"]
description = "Dynamic templating engine integration for Rocket."
2023-11-18 10:30:50 +00:00
documentation = "https://api.rocket.rs/master/rocket_dyn_templates/"
homepage = "https://rocket.rs"
repository = "https://github.com/rwf2/Rocket/tree/master/contrib/dyn_templates"
readme = "README.md"
keywords = ["rocket", "framework", "templates", "templating", "engine"]
license = "MIT OR Apache-2.0"
2022-03-19 18:25:24 +00:00
edition = "2021"
rust-version = "1.75"
[lints]
workspace = true
[features]
2024-03-26 02:06:50 +00:00
tera = ["dep:tera"]
handlebars = ["dep:handlebars"]
minijinja = ["dep:minijinja"]
[dependencies]
walkdir = "2.4"
notify = "6"
normpath = "1"
2024-03-26 02:06:50 +00:00
tera = { version = "1.19.0", optional = true }
2024-07-22 07:55:09 +00:00
handlebars = { version = "6.0", optional = true }
2024-05-22 20:03:18 +00:00
[dependencies.minijinja]
version = "2.0.1"
optional = true
features = ["loader", "speedups", "json", "urlencode"]
2024-03-26 02:06:50 +00:00
[dependencies.rocket]
2023-11-18 10:30:50 +00:00
version = "0.6.0-dev"
path = "../../core/lib"
default-features = false
2024-03-26 02:06:50 +00:00
[dev-dependencies]
pretty_assertions = "1.4"
[package.metadata.docs.rs]
all-features = true