Base: codex-main originale (prima del fork aKode)
This commit is contained in:
33
codex-rs/utils/image/Cargo.toml
Normal file
33
codex-rs/utils/image/Cargo.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user