| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.72" |
| 15 |
name = "handlebars" |
| 16 |
version = "5.1.2" |
| 17 |
authors = ["Ning Sun <[email protected]>"] |
| 18 |
description = "Handlebars templating implemented in Rust." |
| 19 |
homepage = "https://github.com/sunng87/handlebars-rust" |
| 20 |
documentation = "https://docs.rs/crate/handlebars/" |
| 21 |
readme = "README.md" |
| 22 |
keywords = [ |
| 23 |
"handlebars", |
| 24 |
"templating", |
| 25 |
"web", |
| 26 |
] |
| 27 |
categories = [ |
| 28 |
"template-engine", |
| 29 |
"web-programming", |
| 30 |
] |
| 31 |
license = "MIT" |
| 32 |
repository = "https://github.com/sunng87/handlebars-rust" |
| 33 |
|
| 34 |
[package.metadata.docs.rs] |
| 35 |
features = [ |
| 36 |
"dir_source", |
| 37 |
"script_helper", |
| 38 |
"rust-embed", |
| 39 |
] |
| 40 |
rustdoc-args = [ |
| 41 |
"--cfg", |
| 42 |
"docsrs", |
| 43 |
] |
| 44 |
|
| 45 |
[lib] |
| 46 |
name = "handlebars" |
| 47 |
path = "src/lib.rs" |
| 48 |
|
| 49 |
[[bin]] |
| 50 |
name = "handlebars-cli" |
| 51 |
path = "src/cli.rs" |
| 52 |
|
| 53 |
[[example]] |
| 54 |
name = "script" |
| 55 |
required-features = ["script_helper"] |
| 56 |
|
| 57 |
[[bench]] |
| 58 |
name = "bench" |
| 59 |
harness = false |
| 60 |
|
| 61 |
[dependencies.heck] |
| 62 |
version = "0.5" |
| 63 |
optional = true |
| 64 |
|
| 65 |
[dependencies.log] |
| 66 |
version = "0.4.0" |
| 67 |
|
| 68 |
[dependencies.pest] |
| 69 |
version = "2.1.0" |
| 70 |
|
| 71 |
[dependencies.pest_derive] |
| 72 |
version = "2.1.0" |
| 73 |
|
| 74 |
[dependencies.rhai] |
| 75 |
version = "1.16.1" |
| 76 |
features = [ |
| 77 |
"sync", |
| 78 |
"serde", |
| 79 |
] |
| 80 |
optional = true |
| 81 |
|
| 82 |
[dependencies.rust-embed] |
| 83 |
version = "8.0.0" |
| 84 |
features = ["include-exclude"] |
| 85 |
optional = true |
| 86 |
|
| 87 |
[dependencies.serde] |
| 88 |
version = "1.0.0" |
| 89 |
|
| 90 |
[dependencies.serde_json] |
| 91 |
version = "1.0.39" |
| 92 |
|
| 93 |
[dependencies.thiserror] |
| 94 |
version = "1" |
| 95 |
|
| 96 |
[dependencies.walkdir] |
| 97 |
version = "2.2.3" |
| 98 |
optional = true |
| 99 |
|
| 100 |
[dev-dependencies.criterion] |
| 101 |
version = "0.5" |
| 102 |
|
| 103 |
[dev-dependencies.env_logger] |
| 104 |
version = "0.10" |
| 105 |
|
| 106 |
[dev-dependencies.serde_derive] |
| 107 |
version = "1.0.75" |
| 108 |
|
| 109 |
[dev-dependencies.tempfile] |
| 110 |
version = "3.0.0" |
| 111 |
|
| 112 |
[dev-dependencies.time] |
| 113 |
version = "0.3.7" |
| 114 |
features = [ |
| 115 |
"serde", |
| 116 |
"formatting", |
| 117 |
"parsing", |
| 118 |
] |
| 119 |
|
| 120 |
[dev-dependencies.tiny_http] |
| 121 |
version = "0.12" |
| 122 |
|
| 123 |
[features] |
| 124 |
default = [] |
| 125 |
dir_source = ["walkdir"] |
| 126 |
no_logging = [] |
| 127 |
script_helper = ["rhai"] |
| 128 |
string_helpers = ["heck"] |
| 129 |
|
| 130 |
[target."cfg(unix)".dev-dependencies.pprof] |
| 131 |
version = "0.13" |
| 132 |
features = [ |
| 133 |
"flamegraph", |
| 134 |
"prost-codec", |
| 135 |
] |
| 136 |
|
| 137 |
[badges.maintenance] |
| 138 |
status = "actively-developed" |