Skip to main content

spec_kdl

Function spec_kdl 

Source
pub fn spec_kdl(props: &[PropMeta]) -> String
Expand description

The spec config block for these settings, as KDL.

Ends with a newline, so it can be appended to an emitted spec as-is. Props are written in registry order, which for a derived registry is declaration order.