# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2024" rust-version = "1.85.0" name = "wit-bindgen" version = "0.57.1" authors = ["Alex Crichton "] build = "build.rs" autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Rust bindings generator and runtime support for WIT and the component model. Used when compiling Rust programs to the component model. """ homepage = "https://github.com/bytecodealliance/wit-bindgen" readme = "README.md" license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/bytecodealliance/wit-bindgen" resolver = "2" [package.metadata.docs.rs] all-features = true [features] async = [] async-spawn = [ "async", "dep:futures", "std", ] bitflags = ["dep:bitflags"] default = [ "macros", "realloc", "async", "std", "bitflags", "macro-string", ] futures-stream = [ "async", "dep:futures", ] inter-task-wakeup = ["async"] macro-string = ["wit-bindgen-rust-macro?/macro-string"] macros = ["dep:wit-bindgen-rust-macro"] realloc = [] rustc-dep-of-std = [ "dep:core", "dep:alloc", ] std = [] [lib] name = "wit_bindgen" path = "src/lib.rs" [dependencies.alloc] version = "1.0" optional = true package = "rustc-std-workspace-alloc" [dependencies.bitflags] version = "2.11.1" optional = true [dependencies.core] version = "1.0" optional = true package = "rustc-std-workspace-core" [dependencies.futures] version = "0.3.30" optional = true [dependencies.wit-bindgen-rust-macro] version = "0.57.1" optional = true default-features = false [lints.clippy] allow_attributes_without_reason = "warn" clone_on_copy = "warn" manual_strip = "warn" map_clone = "warn" uninlined_format_args = "warn" unnecessary_cast = "warn" unnecessary_fallible_conversions = "warn" unnecessary_mut_passed = "warn" unnecessary_to_owned = "warn" [lints.clippy.all] level = "allow" priority = -1