mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
## What changed - Move `Provider` and `RetryConfig` into `codex-client`, retaining re-exports from `codex-api`, and switch `codex-model-provider-info` to depend on `codex-client`. - Move feature-state metric emission into `codex-core`, preserving its behavior while removing the `codex-features` dependency on `codex-otel`. - Explicitly enable TLS features for `tonic` in `codex-config` and `reqwest` in `codex-http-client`. - Enable `png`'s `zlib-rs` feature directly in `codex-utils-image` to keep encoded PNG bytes stable when WebSocket dependencies are absent. GitOrigin-RevId: 91fd63ab01b55d516b3e80e3644d06af8d5a01f6
34 lines
903 B
TOML
34 lines
903 B
TOML
[package]
|
|
name = "codex-utils-image"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.cargo-shear]
|
|
# "image" does not forward png's zlib-rs feature. This direct dependency keeps
|
|
# encoded PNG bytes stable when WebSocket dependencies are absent from a build.
|
|
ignored = ["png"]
|
|
|
|
[dependencies]
|
|
base64 = { workspace = true }
|
|
image = { workspace = true, features = ["jpeg", "png", "gif", "webp"] }
|
|
png = { version = "0.18.0", features = ["zlib-rs"] }
|
|
codex-utils-cache = { workspace = true }
|
|
mime_guess = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["fs", "rt", "rt-multi-thread", "macros"] }
|
|
|
|
[dev-dependencies]
|
|
divan = { workspace = true }
|
|
image = { workspace = true, features = ["jpeg", "png", "gif", "webp"] }
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[[bench]]
|
|
name = "prompt_images"
|
|
harness = false
|