use DeserializeOwned;
pub use Config;
pub use ConfigError;
pub use *;
pub use config;
/// Trait for configuration section types.
///
/// Types implementing this trait can be used with `Config::get()` to extract
/// and deserialize specific sections from the configuration table.
///
/// # Example
///
/// ```ignore
/// use axum_config::config;
/// use serde::Deserialize;
///
/// #[config(key = "database")]
/// #[derive(Debug, Clone, Deserialize)]
/// pub struct DatabaseConfig {
/// pub host: String,
/// pub port: u16,
/// }
/// ```