41 lines
1003 B
TOML
41 lines
1003 B
TOML
[package]
|
|
name = "sailfish"
|
|
version = "0.3.0"
|
|
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
|
|
description = "Really fast, intuitive template engine for Rust"
|
|
homepage = "https://github.com/Kogia-sima/sailfish"
|
|
repository = "https://github.com/Kogia-sima/sailfish"
|
|
readme = "../README.md"
|
|
keywords = ["markup", "template", "html"]
|
|
categories = ["template-engine"]
|
|
license = "MIT"
|
|
workspace = ".."
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = ["derive", "perf-inline"]
|
|
# automatically import derive macro
|
|
derive = ["sailfish-macros"]
|
|
# enable json filter
|
|
json = ["serde", "serde_json"]
|
|
# add more #[inline] attribute
|
|
perf-inline = []
|
|
|
|
[dependencies]
|
|
itoap = "0.1.0"
|
|
ryu = "1.0.4"
|
|
serde = { version = "1.0.111", optional = true }
|
|
serde_json = { version = "1.0.53", optional = true }
|
|
|
|
[dependencies.sailfish-macros]
|
|
path = "../sailfish-macros"
|
|
version = "=0.3.0"
|
|
optional = true
|
|
|
|
[build-dependencies]
|
|
version_check = "0.9.2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|