Cargo Features
gix-packetline has no features set by default.
[dependencies]
gix-packetline = { version = "0.18.2", features = ["blocking-io", "async-io", "serde", "document-features"] }
- default
-
By default, all IO related capabilities will be missing unless one of the following is chosen.
- blocking-io
-
Mutually exclusive
Specifying both causes a compile error, preventing the use of
--all-features
.If set, all IO will become blocking. The same types will be used preventing side-by-side usage of blocking and non-blocking IO.
- async-io
-
Implement IO traits from
futures-io
.Enables futures-io, futures-lite, and pin-project-lite
futures-io:
async support
- serde
-
Other
Data structures implement
serde::Serialize
andserde::Deserialize
.
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml