Cargo Features

[dependencies]
rain-sdk = { version = "1.2.0", default-features = false, features = ["async", "sync", "rustls-tls", "native-tls", "gzip", "axum"] }
default = async, rustls-tls

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

async default

Enables full of tokio and rustls-tls of reqwest ^0.12

HTTP client

Affects auth::add_auth_headers_async

sync

Enables blocking and rustls-tls of reqwest ^0.12

Affects auth::add_auth_headers_sync

rustls-tls default

Enables rustls-tls of reqwest ^0.12

native-tls

Enables native-tls of reqwest ^0.12

gzip

Enables gzip of reqwest ^0.12

axum = utoipa, utoipa-axum, utoipa-config, utoipa-gen

Affects axum::InitiateUserApplicationRequestWrapper, axum::CreateUserApplicationRequestWrapper, axum::UpdateUserApplicationRequestWrapper, axum::CreateCompanyApplicationRequestWrapper, axum::UpdateCompanyApplicationRequestWrapper, axum::CreateCardRequestWrapper, axum::UpdateCardRequestWrapper, axum::CreateChargeRequestWrapper, axum::UpdateCompanyRequestWrapper, axum::CreateCompanyUserRequestWrapper, axum::CreateCompanyContractRequestWrapper, axum::CreateUserContractRequestWrapper, axum::UpdateContractRequestWrapper, axum::CreateDisputeRequestWrapper, axum::UpdateDisputeRequestWrapper, axum::CreateKeyRequestWrapper, models::axum

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.

tokio async
utoipa axum?

Enables utoipa

Axum integration (optional)

utoipa-axum axum?
utoipa-config axum?
utoipa-gen axum?