# 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 = "gear-sp-wasm-interface" version = "7.0.0" authors = [ "Parity Technologies ", "Gear Technologies", ] description = "Types and traits for interfacing between the host and the wasm runtime." homepage = "https://gear-tech.io" documentation = "https://docs.rs/gear-sp-wasm-interface" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/gear-tech/substrate/" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies.anyhow] version = "1.0.68" optional = true [dependencies.codec] version = "3.2.2" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.impl-trait-for-tuples] version = "0.2.2" [dependencies.log] version = "0.4.17" optional = true [dependencies.sp-allocator] version = "4.1.0" default-features = false package = "gear-sp-allocator" [dependencies.sp-std] version = "5.0.0" default-features = false [dependencies.sp-wasm-interface-common] version = "7.0.0" default-features = false [dependencies.wasmtime] version = "6.0.1" optional = true default-features = false [features] default = ["std"] std = [ "codec/std", "log", "sp-allocator/std", "sp-std/std", "sp-wasm-interface-common/std", "wasmtime", ] wasmi = ["sp-wasm-interface-common/wasmi"] wasmtime = [ "dep:wasmtime", "anyhow", ]