chore: move types out of config.rs into config_types.rs (#1054)

`config.rs` is already quite long without these definitions. Since they
have no real dependencies of their own, let's move them to their own
file so `config.rs` can focus on the business logic of loading a config.
This commit is contained in:
Michael Bolin
2025-05-20 11:55:25 -07:00
committed by GitHub
parent d766e845b3
commit 5746561428
7 changed files with 98 additions and 88 deletions

View File

@@ -13,6 +13,7 @@ pub use codex::Codex;
pub mod codex_wrapper;
pub mod config;
pub mod config_profile;
pub mod config_types;
mod conversation_history;
pub mod error;
pub mod exec;
@@ -22,7 +23,6 @@ mod is_safe_command;
#[cfg(target_os = "linux")]
pub mod landlock;
mod mcp_connection_manager;
pub mod mcp_server_config;
mod mcp_tool_call;
mod message_history;
mod model_provider_info;