Cargo Features

gix-packetline has no features set by default.

[dependencies]
gix-packetline = { version = "0.19.0", 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-lite

Implement IO traits from futures-io. no dep: for futures-lite (https://github.com/rust-secure-code/cargo-auditable/issues/124)

Enables futures-io and pin-project-lite

futures-io:

async support

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-lite async-io?
document-features implicit feature

Enables document-features

document-features:

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