A todo node's key and text were hand-expanded `{field}` strings. They are now Jinja templates rendered through the new hive-template crate (minijinja, an unknown variable is an error), and the controller's save check reads the variables the template uses. The flows document is version 2; a version 1 document reads as version 2 with each `{field}` converted to `{{ field }}`, and the next save writes it.
19 lines
450 B
TOML
19 lines
450 B
TOML
[package]
|
|
name = "swarm-wire"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[features]
|
|
# `ToSchema` on the review classifier's shared types, for swarm-controller,
|
|
# whose HTTP API serves the same shapes the queue carries.
|
|
schema = ["dep:utoipa"]
|
|
|
|
[dependencies]
|
|
hive-template.workspace = true
|
|
hive-types.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
utoipa = { workspace = true, optional = true }
|
|
|
|
[lints]
|
|
workspace = true
|