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

[features]
anchor = ["anchor-modern"]
anchor-compat = [
    "anchor-support",
    "backward-compat",
    "anchor-lang-compat",
]
anchor-modern = [
    "anchor-support",
    "anchor-lang-current",
]
anchor-support = []
backward-compat = [
    "ephemeral-vrf-sdk-vrf-macro/backward-compat",
    "borsh-compat",
    "solana-program-compat",
    "solana-pubkey-compat",
]
default = []

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

[dependencies.anchor-lang-compat]
version = ">=0.28.0, <1.0.0"
optional = true
package = "anchor-lang"

[dependencies.anchor-lang-current]
version = "1.0"
optional = true
package = "anchor-lang"

[dependencies.borsh-compat]
version = "0.10.4"
optional = true
package = "borsh"

[dependencies.borsh-current]
version = "1.5"
package = "borsh"

[dependencies.ephemeral-vrf-sdk-vrf-macro]
version = "0.3.0"

[dependencies.solana-program]
version = "3.0.0"

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

[dependencies.solana-pubkey-compat]
version = ">=2.0, <3"
features = [
    "borsh",
    "bytemuck",
    "curve25519",
]
optional = true
package = "solana-pubkey"

[dependencies.solana-system-interface]
version = "3.2.0"
features = ["bincode"]
