103 lines
2.2 KiB
TOML
103 lines
2.2 KiB
TOML
|
|
# 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.87.0"
|
||
|
|
name = "wit-bindgen"
|
||
|
|
version = "0.51.0"
|
||
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||
|
|
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 = [
|
||
|
|
"std",
|
||
|
|
"wit-bindgen-rust-macro?/async",
|
||
|
|
]
|
||
|
|
async-spawn = [
|
||
|
|
"async",
|
||
|
|
"dep:futures",
|
||
|
|
]
|
||
|
|
bitflags = ["dep:bitflags"]
|
||
|
|
default = [
|
||
|
|
"macros",
|
||
|
|
"realloc",
|
||
|
|
"async",
|
||
|
|
"std",
|
||
|
|
"bitflags",
|
||
|
|
]
|
||
|
|
inter-task-wakeup = ["async"]
|
||
|
|
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.3.3"
|
||
|
|
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.51.0"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[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
|