[package]
name = "soroban-env-host"
description = "Soroban contract host environment."
homepage = "https://github.com/stellar/rs-soroban-env"
repository = "https://github.com/stellar/rs-soroban-env"
authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
version.workspace = true
readme = "../README.md"
edition = "2021"
rust-version = "1.71"
[dependencies]
soroban-native-sdk-macros = { workspace = true }
soroban-env-common = { workspace = true, features = ["std", "wasmi"] }
stellar-strkey = { workspace = true }
wasmi = { workspace = true }
static_assertions = "1.1.0"
sha2 = "0.10.0"
ed25519-dalek = {version = "2.0.0", features = ["rand_core"] }
rand = "0.8.5"
rand_chacha = "0.3.1"
num-traits = "0.2.15"
num-integer = "0.1.45"
num-derive = "0.4.0"
backtrace = "0.3"
k256 = {version = "0.13.1", features=["ecdsa", "arithmetic"]}
getrandom = { version = "0.2", features=["js"] }
sha3 = "0.10.8"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
tracy-client = { version = "=0.15.2", features = ["enable", "timer-fallback"], default-features = false, optional = true }
[dev-dependencies]
hex = "0.4.3"
itertools = "0.10.3"
tabwriter = "1.2.1"
thousands = "0.2.0"
soroban-test-wasms = { package = "soroban-test-wasms", path = "../soroban-test-wasms" }
soroban-synth-wasm = { package = "soroban-synth-wasm", path = "../soroban-synth-wasm" }
soroban-bench-utils = { package = "soroban-bench-utils", path = "../soroban-bench-utils" }
bytes-lit = "0.0.5"
textplots = "0.8.0"
wasmprinter = "0.2.41"
expect-test = "1.4.0"
more-asserts = "0.3.1"
linregress = "0.5.1"
[features]
testutils = ["soroban-env-common/testutils"]
tracy = ["dep:tracy-client"]
[[bench]]
required-features = ["testutils"]
harness = false
bench = true
name = "worst_case_linear_models"
path = "benches/worst_case_linear_models.rs"
[[bench]]
required-features = ["testutils"]
harness = false
bench = true
name = "variation_histograms"
path = "benches/variation_histograms.rs"
[package.metadata.docs.rs]
all-features = true