duster/Cargo.toml

32 lines
1008 B
TOML
Raw Permalink Normal View History

2020-04-05 22:29:19 +00:00
[package]
name = "duster"
version = "0.1.1"
2020-04-05 22:29:19 +00:00
authors = ["Tom Alexander <tom@fizz.buzz>"]
2020-12-29 23:31:44 +00:00
description = "A rust implementation of the dustjs template engine."
2020-04-05 22:29:19 +00:00
edition = "2018"
2020-12-29 23:31:44 +00:00
license = "0BSD"
repository = "https://code.fizz.buzz/talexander/duster"
readme = "README.md"
keywords = ["dust", "dustjs", "templating", "web"]
categories = ["template-engine"]
2020-04-05 22:29:19 +00:00
[features]
default = ["json-integration"]
json-integration = ["serde", "serde_json"]
[lib]
name = "duster"
path = "src/lib.rs"
[[bin]]
name = "duster-cli"
path = "src/bin.rs"
required-features = ["json-integration"]
2020-04-05 22:29:19 +00:00
[dependencies]
nom = "6.1.0"
# The author of nom is too busy to review the PR, and cargo does not allow for git dependencies, so I am going to copy my implementation into this code base so I can use upstream nom so I can push to cargo.
# nom = { git = "https://github.com/tomalexander/nom.git", branch = "take_until_parser_matches" }
serde = { version = "1.0.106", optional = true }
serde_json = { version = "1.0.51", optional = true }