Debian Codegraph @

third_party/rust/wasi/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 name = "wasi"
15 version = "0.14.2+wasi-0.2.4"
16 authors = ["The Cranelift Project Developers"]
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = "WASI API bindings for Rust"
24 documentation = "https://docs.rs/wasi"
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 default = ["std"]
39 rustc-dep-of-std = [
40 "compiler_builtins",
41 "core",
42 "rustc-std-workspace-alloc",
43 ]
44 std = []
45
46 [lib]
47 name = "wasi"
48 path = "src/lib.rs"
49
50 [[example]]
51 name = "cli-command"
52 crate-type = ["cdylib"]
53 path = "examples/cli-command.rs"
54 required-features = ["std"]
55
56 [[example]]
57 name = "cli-command-no_std"
58 crate-type = ["cdylib"]
59 path = "examples/cli-command-no_std.rs"
60
61 [[example]]
62 name = "hello-world"
63 path = "examples/hello-world.rs"
64 required-features = ["std"]
65
66 [[example]]
67 name = "hello-world-no_std"
68 path = "examples/hello-world-no_std.rs"
69
70 [[example]]
71 name = "http-proxy"
72 crate-type = ["cdylib"]
73 path = "examples/http-proxy.rs"
74 required-features = ["std"]
75
76 [[example]]
77 name = "http-proxy-no_std"
78 crate-type = ["cdylib"]
79 path = "examples/http-proxy-no_std.rs"
80
81 [dependencies.compiler_builtins]
82 version = "0.1"
83 optional = true
84
85 [dependencies.core]
86 version = "1.0"
87 optional = true
88 package = "rustc-std-workspace-core"
89
90 [dependencies.rustc-std-workspace-alloc]
91 version = "1.0"
92 optional = true
93
94 [dependencies.wit-bindgen-rt]
95 version = "0.39.0"
96 features = ["bitflags"]