2020-06-04 16:39:33 -04:00
|
|
|
[package]
|
|
|
|
name = "sailfish"
|
2023-10-22 05:01:13 -04:00
|
|
|
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]
|
2023-06-21 03:01:43 -04:00
|
|
|
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
|
2020-11-29 07:34:28 -05:00
|
|
|
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]
|
2024-03-15 18:05:31 -04:00
|
|
|
array-vec = { git = "https://git.pfaff.dev/michael/array-vec.rs" }
|
2021-02-18 11:53:09 -05:00
|
|
|
itoap = "1.0.1"
|
2023-04-12 10:02:05 -04:00
|
|
|
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
|
|
|
|
2020-11-29 07:34:28 -05:00
|
|
|
[dependencies.sailfish-macros]
|
|
|
|
path = "../sailfish-macros"
|
2023-10-22 05:01:13 -04:00
|
|
|
version = "0.8.3"
|
2023-06-21 03:01:43 -04:00
|
|
|
default-features = false
|
2020-11-29 07:34:28 -05:00
|
|
|
optional = true
|
|
|
|
|
2020-06-18 03:32:07 -04:00
|
|
|
[build-dependencies]
|
2023-04-12 10:02:05 -04:00
|
|
|
version_check = "0.9.4"
|
2020-12-17 03:06:34 -05:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|