forked from Keats/tera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
50 lines (45 loc) · 1.5 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "tera"
version = "1.15.0"
authors = ["Vincent Prouillet <hello@prouilletvincent.com>"]
license = "MIT"
readme = "README.md"
description = "Template engine based on Jinja2/Django templates"
homepage = "https://tera.netlify.com/"
repository = "https://github.com/Keats/tera"
keywords = ["template", "html", "django", "markup", "jinja2"]
categories = ["template-engine"]
edition = "2018"
include = ["/src/**/*", "/LICENSE", "/README.md", "/CHANGELOG.md"]
[dependencies]
globwalk = "0.8.1"
serde = "1.0"
serde_json = "1.0.11"
pest = "2.0.2"
pest_derive = "2.0.2"
lazy_static = "1.0"
# used in striptags, spaceless & titles filters. Already pulled by globwalk
regex = "1.0"
# used in truncate filter and string iteration
unic-segment = "0.9"
# used in slugify filter
slug = {version = "0.1.1", optional = true}
# used in urlencode filter
percent-encoding = {version = "2.1", optional = true}
# used in filesizeformat filter
humansize = {version = "1", optional = true}
# used in date format filter
chrono = {version = "0.4.1", optional = true, default-features = false, features = ["std", "clock"]}
chrono-tz = {version = "0.6", optional = true}
# used in get_random function
rand = {version = "0.8", optional = true}
[dev-dependencies]
serde_derive = "1.0"
pretty_assertions = "1"
tempfile = "3"
[features]
default = ["builtins"]
builtins = ["slug", "percent-encoding", "humansize", "chrono", "chrono-tz", "rand"]
preserve_order = ["serde_json/preserve_order"]
[badges]
maintenance = { status = "actively-developed" }