mirror of
https://github.com/Cykooz/fast_image_resize.git
synced 2026-10-07 17:01:09 +00:00
Fixed compat module.
This commit is contained in:
+6
-2
@@ -28,7 +28,11 @@ document-features = { version = "0.2.12", optional = true }
|
||||
image = { version = "0.25.6", optional = true, default-features = false }
|
||||
bytemuck = { version = "1.24", optional = true }
|
||||
rayon = { version = "1.11", optional = true }
|
||||
cpufeatures = { version = "0.2.17", optional = true }
|
||||
|
||||
|
||||
[target.'cfg(all(not(target_arch = "wasm32"), features = "no_std"))'.dependencies]
|
||||
cpufeatures = "0.2.17"
|
||||
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -38,7 +42,7 @@ std = ["thiserror/std", "num-traits/std", "dep:document-features"]
|
||||
## To prevent conflicts with the `std` feature it is not used for
|
||||
## conditional compilation. It just installs additional dependencies
|
||||
## or activates some features of existing dependencies.
|
||||
no_std = ["num-traits/libm", "dep:cpufeatures"]
|
||||
no_std = ["num-traits/libm"]
|
||||
## Enable this feature to implement traits [IntoImageView](crate::IntoImageView) and
|
||||
## [IntoImageViewMut](crate::IntoImageViewMut) for the
|
||||
## [DynamicImage](https://docs.rs/image/latest/image/enum.DynamicImage.html)
|
||||
|
||||
Reference in New Issue
Block a user