Function attrs

Source
pub fn attrs() -> Attrs
Expand description

Return a complete, merged snapshot of the effective configuration (only keys marked with @meta(CONFIG = ...)).

Resolution per key:

  1. First explicit value found in layers (TestOverride → Runtime → Env → File).
  2. Otherwise, the key’s default (if any).

Notes:

  • This materializes defaults into the returned Attrs for all CONFIG-marked keys, so it’s self-contained.
  • Keys without CONFIG meta are excluded.