[package] name = "dysql-tpl" version = "2.0.0" authors = ["Evan Zhang "] license = "GPL-3.0" edition = "2018" description = "Experimental Mustache-like templating engine." repository = "https://github.com/evanzp0/dysql-project" documentation = "https://docs.rs/dysql-tpl" readme = "../README.md" [dependencies] arrayvec = "0.7.2" beef = "0.5.2" fnv = "1.0" pulldown-cmark = { version = "0.9", default_features = false, optional = true } # dysql-tpl-derive = { path = "../dysql-tpl-derive", optional = true } dysql-tpl-derive = { version = "2", optional = true } logos = "0.13.0" chrono = { version = "0.4", features = ["serde"], optional = false } uuid = { version = "1.5", features = ["serde"], optional = false } bincode = "1.3" serde = { version = "1", features = ["derive"] } paste = "1.0" postgres-types = { version = "0.2.6", features = ["with-uuid-1", "with-chrono-0_4"], optional = true } bytes = { version = "1.0", optional = true } [dev-dependencies] pretty_assertions = "1.4" [features] default = ["export_derive", "pulldown-cmark"] postgres = ["dep:bytes", "postgres-types"] # Re-exports the `Context` derive macro, so that end user only needs to # import this crate and `use ramhorns::Context` to get both the trait and # derive proc macro. export_derive = ["dysql-tpl-derive"]