-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
46 lines (37 loc) · 1.47 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
[package]
name = "upon"
version = "0.8.1"
authors = ["Ross MacArthur <ross@macarthur.io>"]
edition = "2021"
rust-version = "1.60"
description = "A simple, powerful template engine with minimal dependencies and configurable delimiters"
readme = "README.md"
repository = "https://github.com/rossmacarthur/upon"
license = "MIT OR Apache-2.0"
keywords = ["template", "jinja2", "liquid", "mustache", "handlebars"]
categories = ["template-engine"]
include = ["src/**/*", "LICENSE-*", "README.md"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
serde = { version = "1.0.137", optional = true }
unicode-ident = { version = "1.0.5", optional = true }
unicode-width = { version = "0.1.9", optional = true }
[dev-dependencies]
serde = { version = "1.0.137", features = ["derive"] }
[features]
default = ["filters", "serde", "unicode"]
# Enables support for filters in templates. This does not affect value
# formatters. Disabling this will improve compile times.
filters = []
# Enables all serde support and pulls in the `serde` crate as a dependency. If
# disabled then you can use `.render_from()` to render templates and construct
# the context using `Value`'s '`From` impls.
serde = ["dep:serde"]
# Allows unicode identifiers in templates and enables improved error
# formatting.
unicode = ["dep:unicode-ident", "dep:unicode-width"]
[workspace]
members = ["benches", "fuzz", "tools/*"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(internal_debug)'] }