Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make sure image is also imported when importing an image format
  • Loading branch information
JAicewizard committed Oct 16, 2020
commit 48ac17d3fb917e035fafe59774a84d5c1fd2b996
28 changes: 14 additions & 14 deletions piet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ samples = ["pico-args", "png", "os_info"]

# passing on all the image features. AVIF is not supported because it does not
# support decoding, and thats al we use `Image` for.
image_png = ["image/png"]
jpeg = ["image/jpeg"]
jpeg_rayon = ["image/jpeg_rayon"]
gif = ["image/gif"]
bmp = ["image/bmp"]
ico = ["image/ico"]
tiff = ["image/tiff"]
webp = ["image/webp"]
pnm = ["image/pnm"]
dds = ["image/dds"]
tga = ["image/tga"]
farbfeld = ["image/farbfeld"]
dxt = ["image/dxt"]
hdr = ["image/hdr"]
image_png = ["image/png", image]
jpeg = ["image/jpeg", image]
jpeg_rayon = ["image/jpeg_rayon", image]
gif = ["image/gif", image]
bmp = ["image/bmp", image]
ico = ["image/ico", image]
tiff = ["image/tiff", image]
webp = ["image/webp", image]
pnm = ["image/pnm", image]
dds = ["image/dds", image]
tga = ["image/tga", image]
farbfeld = ["image/farbfeld", image]
dxt = ["image/dxt", image]
hdr = ["image/hdr", image]