Cargo Features
[dependencies]
cifar_10_loader = { version = "0.2.0", default-features = false, features = ["bmp", "gif_codec", "hdr", "ico", "jpeg", "png_codec", "ppm", "tga", "tiff", "webp", "benchmarks", "clippy", "rayon"] }
- default = bmp, gif_codec, hdr, ico, jpeg, png_codec, ppm, rayon, tga, tiff, webp
-
These default features are set whenever
cifar_10_loader
is added without
somewhere in the dependency tree.default-features = false - bmp default
-
Enables bmp of image ^0.18.0
- gif_codec default
-
Enables gif_codec of image ^0.18.0
- hdr default
-
Enables hdr of image ^0.18.0
- ico default
-
Enables ico of image ^0.18.0
- jpeg default
-
Enables jpeg of image ^0.18.0
- png_codec default
-
Enables png of image ^0.18.0
- ppm default
-
Enables ppm of image ^0.18.0
- tga default
-
Enables tga of image ^0.18.0
- tiff default
-
Enables tiff of image ^0.18.0
- webp default
-
Enables webp of image ^0.18.0
- benchmarks
-
Enables benchmarks of image ^0.18.0
image:
Build some inline benchmarks. Useful only during development (requires nightly Rust)
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- clippy implicit feature
-
Enables clippy ^0.0.176
clippy:
A bunch of helpful lints to avoid common pitfalls in Rust
- rayon default
-
Enables rayon ^0.9.0