| 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.70" |
| 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 |
autobenches = false |
| 34 |
|
| 35 |
[package.metadata.docs.rs] |
| 36 |
features = [ |
| 37 |
"dir_source", |
| 38 |
"script_helper", |
| 39 |
"rust-embed", |
| 40 |
] |
| 41 |
rustdoc-args = [ |
| 42 |
"--cfg", |
| 43 |
"docsrs", |
| 44 |
] |
| 45 |
|
| 46 |
[lib] |
| 47 |
name = "handlebars" |
| 48 |
path = "src/lib.rs" |
| 49 |
|
| 50 |
[[bin]] |
| 51 |
name = "handlebars-cli" |
| 52 |
path = "src/cli.rs" |
| 53 |
|
| 54 |
[[example]] |
| 55 |
name = "script" |
| 56 |
required-features = ["script_helper"] |
| 57 |
|
| 58 |
#[[bench]] |
| 59 |
#name = "bench" |
| 60 |
#harness = false |
| 61 |
|
| 62 |
[dependencies.heck] |
| 63 |
version = "0.5" |
| 64 |
optional = true |
| 65 |
|
| 66 |
[dependencies.log] |
| 67 |
version = "0.4.0" |
| 68 |
|
| 69 |
[dependencies.pest] |
| 70 |
version = "2.1.0" |
| 71 |
|
| 72 |
[dependencies.pest_derive] |
| 73 |
version = "2.1.0" |
| 74 |
|
| 75 |
[dependencies.rhai] |
| 76 |
version = "1.16.1" |
| 77 |
features = [ |
| 78 |
"sync", |
| 79 |
"serde", |
| 80 |
] |
| 81 |
optional = true |
| 82 |
|
| 83 |
[dependencies.rust-embed] |
| 84 |
version = "8.0.0" |
| 85 |
features = ["include-exclude"] |
| 86 |
optional = true |
| 87 |
|
| 88 |
[dependencies.serde] |
| 89 |
version = "1.0.0" |
| 90 |
|
| 91 |
[dependencies.serde_json] |
| 92 |
version = "1.0.39" |
| 93 |
|
| 94 |
[dependencies.thiserror] |
| 95 |
version = "1" |
| 96 |
|
| 97 |
[dependencies.walkdir] |
| 98 |
version = "2.2.3" |
| 99 |
optional = true |
| 100 |
|
| 101 |
[dev-dependencies.criterion] |
| 102 |
version = "0.5" |
| 103 |
|
| 104 |
[dev-dependencies.env_logger] |
| 105 |
version = "0.10" |
| 106 |
|
| 107 |
[dev-dependencies.serde_derive] |
| 108 |
version = "1.0.75" |
| 109 |
|
| 110 |
[dev-dependencies.tempfile] |
| 111 |
version = "3.0.0" |
| 112 |
|
| 113 |
[dev-dependencies.time] |
| 114 |
version = "0.3.7" |
| 115 |
features = [ |
| 116 |
"serde", |
| 117 |
"formatting", |
| 118 |
"parsing", |
| 119 |
] |
| 120 |
|
| 121 |
[dev-dependencies.tiny_http] |
| 122 |
version = "0.12" |
| 123 |
|
| 124 |
[features] |
| 125 |
default = [] |
| 126 |
dir_source = ["walkdir"] |
| 127 |
no_logging = [] |
| 128 |
script_helper = ["rhai"] |
| 129 |
string_helpers = ["heck"] |
| 130 |
|
| 131 |
#[target."cfg(unix)".dev-dependencies.pprof] |
| 132 |
#version = "0.13" |
| 133 |
#features = [ |
| 134 |
# "flamegraph", |
| 135 |
# "prost-codec", |
| 136 |
#] |
| 137 |
|
| 138 |
[badges.maintenance] |
| 139 |
status = "actively-developed" |