96 lines
2.1 KiB
TOML
96 lines
2.1 KiB
TOML
# 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 = "wasi"
|
|
version = "0.14.2+wasi-0.2.4"
|
|
authors = ["The Cranelift Project Developers"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "WASI API bindings for Rust"
|
|
documentation = "https://docs.rs/wasi"
|
|
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]
|
|
default = ["std"]
|
|
rustc-dep-of-std = [
|
|
"compiler_builtins",
|
|
"core",
|
|
"rustc-std-workspace-alloc",
|
|
]
|
|
std = []
|
|
|
|
[lib]
|
|
name = "wasi"
|
|
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.compiler_builtins]
|
|
version = "0.1"
|
|
optional = true
|
|
|
|
[dependencies.core]
|
|
version = "1.0"
|
|
optional = true
|
|
package = "rustc-std-workspace-core"
|
|
|
|
[dependencies.rustc-std-workspace-alloc]
|
|
version = "1.0"
|
|
optional = true
|
|
|
|
[dependencies.wit-bindgen-rt]
|
|
version = "0.39.0"
|
|
features = ["bitflags"]
|