Cargo Features

[dependencies]
smart-account-auth = { version = "0.14.16", default-features = false, features = ["std", "solana", "substrate", "cosmwasm", "native", "injective", "replay", "storage", "iterator", "cosmos", "curves"] }
default = cosmos, ethereum, 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-common, saa-curves, saa-custom, saa-schema, optional parity-scale-codec, and optional scale-info

solana

Enables borsh, solana of saa-common, saa-curves, saa-custom, and saa-schema

substrate

Enables parity-scale-codec and scale-info, substrate of saa-common, saa-curves, saa-custom, and saa-schema

cosmwasm

Enables cosmwasm of saa-common, saa-curves, saa-custom, and saa-schema

Affects credential::verify_signed_queries, credential::verify_signed_actions, credential::get_all_credentials

native

Enables native of saa-common, saa-curves, and saa-custom

injective

Enables injective of saa-common and saa-custom

replay default = storage

Enables replay of saa-common, storage of saa-custom

storage replay = iterator

Affects credential::verify_signed_queries, credential::verify_signed_actions, credential::get_all_credentials

iterator storage?

Enables iterator of saa-common

Affects credential::get_all_credentials

passkeys ethereum cosmos default
curves

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?