Cargo Features
[dependencies]
pixelflut = { version = "0.2.0", default-features = false, features = ["all", "sync", "tokio-rt", "image", "anyhow", "clap"] }
- default = sync, tokio-rt
-
These default features are set whenever
pixelflut
is added without
somewhere in the dependency tree.default-features = false - all = sync, tokio-rt
- sync default all? = bufstream
-
Affects
pixelflut::sync
… - tokio-rt default all? = tokio
-
Affects
pixelflut::async_tokio
…
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.
- bufstream sync
- tokio tokio-rt
- image implicit feature
-
Enables image ^0.23
image:
Imaging library. Provides basic image processing and encoders/decoders for common image formats.
- anyhow implicit feature
-
Enables anyhow
anyhow:
Flexible concrete Error type built on std::error::Error
- clap implicit feature
-
Enables clap ^3.0.0-beta.2
clap:
A simple to use, efficient, and full-featured Command Line Argument Parser