shim(image): declare the no-op format features a consumer names
Browse files at this commit0eae21c169fcb06dbf906d5a5e985957d5ff6263Parent: 17d3de11 changed file +9 -0
- shims/image/Cargo.toml +9 -0
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 = [] | ||