Cargo Features

speakeasy-rust-sdk has no features set by default.

[dependencies]
speakeasy-rust-sdk = { version = "0.5.0", features = ["actix4", "axum", "actix3", "tokio", "tokio02", "custom_transport", "mock"] }
actix4 = tokio

Enables futures and pin-project

futures:

async

and actix-http, actix-service, and actix-web

actix-http:

web frameworks middleware

actix 4

Affects middleware::actix4

axum = tokio

Enables axum ^0.6, axum-extra ^0.4, futures, http-body ^0.4, and pin-project

http-body:

latest deps

Affects middleware::axum, middleware::host_extract

actix3 = tokio02

Enables actix-http ^2, actix-service ^1, actix-web ^3, futures, and pin-project

actix-http:

actix 3

Affects middleware::actix3

tokio actix4? axum?

Enables hyper ^0.14, hyper-openssl ^0.9, speakeasy-protos-tokio-latest, tokio, tonic ^0.8, and tower

tokio02 actix3?

Enables hyper-openssl ^0.8.0, hyper ^0.13.4, speakeasy-protos-tokio-02, tokio ^0.2, tonic ^0.3, and tower ^0.3

hyper-openssl:

grpc actix3 compat

custom_transport

Affects speakeasy-rust-sdk::SpeakeasySdk

mock

Affects transport::mock