This removes the `codex responses-api-proxy` subcommand in favor of running it as a standalone CLI. As part of this change, we: - remove the dependency on `tokio`/`async/await` as well as `codex_arg0` - introduce the use of `pre_main_hardening()` so `CODEX_SECURE_MODE=1` is not required --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/openai/codex/pull/4404). * #4406 * __->__ #4404 * #4403
28 lines
674 B
TOML
28 lines
674 B
TOML
[package]
|
|
edition = "2024"
|
|
name = "codex-responses-api-proxy"
|
|
version = { workspace = true }
|
|
|
|
[lib]
|
|
name = "codex_responses_api_proxy"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "codex-responses-api-proxy"
|
|
path = "src/main.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
codex-process-hardening = { workspace = true }
|
|
ctor = { workspace = true }
|
|
libc = { workspace = true }
|
|
reqwest = { workspace = true, features = ["blocking", "json", "rustls-tls"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
tiny_http = { workspace = true }
|
|
zeroize = { workspace = true }
|