89 lines
1.9 KiB
TOML
89 lines
1.9 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 = "2021"
|
|
rust-version = "1.82.0"
|
|
name = "wit-bindgen"
|
|
version = "0.46.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"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
async = [
|
|
"macros",
|
|
"std",
|
|
"dep:futures",
|
|
"dep:once_cell",
|
|
"wit-bindgen-rust-macro/async",
|
|
]
|
|
bitflags = ["dep:bitflags"]
|
|
default = [
|
|
"macros",
|
|
"realloc",
|
|
"async",
|
|
"std",
|
|
"bitflags",
|
|
]
|
|
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.once_cell]
|
|
version = "1.19.0"
|
|
optional = true
|
|
|
|
[dependencies.wit-bindgen-rust-macro]
|
|
version = "0.46.0"
|
|
optional = true
|