[package] name = "sailfish" version = "0.9.0" authors = ["Ryohei Machida "] 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] 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.9.0" default-features = false optional = true [build-dependencies] version_check = "0.9.4" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]