# 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 = "gp-wasm-interface" version = "18.0.0-pre.1" authors = ["Gear Technologies"] description = "Types and traits for interfacing between the host and the wasm runtime." homepage = "https://substrate.io" documentation = "https://docs.rs/gp-wasm-interface" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/gear-tech/polkadot-sdk" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies.anyhow] version = "1.0.68" optional = true [dependencies.codec] version = "3.6.1" 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.2" default-features = false package = "gp-allocator" [dependencies.sp-std] version = "12.0.0" default-features = false [dependencies.sp-wasm-interface-common] version = "15.0.0" default-features = false [dependencies.wasmtime] version = "8.0.1" optional = true default-features = false [features] default = ["std"] std = [ "codec/std", "log/std", "sp-allocator/std", "sp-std/std", "wasmtime", ] wasmi = ["sp-wasm-interface-common/wasmi"] wasmtime = [ "anyhow", "dep:wasmtime", ]