Debian Codegraph @

.cargo/vendor/wasip2/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.82.0"
15 name = "wasip2"
16 version = "1.0.1+wasi-0.2.4"
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = "WASIp2 API bindings for Rust"
24 documentation = "https://docs.rs/wasip2"
25 readme = "README.md"
26 keywords = [
27 "webassembly",
28 "wasm",
29 ]
30 categories = [
31 "no-std",
32 "wasm",
33 ]
34 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
35 repository = "https://github.com/bytecodealliance/wasi-rs"
36
37 [features]
38 bitflags = ["wit-bindgen/bitflags"]
39 default = [
40 "std",
41 "bitflags",
42 ]
43 rustc-dep-of-std = [
44 "core",
45 "alloc",
46 "wit-bindgen/rustc-dep-of-std",
47 ]
48 std = []
49
50 [lib]
51 name = "wasip2"
52 path = "src/lib.rs"
53
54 [[example]]
55 name = "cli-command"
56 crate-type = ["cdylib"]
57 path = "examples/cli-command.rs"
58 required-features = ["std"]
59
60 [[example]]
61 name = "cli-command-no_std"
62 crate-type = ["cdylib"]
63 path = "examples/cli-command-no_std.rs"
64
65 [[example]]
66 name = "hello-world"
67 path = "examples/hello-world.rs"
68 required-features = ["std"]
69
70 [[example]]
71 name = "hello-world-no_std"
72 path = "examples/hello-world-no_std.rs"
73
74 [[example]]
75 name = "http-proxy"
76 crate-type = ["cdylib"]
77 path = "examples/http-proxy.rs"
78 required-features = ["std"]
79
80 [[example]]
81 name = "http-proxy-no_std"
82 crate-type = ["cdylib"]
83 path = "examples/http-proxy-no_std.rs"
84
85 [dependencies.alloc]
86 version = "1.0"
87 optional = true
88 package = "rustc-std-workspace-alloc"
89
90 [dependencies.core]
91 version = "1.0"
92 optional = true
93 package = "rustc-std-workspace-core"
94
95 [dependencies.wit-bindgen]
96 version = "0.46.0"
97 default-features = false