pub fn package_directives(
package: &Package,
) -> Result<Vec<ConfigDirective>, RippyError>Expand description
Parse a package’s TOML into config directives.
For built-ins, parses the embedded TOML. For custom packages with
extends = "<builtin>", first generates the base package’s directives,
then appends the custom package’s directives (last-match-wins lets custom
rules override base rules).
§Errors
Returns RippyError::Config if the TOML is malformed, or
RippyError::Setup if extends references an unknown or non-built-in
package.