Debian Codegraph @

.cargo/vendor/wit-bindgen/Cargo.toml.orig

raw
1 [package]
2 name = "wit-bindgen"
3 authors = ["Alex Crichton <[email protected]>"]
4 version = { workspace = true }
5 edition = { workspace = true }
6 repository = { workspace = true }
7 license = { workspace = true }
8 rust-version = { workspace = true }
9 homepage = 'https://github.com/bytecodealliance/wit-bindgen'
10 description = """
11 Rust bindings generator and runtime support for WIT and the component model.
12 Used when compiling Rust programs to the component model.
13 """
14
15 [package.metadata.docs.rs]
16 all-features = true
17
18 [dependencies]
19 wit-bindgen-rust-macro = { path = "./macro", optional = true, version = "0.46.0" }
20 bitflags = { workspace = true, optional = true }
21 futures = { version = "0.3.30", optional = true }
22 once_cell = { version = "1.19.0", optional = true }
23
24 # When built as part of libstd
25 core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" }
26 alloc = { version = "1.0", optional = true, package = "rustc-std-workspace-alloc" }
27
28 [features]
29 default = ["macros", "realloc", "async", "std", "bitflags"]
30 macros = ["dep:wit-bindgen-rust-macro"]
31 realloc = []
32 std = []
33 async = ["macros", "std", "dep:futures", "dep:once_cell", "wit-bindgen-rust-macro/async"]
34 bitflags = ["dep:bitflags"]
35
36 # Unstable feature to support being a libstd dependency
37 rustc-dep-of-std = ["dep:core", "dep:alloc"]