Cargo Features

async-proto has no features set by default.

[dependencies]
async-proto = { version = "0.21.0", features = ["tokio-tungstenite", "bytes", "chrono", "chrono-tz", "either", "enumset", "git2", "gix-hash", "noisy_float", "semver", "serde_json", "uuid"] }
tokio-tungstenite = futures, tungstenite

Enables tokio-tungstenite ^0.20

Affects async-proto::Protocol.read_ws, async-proto::Protocol.write_ws, async-proto::Protocol.read_ws_owned, async-proto::websocket

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.

bytes implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

chrono implicit feature

Enables chrono

chrono:

Date and time library for Rust

chrono-tz implicit feature

Enables chrono-tz

chrono-tz:

TimeZone implementations for chrono from the IANA database

either implicit feature

Enables either

either:

The enum Either with variants Left and Right is a general purpose sum type with two cases

enumset implicit feature

Enables enumset

enumset:

A library for creating compact sets of enums

git2 implicit feature
gix-hash implicit feature

Enables gix-hash

gix-hash:

Borrowed and owned git hash digests used to identify git objects

noisy_float implicit feature

Enables noisy_float

noisy_float:

Contains floating point types that panic if they are set to an illegal value, such as NaN

semver implicit feature

Enables semver

semver:

Parser and evaluator for Cargo's flavor of Semantic Versioning

serde_json implicit feature

Enables serde_json

serde_json:

A JSON serialization file format

uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

futures tokio-tungstenite?
tungstenite tokio-tungstenite?

Enables tungstenite ^0.20

Affects async-proto::Protocol.read_ws_sync, async-proto::Protocol.write_ws_sync