76 lines
1.8 KiB
TOML
76 lines
1.8 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-core"
|
|
version = "0.51.0"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = """
|
|
Low-level support for bindings generation based on WIT files for use with
|
|
`wit-bindgen-cli` and other languages.
|
|
"""
|
|
homepage = "https://github.com/bytecodealliance/wit-bindgen"
|
|
readme = false
|
|
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
|
|
repository = "https://github.com/bytecodealliance/wit-bindgen"
|
|
resolver = "2"
|
|
|
|
[features]
|
|
clap = ["dep:clap"]
|
|
serde = ["dep:serde"]
|
|
|
|
[lib]
|
|
name = "wit_bindgen_core"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[dependencies.anyhow]
|
|
version = "1.0.72"
|
|
|
|
[dependencies.clap]
|
|
version = "4.3.19"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.heck]
|
|
version = "0.5"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.218"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.wit-parser]
|
|
version = "0.244.0"
|
|
|
|
[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
|