# 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.82.0" name = "wasip2" version = "1.0.1+wasi-0.2.4" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "WASIp2 API bindings for Rust" documentation = "https://docs.rs/wasip2" readme = "README.md" keywords = [ "webassembly", "wasm", ] categories = [ "no-std", "wasm", ] license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/bytecodealliance/wasi-rs" [features] bitflags = ["wit-bindgen/bitflags"] default = [ "std", "bitflags", ] rustc-dep-of-std = [ "core", "alloc", "wit-bindgen/rustc-dep-of-std", ] std = [] [lib] name = "wasip2" path = "src/lib.rs" [[example]] name = "cli-command" crate-type = ["cdylib"] path = "examples/cli-command.rs" required-features = ["std"] [[example]] name = "cli-command-no_std" crate-type = ["cdylib"] path = "examples/cli-command-no_std.rs" [[example]] name = "hello-world" path = "examples/hello-world.rs" required-features = ["std"] [[example]] name = "hello-world-no_std" path = "examples/hello-world-no_std.rs" [[example]] name = "http-proxy" crate-type = ["cdylib"] path = "examples/http-proxy.rs" required-features = ["std"] [[example]] name = "http-proxy-no_std" crate-type = ["cdylib"] path = "examples/http-proxy-no_std.rs" [dependencies.alloc] version = "1.0" optional = true package = "rustc-std-workspace-alloc" [dependencies.core] version = "1.0" optional = true package = "rustc-std-workspace-core" [dependencies.wit-bindgen] version = "0.46.0" default-features = false