[package] name = "nomo" version = "0.0.1" edition = "2024" description = "A templating library" license = "EUPL-1.2" [[bench]] name = "parsing" harness = false [[bench]] name = "asting" harness = false [profile.bench] debug = true [lints.rust] unsafe_code = "forbid" missing_docs = "warn" [dependencies] annotate-snippets = "0.12.13" displaydoc = "0.2.5" document-features = { version = "0.2.12", optional = true } serde_json = { version = "1.0.149", optional = true } thiserror = "2.0.18" winnow = { version = "0.7.14", features = ["unstable-recover"] } [dev-dependencies] annotate-snippets = { version = "0.12.13", features = ["testing-colors"] } criterion = "0.8.2" insta = { version = "1.46.3", features = ["glob", "serde"] } serde = { version = "1.0.228", features = ["derive"] } serde_json = "1.0.149" test_each_file = "0.3.7" nomo = { path = ".", features = ["unstable-pub"] } [profile.dev.package] insta.opt-level = 3 similar.opt-level = 3 [package.metadata.docs.rs] features = ["document-features"] [features] default = ["serde_json"] ## Add support for inserting [`serde_json::Value`]s into [`Context`] objects serde_json = ["dep:serde_json"] ## Get access to the internals of the crate ⚠️ This is a perma-unstable feature ⚠️ unstable-pub = [] document-features = ["dep:document-features"]