Cargo Features

saleor-app-sdk has no features set by default.

[dependencies]
saleor-app-sdk = { version = "0.6.2", features = ["recommended", "middleware", "redis_apl", "file_apl", "webhook_utils", "tracing", "settings_manager", "bridge"] }
middleware recommended?

Enables axum ^0.7.5, http, jsonwebtoken, reqwest, and url

axum:

Needed for middleware

Affects saleor-app-sdk::middleware

redis_apl recommended?

Enables redis ^0.25.3

Needed for APLs

Affects apl::redis_apl

file_apl

Affects apl::file_apl

webhook_utils recommended?

Enables http

Affects webhooks::utils

tracing recommended?

Enables tracing and tracing-subscriber

tracing:

Tracing

Affects config::LocalTracingLevel, config::Config.log_level

settings_manager

Enables cynic, serde_with, and surf

surf:

Needed for settings_manager

Affects saleor-app-sdk::settings_manager

bridge

Enables serde-wasm-bindgen, wasm-bindgen =0.2.99, and web-sys

wasm-bindgen:

Needed for webhooks

Needed for bridge

Affects saleor-app-sdk::bridge