Debian Codegraph @

.cargo/vendor/wit-bindgen/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 = "wit-bindgen"
16 version = "0.46.0"
17 authors = ["Alex Crichton <[email protected]>"]
18 build = "build.rs"
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = """
25 Rust bindings generator and runtime support for WIT and the component model.
26 Used when compiling Rust programs to the component model.
27 """
28 homepage = "https://github.com/bytecodealliance/wit-bindgen"
29 readme = "README.md"
30 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
31 repository = "https://github.com/bytecodealliance/wit-bindgen"
32
33 [package.metadata.docs.rs]
34 all-features = true
35
36 [features]
37 async = [
38 "macros",
39 "std",
40 "dep:futures",
41 "dep:once_cell",
42 "wit-bindgen-rust-macro/async",
43 ]
44 bitflags = ["dep:bitflags"]
45 default = [
46 "macros",
47 "realloc",
48 "async",
49 "std",
50 "bitflags",
51 ]
52 macros = ["dep:wit-bindgen-rust-macro"]
53 realloc = []
54 rustc-dep-of-std = [
55 "dep:core",
56 "dep:alloc",
57 ]
58 std = []
59
60 [lib]
61 name = "wit_bindgen"
62 path = "src/lib.rs"
63
64 [dependencies.alloc]
65 version = "1.0"
66 optional = true
67 package = "rustc-std-workspace-alloc"
68
69 [dependencies.bitflags]
70 version = "2.3.3"
71 optional = true
72
73 [dependencies.core]
74 version = "1.0"
75 optional = true
76 package = "rustc-std-workspace-core"
77
78 [dependencies.futures]
79 version = "0.3.30"
80 optional = true
81
82 [dependencies.once_cell]
83 version = "1.19.0"
84 optional = true
85
86 [dependencies.wit-bindgen-rust-macro]
87 version = "0.46.0"
88 optional = true