45 lines
1.2 KiB
TOML
Executable File
45 lines
1.2 KiB
TOML
Executable File
[package]
|
|
name = "sailfish"
|
|
version = "0.8.3"
|
|
authors = ["Ryohei Machida <orcinus4627@gmail.com>"]
|
|
description = "Simple, small, and extremely fast template engine for Rust"
|
|
homepage = "https://github.com/rust-sailfish/sailfish"
|
|
repository = "https://github.com/rust-sailfish/sailfish"
|
|
readme = "../README.md"
|
|
keywords = ["markup", "template", "html"]
|
|
categories = ["template-engine"]
|
|
license = "MIT"
|
|
workspace = ".."
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = ["config", "derive", "perf-inline"]
|
|
# enable configuration file (sailfish.toml) support
|
|
config = ["sailfish-macros/config"]
|
|
# automatically import derive macro
|
|
derive = ["sailfish-macros"]
|
|
# enable json filter
|
|
json = ["serde", "serde_json"]
|
|
# add more #[inline] attribute
|
|
perf-inline = []
|
|
|
|
[dependencies]
|
|
array-vec = { git = "https://git.pfaff.dev/michael/array-vec.rs" }
|
|
itoap = "1.0.1"
|
|
ryu = "1.0.13"
|
|
serde = { version = "1.0.159", optional = true }
|
|
serde_json = { version = "1.0.95", optional = true }
|
|
|
|
[dependencies.sailfish-macros]
|
|
path = "../sailfish-macros"
|
|
version = "0.8.3"
|
|
default-features = false
|
|
optional = true
|
|
|
|
[build-dependencies]
|
|
version_check = "0.9.4"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|