Cargo Features

[dependencies]
jacquard-common = { version = "0.9.5", default-features = false, features = ["crypto", "crypto-ed25519", "crypto-k256", "crypto-p256", "service-auth", "reqwest-client", "tracing", "streaming", "websocket", "zstd"] }
default = crypto, reqwest-client, service-auth

These default features are set whenever jacquard-common is added without default-features = false somewhere in the dependency tree.

crypto default crypto-ed25519? crypto-k256? crypto-p256?
crypto-ed25519 = crypto

Enables ed25519-dalek

crypto-k256 service-auth = crypto

Enables ecdsa of k256

crypto-p256 service-auth = crypto

Enables ecdsa of p256

service-auth default = crypto-k256, crypto-p256

Enables signature

Affects jacquard-common::service_auth

reqwest-client default

Enables reqwest ^0.12

tracing

Enables tracing

streaming websocket? = futures, n0-future

Enables stream of reqwest ^0.12

Affects http_client::HttpClientExt, jacquard-common::stream, xrpc::streaming, xrpc::XrpcStreamingClient

websocket = streaming, tokio-tungstenite-wasm

Enables ciborium

Affects jacquard-common::websocket, jacquard-common::jetstream, xrpc::subscription

zstd

Enables zstd

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.

n0-future streaming?

Enables n0-future ^0.1

Streaming support (optional)

futures streaming?
tokio-tungstenite-wasm websocket?

Enables tokio-tungstenite-wasm ^0.4