You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1008 B
TOML

[package]
name = "duster"
version = "0.1.1"
authors = ["Tom Alexander <tom@fizz.buzz>"]
description = "A rust implementation of the dustjs template engine."
edition = "2018"
license = "0BSD"
repository = "https://code.fizz.buzz/talexander/duster"
readme = "README.md"
keywords = ["dust", "dustjs", "templating", "web"]
categories = ["template-engine"]
[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"]
[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 }