forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB8dbd683Tahinli3 months ago856 commits

Cargo.toml26 lines, 971 bytesHistoryRawDownload
1[package]
2name = "image"
3description = "Compatibility shim: the image surface edith's engine consumes, served by ec-image."
4version = "0.25.10"
5edition.workspace = true
6license.workspace = true
7authors.workspace = true
8publish = false
9
10[dependencies]
11ec-image = { path = "../../crates/ec-image", version = "0.1.0" }
12
13# The format switches the incumbent gates its decoders behind. Every format this
14# shim serves is compiled unconditionally, so these select nothing -- they exist
15# because a consumer naming a feature the replacement lacks fails to *resolve*,
16# and edith's engine asks for exactly these three.
17[features]
18png = []
19jpeg = []
20webp = []
21
22# The surface that exists only because gpui consumes it: animation frames,
23# their delays, and the per-format decoder types under `image::codecs`. It is
24# not part of decoding a still picture, so a build that draws no windows does
25# not compile it -- the way `chrono` keeps its `serde` impls behind a feature.
26gpui = []