# 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.72" name = "handlebars" version = "6.2.0" authors = ["Ning Sun "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Handlebars templating implemented in Rust." homepage = "https://github.com/sunng87/handlebars-rust" documentation = "https://docs.rs/crate/handlebars/" readme = "README.md" keywords = [ "handlebars", "templating", "web", ] categories = [ "template-engine", "web-programming", ] license = "MIT" repository = "https://github.com/sunng87/handlebars-rust" [package.metadata.docs.rs] features = [ "dir_source", "script_helper", "rust-embed", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "handlebars" path = "src/lib.rs" [[bin]] name = "handlebars-cli" path = "src/cli.rs" [[example]] name = "block_helper_macro_let" path = "examples/block_helper_macro_let.rs" [[example]] name = "decorator" path = "examples/decorator.rs" [[example]] name = "dev_mode" path = "examples/dev_mode.rs" [[example]] name = "error" path = "examples/error.rs" [[example]] name = "helper_macro" path = "examples/helper_macro.rs" [[example]] name = "partials" path = "examples/partials.rs" [[example]] name = "quick" path = "examples/quick.rs" [[example]] name = "render" path = "examples/render.rs" [[example]] name = "render_file" path = "examples/render_file.rs" [[example]] name = "script" path = "examples/script.rs" required-features = ["script_helper"] [[test]] name = "block_context" path = "tests/block_context.rs" [[test]] name = "data_helper" path = "tests/data_helper.rs" [[test]] name = "embed" path = "tests/embed.rs" [[test]] name = "escape" path = "tests/escape.rs" [[test]] name = "helper_function_lifetime" path = "tests/helper_function_lifetime.rs" [[test]] name = "helper_macro" path = "tests/helper_macro.rs" [[test]] name = "helper_with_space" path = "tests/helper_with_space.rs" [[test]] name = "root_var" path = "tests/root_var.rs" [[test]] name = "subexpression" path = "tests/subexpression.rs" [[test]] name = "template_names" path = "tests/template_names.rs" [[test]] name = "whitespace" path = "tests/whitespace.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.heck] version = "0.5" optional = true [dependencies.log] version = "0.4.0" [dependencies.num-order] version = "1.2.0" [dependencies.pest] version = "2.1.0" [dependencies.pest_derive] version = "2.1.0" [dependencies.rhai] version = "1.16.1" features = [ "sync", "serde", ] optional = true [dependencies.rust-embed] version = "8.0.0" features = ["include-exclude"] optional = true [dependencies.serde] version = "1.0.0" [dependencies.serde_json] version = "1.0.39" [dependencies.thiserror] version = "1" [dependencies.walkdir] version = "2.2.3" optional = true [dev-dependencies.criterion] version = "0.5" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.serde_derive] version = "1.0.75" [dev-dependencies.tempfile] version = "3.0.0" [dev-dependencies.time] version = "0.3.7" features = [ "serde", "formatting", "parsing", ] [dev-dependencies.tiny_http] version = "0.12" [features] default = [] dir_source = ["walkdir"] no_logging = [] script_helper = ["rhai"] string_helpers = ["heck"] [target."cfg(unix)".dev-dependencies.pprof] version = "0.13" features = [ "flamegraph", "prost-codec", ] [badges.maintenance] status = "actively-developed"