# 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-schema"
version = "0.14.6"
authors = ["Kromsten <kromsten@megarock.app>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macros and serialization utlities for various blockchain based virtual machines"
readme = false
license = "MIT"
repository = "https://github.com/MegaRockLabs/smart-account-auth"

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

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

[dependencies.saa-macros-proto]
version = "0.14.6"

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

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

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

[dependencies.serde]
version = "1.0.214"
features = [
    "derive",
    "derive",
]
optional = true
default-features = false

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