mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 13:30:59 +00:00

* Update version-incompatible dependencies in examples. * Update version-incompatible dev-dependencies. * Replaced deprecated `criterion::black_box`. * Add `features = "simd"` to `winnow`. This adds a transitive dependency to `memchr`, on which we already depend on directly.
32 lines
1.2 KiB
TOML
32 lines
1.2 KiB
TOML
[package]
|
|
name = "actix-web-app"
|
|
version = "0.14.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
publish = false
|
|
|
|
# This is an example application that uses both askama as template engine,
|
|
# and actix-web as your web-framework.
|
|
[dependencies]
|
|
actix-web = { version = "4.9.0", default-features = false, features = ["macros"] }
|
|
askama = { version = "0.14.0", path = "../../askama" }
|
|
tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] }
|
|
|
|
# serde and strum are used to parse (deserialize) and generate (serialize) information
|
|
# between web requests, e.g. to share the selected display language.
|
|
serde = { version = "1.0.217", features = ["derive"] }
|
|
strum = { version = "0.27.1", features = ["derive"] }
|
|
|
|
# These depenendies are simply used for a better user experience, having access logs in the
|
|
# console, and error messages if anything goes wrong, e.g. if the port is already in use.
|
|
displaydoc = "0.2.5"
|
|
env_logger = "0.11.6"
|
|
log = "0.4.22"
|
|
pretty-error-debug = "0.3.1"
|
|
thiserror = "2.0.11"
|
|
|
|
# In a real application you would not need this section. It is only used in here, so that this
|
|
# example can have a more lenient MSRV (minimum supported rust version) than askama as a whole.
|
|
[workspace]
|
|
members = ["."]
|