Cargo Features
async-proto has no features set by default.
[dependencies]
async-proto = { version = "0.24.1", features = ["tokio-tungstenite021", "tokio-tungstenite024", "bytes", "chrono", "chrono-tz", "either", "enumset", "git2", "gix-hash", "noisy_float", "semver", "serde_json", "serenity", "uuid"] }
- tokio-tungstenite021 = futures
-
Enables tokio-tungstenite ^0.21
Affects
async-proto::Protocol.read_ws021
,async-proto::Protocol.write_ws021
,async-proto::Protocol.read_ws_sync021
,async-proto::Protocol.write_ws_sync021
,async-proto::Protocol.read_ws_owned021
,async-proto::websocket021
… - tokio-tungstenite024 = futures
-
Enables tokio-tungstenite
Affects
async-proto::Protocol.read_ws024
,async-proto::Protocol.write_ws024
,async-proto::Protocol.read_ws_sync024
,async-proto::Protocol.write_ws_sync024
,async-proto::Protocol.read_ws_owned024
,async-proto::websocket024
…
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 variantsLeft
andRight
is a general purpose sum type with two cases - enumset implicit feature
-
Enables enumset
enumset:
A library for creating compact sets of enums
- futures tokio-tungstenite021? tokio-tungstenite024?
- 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
- serenity implicit feature
-
Enables serenity
serenity:
A Rust library for the Discord API
- uuid implicit feature
-
Enables uuid
uuid:
A library to generate and parse UUIDs