# 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 = "saa-curves"
version = "0.11.1"
authors = ["Kromsten <kromsten@megarock.app>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic curves for smart account auth"
readme = false
license = "MIT"

[lib]
name = "saa_curves"
path = "src/lib.rs"

[dependencies.bech32]
version = "0.11.0"
features = ["alloc"]
default-features = false

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

[dependencies.cosmwasm-std]
version = "1.5.8"
optional = true
default-features = false

[dependencies.digest]
version = "0.10.7"
default-features = false

[dependencies.p256]
version = "0.13.2"

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

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

[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.203"
features = ["derive"]
optional = true
default-features = false

[features]
cosmwasm = [
    "dep:serde",
    "dep:schemars",
    "dep:cosmwasm-std",
    "saa-schema/cosmwasm",
    "saa-common/cosmwasm",
]
default = ["std"]
native = ["saa-common/native"]
solana = [
    "dep:borsh",
    "saa-schema/solana",
    "saa-common/solana",
]
std = [
    "scale?/std",
    "scale-info?/std",
    "saa-schema/std",
    "saa-common/std",
]
substrate = [
    "dep:scale",
    "saa-schema/substrate",
    "saa-common/substrate",
]
