mirror of
https://github.com/openai/codex.git
synced 2026-05-04 21:32:21 +03:00
14 lines
348 B
Rust
14 lines
348 B
Rust
pub mod cache;
|
|
pub mod collaboration_mode_presets;
|
|
pub mod model_presets;
|
|
|
|
/// Convert the client version string to a whole version string.
|
|
pub fn client_version_to_whole() -> String {
|
|
format!(
|
|
"{}.{}.{}",
|
|
env!("CARGO_PKG_VERSION_MAJOR"),
|
|
env!("CARGO_PKG_VERSION_MINOR"),
|
|
env!("CARGO_PKG_VERSION_PATCH")
|
|
)
|
|
}
|