forge
Explore
Log in

Don't you dare go Hollow

shim(image): declare the no-op format features a consumer names

Browse files at this commit

0eae21c169fcb06dbf906d5a5e985957d5ff6263Ahmet Kaan GümüşParent: 17d3de1
shims/image/Cargo.tomlmodified+9 -0
@@ -9,3 +9,12 @@ publish = false
9 9
10 [dependencies]10 [dependencies]
11 ec-image = { path = "../../crates/ec-image", version = "0.1.0" }11 ec-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]
18+png = []
19+jpeg = []
20+webp = []