Cargo Features

[dependencies]
smart-account-auth = { version = "0.24.2", default-features = false, features = ["std", "native", "solana", "substrate", "cosmwasm", "injective", "secretwasm", "wasm", "replay", "iterator", "storage", "passkeys", "ethereum", "cosmos", "curves", "ed25519"] }
default = cosmos, ed25519, ethereum, iterator, passkeys, replay, std

These default features are set whenever smart-account-auth is added without default-features = false somewhere in the dependency tree.

std default

Enables std of saa-auth, optional parity-scale-codec, and optional scale-info

native

Enables native of saa-auth

solana

Enables borsh, solana of saa-auth

substrate

Enables parity-scale-codec and scale-info, substrate of saa-auth

cosmwasm injective? = wasm

Enables cosmwasm of saa-auth

injective = cosmwasm

Enables injective of saa-auth

secretwasm = wasm

Enables wasm of saa-auth, secretwasm of saa-common, wasm of saa-curves

wasm cosmwasm? secretwasm?

Enables schemars

Affects functions::reset_credentials, functions::verify_signed_queries, functions::verify_signed_actions, functions::get_all_credentials

replay default = storage

Enables replay of saa-common

Affects functions::verify_signed_actions

iterator default = storage

Enables iterator of saa-common

Affects functions::get_all_credentials

storage iterator replay

Affects functions::reset_credentials, functions::verify_signed_queries, functions::get_all_credentials

passkeys default

Passkey credential

ethereum default

Blockchain specific authenticators

cosmos default
curves

Enable raw curve credentials without envelops

ed25519 default

Set separately for Solana

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.

borsh solana?