Expand description
The dog_config attribute, and nothing else.
A dog publishes a JSON Schema for its config so shep can render a
settings pane. A credential field needs marking, shown as <set> rather
than its value, and a field with one value per dog needs marking as
dog-wide. schemars can mark either by hand with an extend("x-shep-...")
key, a string an author can misspell silently. This attribute writes it,
and turns a misspelled option into a compile error.
Depend on shep-client, not this crate: it re-exports the attribute.
Attribute Macros§
- dog_
config - Marks which of a dog’s config fields are credentials, or hold one value
per dog, so the author never types the
schemarsextension key.