Skip to content

Commit

Permalink
Do not enable default features for num-traits (#3)
Browse files Browse the repository at this point in the history
This makes it not work in a no_std env otherwise.

Signed-off-by: Mary Guillemard <[email protected]>
  • Loading branch information
marysaka authored Sep 27, 2024
1 parent 04c2895 commit 14cc643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ffimage-yuv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ default-features = false
path = "../ffimage"

[dependencies]
num-traits = "0.2.15"
num-traits = { version = "0.2.15", default-features = false }

[dev-dependencies]
criterion = "0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion ffimage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
repository= "https://github.com/raymanfx/ffimage"

[dependencies]
num-traits = "0.2.15"
num-traits = { version = "0.2.15", default-features = false }

[dev-dependencies]
criterion = "0.4.0"
Expand Down

0 comments on commit 14cc643

Please sign in to comment.