mirror of
https://github.com/openai/codex.git
synced 2026-05-01 09:56:37 +00:00
refactor: trim wasm blockers from shared api dependencies
Compile websocket-only exports out of codex-api on wasm and stop enabling Tokio net there by default. Also cut the Tokio process dependency out of wasm builds of codex-git-utils by gating the async git-info module, move codex-utils-image's Tokio dependency to tests, and enable uuid's js RNG feature for wasm in codex-protocol. Native cargo checks passed for codex-api, codex-git-utils, and codex-protocol after the refactor.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
pub mod compact;
|
||||
pub mod memories;
|
||||
pub mod models;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub mod realtime_websocket;
|
||||
pub mod responses;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub mod responses_websocket;
|
||||
mod session;
|
||||
|
||||
Reference in New Issue
Block a user