zola/components/templates/Cargo.toml
Marshall Bowers 93900fb623
Add num_format filter (#1460)
* Add `num_format` filter for displaying formatted numbers

* Register the filter

* Update docs

* Make `locale` argument required

* Revert "Make `locale` argument required"

This reverts commit 9cdbf28591.

* Pull the default locale from the site config

* Add note about defaults to the docs

* Add missing borrow
2021-06-25 10:07:52 +02:00

35 lines
680 B
TOML

[package]
name = "templates"
version = "0.1.0"
authors = ["Vincent Prouillet <prouillet.vincent@gmail.com>"]
edition = "2018"
[dependencies]
tera = "1"
base64 = "0.13"
lazy_static = "1"
toml = "0.5"
csv = "1"
serde = "1"
serde_json = "1"
serde_derive = "1"
sha2 = "0.9"
url = "2"
nom-bibtex = "0.3"
num-format = "0.4"
errors = { path = "../errors" }
utils = { path = "../utils" }
library = { path = "../library" }
config = { path = "../config" }
imageproc = { path = "../imageproc" }
rendering = { path = "../rendering" }
[dependencies.reqwest]
version = "0.11"
default-features = false
features = ["blocking", "rustls-tls"]
[dev-dependencies]
mockito = "0.30"
tempfile = "3"