Skip to content

Commit

Permalink
Enable date localization feature of tera (#34)
Browse files Browse the repository at this point in the history
* Compile tera with locale aware date function

* Add 'full' feature to enable all optional features
  • Loading branch information
alerque authored Feb 8, 2025
1 parent 9bc1ce5 commit 1cc2cdf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ version = "0.4.0"

[features]
default = []
full = ["fluent", "locale"]
fluent = ["fluent-templates"]
locale = ["tera/date-locale"]
env_logger = []

[dependencies]
Expand Down

0 comments on commit 1cc2cdf

Please sign in to comment.