| 1 | [dependencies.alloc] |
| 2 | optional = true |
| 3 | package = "rustc-std-workspace-alloc" |
| 4 | version = "1.0" |
| 5 | |
| 6 | [dependencies.bitflags] |
| 7 | optional = true |
| 8 | version = "2.3.3" |
| 9 | |
| 10 | [dependencies.core] |
| 11 | optional = true |
| 12 | package = "rustc-std-workspace-core" |
| 13 | version = "1.0" |
| 14 | |
| 15 | [dependencies.futures] |
| 16 | optional = true |
| 17 | version = "0.3.30" |
| 18 | |
| 19 | [dependencies.wit-bindgen-rust-macro] |
| 20 | optional = true |
| 21 | version = "0.51.0" |
| 22 | |
| 23 | [features] |
| 24 | async = ["std", "wit-bindgen-rust-macro?/async"] |
| 25 | async-spawn = ["async", "dep:futures"] |
| 26 | bitflags = ["dep:bitflags"] |
| 27 | default = ["macros", "realloc", "async", "std", "bitflags"] |
| 28 | inter-task-wakeup = ["async"] |
| 29 | macros = ["dep:wit-bindgen-rust-macro"] |
| 30 | realloc = [] |
| 31 | rustc-dep-of-std = ["dep:core", "dep:alloc"] |
| 32 | std = [] |
| 33 | |
| 34 | [lib] |
| 35 | name = "wit_bindgen" |
| 36 | path = "src/lib.rs" |
| 37 | |
| 38 | [lints.clippy] |
| 39 | allow_attributes_without_reason = "warn" |
| 40 | clone_on_copy = "warn" |
| 41 | manual_strip = "warn" |
| 42 | map_clone = "warn" |
| 43 | uninlined_format_args = "warn" |
| 44 | unnecessary_cast = "warn" |
| 45 | unnecessary_fallible_conversions = "warn" |
| 46 | unnecessary_mut_passed = "warn" |
| 47 | unnecessary_to_owned = "warn" |
| 48 | |
| 49 | [lints.clippy.all] |
| 50 | level = "allow" |
| 51 | priority = -1 |
| 52 | |
| 53 | [package] |
| 54 | authors = ["Alex Crichton <[email protected]>"] |
| 55 | autobenches = false |
| 56 | autobins = false |
| 57 | autoexamples = false |
| 58 | autolib = false |
| 59 | autotests = false |
| 60 | description = """ |
| 61 | Rust bindings generator and runtime support for WIT and the component model. |
| 62 | Used when compiling Rust programs to the component model. |
| 63 | """ |
| 64 | edition = "2024" |
| 65 | homepage = "https://github.com/bytecodealliance/wit-bindgen" |
| 66 | license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" |
| 67 | name = "wit-bindgen" |
| 68 | readme = "README.md" |
| 69 | repository = "https://github.com/bytecodealliance/wit-bindgen" |
| 70 | resolver = "2" |
| 71 | rust-version = "1.87.0" |
| 72 | version = "0.51.0" |
| 73 | |
| 74 | [package.metadata.docs.rs] |
| 75 | all-features = true |