[package]
build = "build.rs"
description = "The shepherd render layer: template resolution, deterministic rendering, and the provenance manifest that pins every emitted artifact."
name = "shepherd-render"
authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true
[lib]
bench = false
crate-type = ["rlib"]
[[test]]
name = "default"
required-features = []
[package.metadata.docs.rs]
all-features = false
features = ["full"]
rustc-args = ["--cfg", "docsrs"]
version = "v{{version}}"
[package.metadata.release]
no-dev-version = true
tag-name = "v{{version}}"
[dependencies]
shepherd-core = { workspace = true }
minijinja = { features = [
"builtins",
"macros",
"multi_template",
"serde",
], workspace = true }
sha2 = { workspace = true }
thiserror = { workspace = true }
serde = { optional = true, workspace = true }
serde_json = { optional = true, workspace = true }
tracing = { optional = true, workspace = true }
[features]
default = [
"std",
]
full = [
"default",
"json",
"tracing",
]
json = [
"alloc",
"dep:serde",
"dep:serde_json",
"minijinja/json",
"shepherd-core/json",
]
native = ["full"]
nightly = [
"shepherd-core/nightly",
]
wasi = [
"json",
"std",
]
wasm = [
"json",
"std",
]
alloc = [
"serde?/alloc",
"serde_json?/alloc",
"sha2/alloc",
"shepherd-core/alloc",
]
std = [
"alloc",
"minijinja/std_collections",
"serde?/std",
"serde_json?/std",
"shepherd-core/std",
"thiserror/std",
"tracing?/std",
]
tracing = [
"dep:tracing",
"shepherd-core/tracing",
]
[lints]
workspace = true