# 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.79.0" name = "soroban-env-host" version = "22.0.0" authors = ["Stellar Development Foundation "] build = "build.rs" exclude = ["observations/"] autobins = false autoexamples = false autotests = false autobenches = false description = "Soroban contract host environment." homepage = "https://github.com/stellar/rs-soroban-env" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/stellar/rs-soroban-env" [package.metadata.docs.rs] features = [ "recording_mode", "tracy", "testutils", ] [lib] name = "soroban_env_host" path = "src/lib.rs" [[bin]] name = "main" path = "src/bin/main.rs" [[test]] name = "array" path = "tests/array.rs" [[test]] name = "bls-signature" path = "tests/bls.rs" required-features = ["testutils"] [[test]] name = "ed25519_edge_cases" path = "tests/ed25519_edge_cases.rs" [[test]] name = "fees" path = "tests/fees.rs" [[test]] name = "integration" path = "tests/integration.rs" [[test]] name = "option" path = "tests/option.rs" [[test]] name = "secp256r1_sig_ver" path = "tests/secp256r1_sig_ver.rs" required-features = ["testutils"] [[bench]] name = "variation_histograms" path = "benches/variation_histograms.rs" bench = true harness = false required-features = ["bench"] [[bench]] name = "worst_case_linear_models" path = "benches/worst_case_linear_models.rs" bench = true harness = false required-features = ["bench"] [dependencies.ark-bls12-381] version = "0.4.0" [dependencies.ark-ec] version = "0.4.2" [dependencies.ark-ff] version = "0.4.2" [dependencies.ark-serialize] version = "0.4.2" [dependencies.backtrace] version = "0.3.69" optional = true [dependencies.curve25519-dalek] version = ">=4.1.3" features = ["digest"] default-features = false [dependencies.ecdsa] version = "0.16.7" default-features = false [dependencies.ed25519-dalek] version = ">=2.0.0" features = ["rand_core"] [dependencies.elliptic-curve] version = "0.13.5" default-features = false [dependencies.generic-array] version = "0.14.7" [dependencies.getrandom] version = "0.2.11" features = ["js"] [dependencies.hex-literal] version = "0.4.1" [dependencies.hmac] version = "0.12.1" [dependencies.k256] version = "0.13.3" features = [ "ecdsa", "arithmetic", ] default-features = false [dependencies.num-derive] version = "0.4.1" [dependencies.num-integer] version = "0.1.45" [dependencies.num-traits] version = "0.2.17" [dependencies.p256] version = "0.13.2" features = [ "ecdsa", "arithmetic", ] default-features = false [dependencies.rand] version = "0.8.5" [dependencies.rand_chacha] version = "0.3.1" [dependencies.sec1] version = "0.7.2" [dependencies.sha2] version = "0.10.8" [dependencies.sha3] version = "0.10.8" [dependencies.soroban-builtin-sdk-macros] version = "=22.0.0" [dependencies.soroban-env-common] version = "=22.0.0" features = [ "std", "wasmi", "shallow-val-hash", ] default-features = false [dependencies.static_assertions] version = "1.1.0" [dependencies.stellar-strkey] version = "0.0.9" [dependencies.wasmi] version = "=0.31.1-soroban.20.0.1" package = "soroban-wasmi" [dependencies.wasmparser] version = "=0.116.1" [dev-dependencies.arbitrary] version = "1.3.2" [dev-dependencies.backtrace] version = "0.3.69" [dev-dependencies.bytes-lit] version = "0.0.5" [dev-dependencies.expect-test] version = "1.4.1" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.itertools] version = "0.10.5" [dev-dependencies.k256] version = "0.13.1" features = ["alloc"] default-features = false [dev-dependencies.lstsq] version = "0.5.0" [dev-dependencies.more-asserts] version = "0.3.1" [dev-dependencies.nalgebra] version = "0.32.3" features = ["std"] default-features = false [dev-dependencies.p256] version = "0.13.2" features = ["alloc"] default-features = false [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.rustversion] version = "1.0" [dev-dependencies.serde] version = "1.0.192" [dev-dependencies.serde_json] version = "1.0.108" [dev-dependencies.soroban-env-macros] version = "=22.0.0" [dev-dependencies.stellar-xdr] version = "=22.0.0" features = ["arbitrary"] default-features = false [dev-dependencies.tabwriter] version = "1.3.0" [dev-dependencies.textplots] version = "0.8.4" [dev-dependencies.thousands] version = "0.2.0" [dev-dependencies.wasm-encoder] version = "0.36.2" [dev-dependencies.wasmprinter] version = "0.2.72" [dev-dependencies.wycheproof] version = "0.5.1" [features] backtrace = ["dep:backtrace"] bench = [] next = [ "soroban-env-common/next", "stellar-xdr/next", ] recording_mode = [] testutils = [ "soroban-env-common/testutils", "recording_mode", ] tracy = [ "dep:tracy-client", "soroban-env-common/tracy", ] unstable-next-api = [] [target.'cfg(not(target_family = "wasm"))'.dependencies.tracy-client] version = "0.17.0" features = [ "enable", "timer-fallback", ] optional = true default-features = false