()
| 1700 | |
| 1701 | #[must_use] |
| 1702 | pub fn default_profiles() -> &'static [ProviderTypeProfile] { |
| 1703 | DEFAULT_PROFILES |
| 1704 | .get_or_init(|| { |
| 1705 | parse_profile_catalog_yamls(BUILT_IN_PROFILE_YAMLS) |
| 1706 | .expect("built-in provider profiles must be valid YAML") |
| 1707 | }) |
| 1708 | .as_slice() |
| 1709 | } |
| 1710 | |
| 1711 | #[must_use] |
| 1712 | pub fn get_default_profile(id: &str) -> Option<&'static ProviderTypeProfile> { |