Skip to content

Commit

Permalink
Remove implicit png feature, only have png-format
Browse files Browse the repository at this point in the history
The optional `png` dependency creates an implicit `png` feature
which shows up when you do a `cargo add tiny-skia` but that won't
do anything when enabled. The right feature to enable is `png-format`
so we only need to have that one.
  • Loading branch information
waywardmonkeys committed Dec 7, 2024
1 parent cd83264 commit 2492dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ no-std-float = ["tiny-skia-path/no-std-float"]
simd = []

# Allows loading and saving `Pixmap` as PNG.
png-format = ["std", "png"]
png-format = ["std", "dep:png"]

0 comments on commit 2492dda

Please sign in to comment.