[package] name = "handbar" version = "0.0.5" authors = ["Bulat Gabdrakhmanov "] description = "Fork of Handlebars." license = "MIT" keywords = ["handbar", "templating"] categories = ["template-engine"] homepage = "https://github.com/semichkin/handbar" repository = "https://github.com/semichkin/handbar" documentation = "https://github.com/semichkin/handbar" readme = "README.md" edition = "2021" [lib] name = "handbar" path = "src/lib.rs" [[bin]] name = "handbar" path = "src/cli.rs" [dependencies] log = { version = "0.4.0" } thiserror = "1" pest = "2.1.0" pest_derive = "2.1.0" serde = "1.0.0" serde_json = "1.0.39" walkdir = { version = "2.2.3", optional = true } rhai = { version = "1.6", optional = true, features = ["sync", "serde"] } rust-embed = { version = "6.3.0", optional = true, features = ["include-exclude"] } [dev-dependencies] env_logger = "0.10" serde_derive = "1.0.75" tempfile = "3.0.0" criterion = "0.4" tiny_http = "0.12" time = { version = "0.3.7", features = ["serde", "formatting", "parsing"]} [target.'cfg(unix)'.dev-dependencies] pprof = { version = "0.11", features = ["flamegraph", "prost-codec"] } [features] dir_source = ["walkdir"] script_helper = ["rhai"] no_logging = [] default = [] [badges] maintenance = { status = "actively-developed" } [package.metadata.docs.rs] features = ["dir_source", "script_helper", "rust-embed"] rustdoc-args = ["--cfg", "docsrs"] [[example]] name = "script" required-features = ["script_helper"]