summaryrefslogtreecommitdiffstats
path: root/third_party/rust/askama/Cargo.toml
blob: 15129d2dd260c776a41d3f4c9c1f1bfb3eaf8e57 (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.58"
name = "askama"
version = "0.12.0"
description = "Type-safe, compiled Jinja-like templates for Rust"
homepage = "https://github.com/djc/askama"
documentation = "https://docs.rs/askama"
readme = "README.md"
keywords = [
    "markup",
    "template",
    "jinja2",
    "html",
]
categories = ["template-engine"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/djc/askama"
resolver = "1"

[package.metadata.docs.rs]
features = [
    "config",
    "humansize",
    "num-traits",
    "serde-json",
    "serde-yaml",
]

[dependencies.askama_derive]
version = "0.12.0"

[dependencies.askama_escape]
version = "0.10.3"

[dependencies.comrak]
version = "0.16"
optional = true
default-features = false

[dependencies.dep_humansize]
version = "2"
optional = true
package = "humansize"

[dependencies.dep_num_traits]
version = "0.2.6"
optional = true
package = "num-traits"

[dependencies.percent-encoding]
version = "2.1.0"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.serde_yaml]
version = "0.9"
optional = true

[features]
config = ["askama_derive/config"]
default = [
    "config",
    "humansize",
    "num-traits",
    "urlencode",
]
humansize = [
    "askama_derive/humansize",
    "dep_humansize",
]
markdown = [
    "askama_derive/markdown",
    "comrak",
]
mime = []
mime_guess = []
num-traits = [
    "askama_derive/num-traits",
    "dep_num_traits",
]
serde-json = [
    "askama_derive/serde-json",
    "askama_escape/json",
    "serde",
    "serde_json",
]
serde-yaml = [
    "askama_derive/serde-yaml",
    "serde",
    "serde_yaml",
]
urlencode = [
    "askama_derive/urlencode",
    "percent-encoding",
]
with-actix-web = ["askama_derive/with-actix-web"]
with-axum = ["askama_derive/with-axum"]
with-gotham = ["askama_derive/with-gotham"]
with-hyper = ["askama_derive/with-hyper"]
with-mendes = ["askama_derive/with-mendes"]
with-rocket = ["askama_derive/with-rocket"]
with-tide = ["askama_derive/with-tide"]
with-warp = ["askama_derive/with-warp"]

[badges.maintenance]
status = "actively-developed"