soroban-sdk 22.0.6

Soroban SDK.
Documentation
[package]
name = "soroban-sdk"
description = "Soroban SDK."
homepage = "https://github.com/stellar/rs-soroban-sdk"
repository = "https://github.com/stellar/rs-soroban-sdk"
authors = ["Stellar Development Foundation <info@stellar.org>"]
readme = "README.md"
license = "Apache-2.0"
version.workspace = true
edition = "2021"
rust-version.workspace = true

exclude = ["test_snapshots/", "src/tests/"]

[lib]
doctest = false

[build-dependencies]
rustc_version = "0.4.1"

[dependencies]
soroban-sdk-macros = { workspace = true }
bytes-lit = "0.0.5"

[target.'cfg(target_family="wasm")'.dependencies]
soroban-env-guest = { workspace = true }

[target.'cfg(not(target_family="wasm"))'.dependencies]
soroban-env-host = { workspace = true, features = [] }
soroban-ledger-snapshot = { workspace = true }
stellar-strkey = { workspace = true }
arbitrary = { version = "~1.3.0", features = ["derive"], optional = true }
derive_arbitrary = { version = "~1.3.0", optional = true }
serde = { version = "1.0.0", features = ["derive"] }
serde_json = "1.0.0"
ed25519-dalek = { version = "2.1.1", features = ["rand_core"], optional = true }
curve25519-dalek = { version = "4.1.3", features = ["digest"], optional = true }
# match the version of rand used in dalek
rand = "0.8.5"
ctor = { version = "0.2.9", optional = true }

[dev-dependencies]
soroban-sdk-macros = { workspace = true, features = ["testutils"] }
soroban-env-host = { workspace = true, features = ["testutils"] }
stellar-xdr = { workspace = true, features = ["curr", "std"] }
soroban-spec = { workspace = true }
ed25519-dalek = "2.0.0"
rand = "0.8.5"
ctor = "0.2.9"
hex = "0.4.3"
arbitrary = { version = "~1.3.0", features = ["derive"] }
derive_arbitrary = { version = "~1.3.0" }
proptest = "1.2.0"
proptest-arbitrary-interop = "0.1.0"
libfuzzer-sys = "0.4.7"
expect-test = "1.4.1"

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

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