Cargo Features

[dependencies]
dcl-crypto-middleware-rs = { version = "0.2.1", default-features = false, features = ["ws", "signed_fetch", "ws_signed_headers"] }
default = signed_fetch, ws, ws_signed_headers

These default features are set whenever dcl-crypto-middleware-rs is added without default-features = false somewhere in the dependency tree.

ws default

Enables async-trait, fastrand ^1.9.0, and tokio

Affects dcl-crypto-middleware-rs::ws

signed_fetch default ws_signed_headers

Affects dcl-crypto-middleware-rs::signed_fetch

ws_signed_headers default = signed_fetch

Enables serde_json

Affects dcl-crypto-middleware-rs::ws_signed_headers