1
0
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:
Rob Ede
2022-07-10 03:30:48 +01:00
parent 0f08afee18
commit 8770694e11
13 changed files with 278 additions and 6 deletions

View 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" }