0.1.0
This commit is contained in:
70
migration/khadhroony-bot2-reference/kb_config/src/lib.rs
Normal file
70
migration/khadhroony-bot2-reference/kb_config/src/lib.rs
Normal file
@@ -0,0 +1,70 @@
|
||||
// file: kb_config/src/lib.rs
|
||||
// version: 2
|
||||
|
||||
//! Workspace configuration contract and loading helpers.
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
mod settings;
|
||||
|
||||
/// Exposes the account listener configuration type.
|
||||
pub use crate::settings::AccountListenerConfig;
|
||||
/// Exposes the root application configuration type.
|
||||
pub use crate::settings::AppConfig;
|
||||
/// Exposes the application section configuration type.
|
||||
pub use crate::settings::AppSectionConfig;
|
||||
/// Exposes the local data configuration type.
|
||||
pub use crate::settings::DataConfig;
|
||||
/// Exposes the database configuration type.
|
||||
pub use crate::settings::DatabaseConfig;
|
||||
/// Exposes the demo application configuration type.
|
||||
pub use crate::settings::DemoConfig;
|
||||
/// Exposes the endpoint role configuration type.
|
||||
pub use crate::settings::EndpointRoleConfig;
|
||||
/// Exposes the execution configuration type.
|
||||
pub use crate::settings::ExecutionConfig;
|
||||
/// Exposes the HTTP endpoint configuration type.
|
||||
pub use crate::settings::HttpEndpointConfig;
|
||||
/// Exposes the listener configuration type.
|
||||
pub use crate::settings::ListenerConfig;
|
||||
/// Exposes the log listener configuration type.
|
||||
pub use crate::settings::LogListenerConfig;
|
||||
/// Exposes the logging target configuration type.
|
||||
pub use crate::settings::LogTargetConfig;
|
||||
/// Exposes the logging target filter configuration type.
|
||||
pub use crate::settings::LogTargetFilterConfig;
|
||||
/// Exposes the logging configuration type.
|
||||
pub use crate::settings::LoggingConfig;
|
||||
/// Exposes the PostgreSQL configuration type.
|
||||
pub use crate::settings::PostgresConfig;
|
||||
/// Exposes the profile configuration type.
|
||||
pub use crate::settings::ProfileConfig;
|
||||
/// Exposes the program listener configuration type.
|
||||
pub use crate::settings::ProgramListenerConfig;
|
||||
/// Exposes the Solana configuration type.
|
||||
pub use crate::settings::SolanaConfig;
|
||||
/// Exposes the SQLite configuration type.
|
||||
pub use crate::settings::SqliteConfig;
|
||||
/// Exposes the wallet configuration type.
|
||||
pub use crate::settings::WalletConfig;
|
||||
/// Exposes the WebSocket endpoint configuration type.
|
||||
pub use crate::settings::WsEndpointConfig;
|
||||
/// Exposes the active profile resolver.
|
||||
pub use crate::settings::active_profile;
|
||||
/// Exposes the embedded JSON Schema text.
|
||||
pub use crate::settings::config_json_schema_text;
|
||||
/// Exposes the embedded JSON Schema value parser.
|
||||
pub use crate::settings::config_json_schema_value;
|
||||
/// Exposes the configuration parser from a JSON string.
|
||||
pub use crate::settings::parse_config_json;
|
||||
/// Exposes the configuration loader from a filesystem path.
|
||||
pub use crate::settings::read_config_json_file;
|
||||
/// Exposes the compact JSON serializer for configuration values.
|
||||
pub use crate::settings::serialize_config_json;
|
||||
/// Exposes the pretty JSON serializer for configuration values.
|
||||
pub use crate::settings::serialize_config_json_pretty;
|
||||
/// Exposes the typed configuration validator.
|
||||
pub use crate::settings::validate_config;
|
||||
/// Exposes the JSON Schema validator for raw JSON configuration.
|
||||
pub use crate::settings::validate_config_json_schema;
|
||||
1530
migration/khadhroony-bot2-reference/kb_config/src/settings.rs
Normal file
1530
migration/khadhroony-bot2-reference/kb_config/src/settings.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user