René Kijewski 75dd2c92f3 Update dependencies
* 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.
2025-05-18 23:06:41 +02:00

32 lines
1.2 KiB
TOML

[package]
name = "salvo-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 salvo as your web-framework.
[dependencies]
askama = { version = "0.14.0", path = "../../askama" }
salvo = { version = "0.78.0", default-features = false, features = ["http1", "logging", "server"] }
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"
pretty-error-debug = "0.3.1"
thiserror = "2.0.11"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
# 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 = ["."]