2025-03-17 21:32:27 +01:00

32 lines
1.2 KiB
TOML

[package]
name = "actix-web-app"
version = "0.13.0-pre.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.13.0-pre.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.26.3", 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 = ["."]