# 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 = "ephemeral-rollups-sdk"
version = "0.6.0"
authors = ["Magicblock Labs <dev@magicblock.gg>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ephemeral Rollups Integration SDK"
homepage = "https://www.magicblock.gg/"
documentation = "https://docs.magicblock.gg/"
readme = "README.md"
keywords = [
    "solana",
    "crypto",
    "delegation",
    "ephemeral-rollups",
    "magicblock",
]
license = "MIT"
repository = "https://github.com/magicblock-labs/ephemeral-rollups-sdk"

[features]
anchor = ["anchor-lang"]
default = [
    "solana-program",
    "solana-system-interface",
]
disable-realloc = []
modular-sdk = [
    "solana-account",
    "solana-account-info",
    "solana-cpi",
    "solana-instruction",
    "solana-pubkey",
    "solana-program-error",
    "solana-program-memory",
    "solana-sysvar",
]

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

[dependencies.anchor-lang]
version = ">=0.28.0"
optional = true

[dependencies.base64ct]
version = "=1.6.0"

[dependencies.borsh]
version = "1.5.7"

[dependencies.ephemeral-rollups-sdk-attribute-action]
version = "=0.6.0"

[dependencies.ephemeral-rollups-sdk-attribute-commit]
version = "=0.6.0"

[dependencies.ephemeral-rollups-sdk-attribute-delegate]
version = "=0.6.0"

[dependencies.ephemeral-rollups-sdk-attribute-ephemeral]
version = "=0.6.0"

[dependencies.getrandom]
version = "^0.2"
features = ["custom"]

[dependencies.magicblock-delegation-program]
version = "1.1.3"
features = [
    "no-entrypoint",
    "core",
    "no-entrypoint",
    "core",
]
default-features = false

[dependencies.magicblock-magic-program-api]
version = "0.3.1"
default-features = false

[dependencies.solana-account]
version = ">=2, <3"
optional = true

[dependencies.solana-account-info]
version = ">=2, <3"
optional = true

[dependencies.solana-cpi]
version = ">=2, <3"
optional = true

[dependencies.solana-instruction]
version = ">=1, <3"
optional = true

[dependencies.solana-program]
version = ">=1.16, <3"
optional = true
default-features = false

[dependencies.solana-program-error]
version = ">=2, <3"
optional = true

[dependencies.solana-program-memory]
version = ">=2, <3"
optional = true

[dependencies.solana-pubkey]
version = ">=2, <3"
optional = true

[dependencies.solana-system-interface]
version = ">=1, <3"
features = ["bincode"]
optional = true

[dependencies.solana-sysvar]
version = ">=2, <3"
optional = true

[dev-dependencies.bincode]
version = "1.3.3"
