Cargo Features

gix-packetline has no features set by default.

[dependencies]
gix-packetline = { version = "0.17.5", 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 = futures-io, futures-lite, pin-project-lite

Implement IO traits from futures-io.

serde

Other

Data structures implement serde::Serialize and serde::Deserialize.

Enables serde, serde of bstr

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.

futures-io async-io?

Enables futures-io

async support

futures-lite async-io?
pin-project-lite async-io?
document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml