mirror of
https://github.com/actix/examples
synced 2025-06-27 01:27:43 +02:00
add fluent templates example
This commit is contained in:
16
templating/fluent/Cargo.toml
Normal file
16
templating/fluent/Cargo.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "templating-fluent"
|
||||
version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4"
|
||||
actix-web-lab = "0.16"
|
||||
fluent-templates = { version = "0.7", features = ["handlebars"] }
|
||||
handlebars = { version = "4.3", features = ["dir_source"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
[patch.crates-io]
|
||||
fluent-templates = { git = "https://github.com/robjtede/fluent-templates.git", branch = "fix-circ-dep" }
|
||||
fluent-template-macros = { git = "https://github.com/robjtede/fluent-templates.git", branch = "fix-circ-dep" }
|
Reference in New Issue
Block a user