mod generated {
#![allow(clippy::all, clippy::pedantic, clippy::nursery)]
include!(concat!(env!("OUT_DIR"), "/two_generated.rs"));
pub use super::subdivision::Subdivision;
}
mod subdivision;
pub use generated::{ALL_SUBDIVISIONS, Category, SUBDIVISION_COUNT};
pub use subdivision::Subdivision;
pub(crate) use generated::{SUBDIVISION_BY_CODE, subdivisions_of_generated};
#[cfg(feature = "serde")]
pub(crate) fn category_from_known_str(raw: &str) -> Option<Category> {
generated::category_from_known_str_generated(raw)
}
use crate::one::Alpha2;
#[must_use]
pub fn subdivisions_of(country: Alpha2) -> &'static [Subdivision] {
subdivisions_of_generated(country)
}