# 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"
rust-version = "1.91.0"
name = "soroban-sdk"
version = "26.0.0"
authors = ["Stellar Development Foundation <info@stellar.org>"]
build = "build.rs"
exclude = [
    "test_snapshots/",
    "src/tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Soroban SDK."
homepage = "https://github.com/stellar/rs-soroban-sdk"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/stellar/rs-soroban-sdk"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = []
docs = []
experimental_spec_shaking_v2 = ["soroban-sdk-macros/experimental_spec_shaking_v2"]
hazmat = [
    "hazmat-crypto",
    "hazmat-address",
]
hazmat-address = []
hazmat-crypto = []
testutils = [
    "soroban-sdk-macros/testutils",
    "soroban-env-host/testutils",
    "soroban-ledger-snapshot/testutils",
    "dep:ed25519-dalek",
    "dep:arbitrary",
    "dep:derive_arbitrary",
    "dep:ctor",
    "dep:soroban-ledger-snapshot",
]

[lib]
name = "soroban_sdk"
path = "src/lib.rs"
doctest = false

[dependencies.bytes-lit]
version = "0.0.5"

[dependencies.soroban-sdk-macros]
version = "26.0.0"

[dependencies.stellar-strkey]
version = "=0.0.16"

[dependencies.visibility]
version = "0.1.1"

[dev-dependencies.arbitrary]
version = "~1.3.0"
features = ["derive"]

[dev-dependencies.ark-bls12-381]
version = "0.5"
features = ["curve"]
default-features = false

[dev-dependencies.ark-bn254]
version = "0.5"
features = ["curve"]
default-features = false

[dev-dependencies.ark-ff]
version = "0.5"
default-features = false

[dev-dependencies.ctor]
version = "0.5.0"

[dev-dependencies.derive_arbitrary]
version = "~1.3.0"

[dev-dependencies.ed25519-dalek]
version = "2.0.0"

[dev-dependencies.expect-test]
version = "1.4.1"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.libfuzzer-sys]
version = "0.4.7"

[dev-dependencies.proptest]
version = "1.2.0"

[dev-dependencies.proptest-arbitrary-interop]
version = "0.1.0"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.sha2]
version = "0.10.7"

[dev-dependencies.soroban-env-host]
version = "=26.1.3"
features = ["testutils"]

[dev-dependencies.soroban-ledger-snapshot]
version = "26.0.0"
features = ["testutils"]

[dev-dependencies.soroban-sdk-macros]
version = "26.0.0"
features = ["testutils"]

[dev-dependencies.soroban-spec]
version = "26.0.0"

[dev-dependencies.stellar-xdr]
version = "=26.0.1"
features = [
    "curr",
    "curr",
    "std",
]
default-features = false

[build-dependencies.crate-git-revision]
version = "0.0.6"

[build-dependencies.rustc_version]
version = "0.4.1"

[target.'cfg(not(target_family="wasm"))'.dependencies.arbitrary]
version = "~1.3.0"
features = ["derive"]
optional = true

[target.'cfg(not(target_family="wasm"))'.dependencies.ctor]
version = "0.5.0"
optional = true

[target.'cfg(not(target_family="wasm"))'.dependencies.curve25519-dalek]
version = "4.1.3"
features = ["digest"]
optional = true

[target.'cfg(not(target_family="wasm"))'.dependencies.derive_arbitrary]
version = "~1.3.0"
optional = true

[target.'cfg(not(target_family="wasm"))'.dependencies.ed25519-dalek]
version = "2.1.1"
features = ["rand_core"]
optional = true

[target.'cfg(not(target_family="wasm"))'.dependencies.rand]
version = "0.8.5"

[target.'cfg(not(target_family="wasm"))'.dependencies.serde]
version = "1.0.0"
features = ["derive"]

[target.'cfg(not(target_family="wasm"))'.dependencies.serde_json]
version = "1.0.0"

[target.'cfg(not(target_family="wasm"))'.dependencies.soroban-env-host]
version = "=26.1.3"
features = []

[target.'cfg(not(target_family="wasm"))'.dependencies.soroban-ledger-snapshot]
version = "26.0.0"
optional = true

[target.'cfg(not(target_family="wasm"))'.dependencies.stellar-strkey]
version = "=0.0.16"

[target.'cfg(target_family="wasm")'.dependencies.soroban-env-guest]
version = "=26.1.3"
