Cargo Features

git-packetline has no features set by default.

[dependencies]
git-packetline = { version = "0.14.3", features = ["blocking-io", "async-io", "serde1", "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.

serde1 = serde

Other

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

Enables 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.

serde serde1?
futures-io async-io?

Enables futures-io

async support

futures-lite async-io?

Enables futures-lite ^1.12.0

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