sailfish/sailfish/Cargo.toml

45 lines
1.2 KiB
TOML
Raw Permalink Normal View History

2020-06-04 16:39:33 -04:00
[package]
name = "sailfish"
version = "0.8.3"
2020-06-04 16:39:33 -04:00
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
2021-04-06 07:46:46 -04:00
description = "Simple, small, and extremely fast template engine for Rust"
2022-02-19 00:47:00 -05:00
homepage = "https://github.com/rust-sailfish/sailfish"
repository = "https://github.com/rust-sailfish/sailfish"
2020-06-04 16:39:33 -04:00
readme = "../README.md"
keywords = ["markup", "template", "html"]
categories = ["template-engine"]
license = "MIT"
workspace = ".."
edition = "2018"
2020-06-18 04:27:39 -04:00
[features]
default = ["config", "derive", "perf-inline"]
# enable configuration file (sailfish.toml) support
config = ["sailfish-macros/config"]
2020-12-18 05:45:46 -05:00
# automatically import derive macro
derive = ["sailfish-macros"]
2020-12-18 05:45:46 -05:00
# enable json filter
2020-12-17 04:00:05 -05:00
json = ["serde", "serde_json"]
2020-12-18 05:45:46 -05:00
# add more #[inline] attribute
2020-06-18 04:27:39 -04:00
perf-inline = []
2020-06-04 16:39:33 -04:00
[dependencies]
array-vec = { git = "https://git.pfaff.dev/michael/array-vec.rs" }
2021-02-18 11:53:09 -05:00
itoap = "1.0.1"
ryu = "1.0.13"
serde = { version = "1.0.159", optional = true }
serde_json = { version = "1.0.95", optional = true }
2020-06-18 03:32:07 -04:00
[dependencies.sailfish-macros]
path = "../sailfish-macros"
version = "0.8.3"
default-features = false
optional = true
2020-06-18 03:32:07 -04:00
[build-dependencies]
version_check = "0.9.4"
2020-12-17 03:06:34 -05:00
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]