temple-dsl 0.3.0

A small, fast Rust DSL for shaping data — input in, strongly-typed Rust value out.
Documentation
1
2
3
4
5
6
7
8
9
# array-output — the top-level output is an array
#
# Output shape is static — Temple has no loops, so an array template
# produces a fixed number of elements.
[
  {{ input.point.x }},
  {{ input.point.y }},
  {{ input.point?.z ?? 0 }}
]