Cargo Features

[dependencies]
mtv-crypto-middleware = { version = "0.1.0", default-features = false, features = ["ws", "signed_fetch", "ws_signed_headers"] }
default = signed_fetch, ws, ws_signed_headers

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

ws default

Enables async-trait, fastrand ^1.9.0, and tokio

Affects mtv-crypto-middleware::ws

signed_fetch default ws_signed_headers

Affects mtv-crypto-middleware::signed_fetch

ws_signed_headers default = signed_fetch

Enables serde_json

Affects mtv-crypto-middleware::ws_signed_headers