# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "smart-account-auth"
version = "0.24.5"
authors = ["Kromsten <kromsten@megarock.app>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authentication library for smart accounts on various blockchains and their virtual machines"
readme = "README.md"
license = "MIT"
repository = "https://github.com/MegaRockLabs/smart-account-auth"

[lib]
name = "smart_account_auth"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.borsh]
version = "1.5.3"
features = ["derive"]
optional = true
default-features = false

[dependencies.saa-auth]
version = "0.24.5"

[dependencies.saa-common]
version = "0.24.5"

[dependencies.saa-curves]
version = "0.24.5"

[dependencies.saa-schema]
version = "0.24.5"

[dependencies.scale]
version = "3.6.12"
features = ["derive"]
optional = true
default-features = false
package = "parity-scale-codec"

[dependencies.scale-info]
version = "2.11.3"
features = ["derive"]
optional = true
default-features = false

[dependencies.schemars]
version = "0.8.21"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde]
version = "~1.0.215"
features = ["derive"]
default-features = false

[features]
cosmos = []
cosmwasm = [
    "saa-auth/cosmwasm",
    "wasm",
]
curves = []
default = [
    "std",
    "ethereum",
    "cosmos",
    "ed25519",
    "passkeys",
    "replay",
    "iterator",
]
ed25519 = []
ethereum = []
injective = [
    "saa-auth/injective",
    "cosmwasm",
]
iterator = [
    "saa-common/iterator",
    "storage",
]
native = ["saa-auth/native"]
passkeys = []
replay = [
    "saa-common/replay",
    "storage",
]
secretwasm = [
    "saa-common/secretwasm",
    "saa-auth/wasm",
    "saa-curves/wasm",
    "wasm",
]
solana = [
    "borsh/derive",
    "saa-auth/solana",
]
std = [
    "scale?/std",
    "scale-info?/std",
    "saa-auth/std",
]
storage = []
substrate = [
    "dep:scale",
    "dep:scale-info",
    "saa-auth/substrate",
]
wasm = ["dep:schemars"]