From 47f120638225e21b7623f78b041b44bd3bdf0921 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 9 Sep 2026 14:23:20 -0700 Subject: [PATCH] Resolve Cargo warnings on nightly --- Cargo.toml | 2 -- crates/c/Cargo.toml | 1 - crates/core/Cargo.toml | 1 - crates/csharp/Cargo.toml | 1 - crates/d/Cargo.toml | 1 - crates/go/Cargo.toml | 1 - crates/guest-rust/Cargo.toml | 1 - crates/guest-rust/macro/Cargo.toml | 4 +++- crates/markdown/Cargo.toml | 1 - crates/moonbit/Cargo.toml | 1 - crates/rust/Cargo.toml | 1 - crates/test-helpers/codegen-macro/Cargo.toml | 3 +++ crates/test/Cargo.toml | 2 -- 13 files changed, 6 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a191fa341..e7a2f9817 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,6 @@ edition = { workspace = true } repository = { workspace = true } license = { workspace = true } rust-version = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ CLI tool to generate bindings for WIT documents and the component model. """ @@ -65,7 +64,6 @@ wit-bindgen-markdown = { path = 'crates/markdown', version = '0.61.1' } wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.61.1' } wit-bindgen-go = { path = 'crates/go', version = '0.61.1' } wit-bindgen-d = { path = 'crates/d', version = '0.61.1' } -wit-bindgen = { path = 'crates/guest-rust', version = '0.61.1', default-features = false } wit-bindgen-test = { path = 'crates/test', version = '0.61.1' } [workspace.lints.clippy] diff --git a/crates/c/Cargo.toml b/crates/c/Cargo.toml index a32c12d68..d90213b8a 100644 --- a/crates/c/Cargo.toml +++ b/crates/c/Cargo.toml @@ -6,7 +6,6 @@ edition = { workspace = true } repository = { workspace = true } license = { workspace = true } rust-version = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ C bindings generator for WIT and the component model, typically used through the `wit-bindgen-cli` crate. diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index ce3095890..ed4ba69e7 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -5,7 +5,6 @@ version = { workspace = true } edition = { workspace = true } repository = { workspace = true } license = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ Low-level support for bindings generation based on WIT files for use with `wit-bindgen-cli` and other languages. diff --git a/crates/csharp/Cargo.toml b/crates/csharp/Cargo.toml index c1773a5e4..99ab860a5 100644 --- a/crates/csharp/Cargo.toml +++ b/crates/csharp/Cargo.toml @@ -6,7 +6,6 @@ edition = { workspace = true } repository = { workspace = true } license = { workspace = true } rust-version = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ C# bindings generator for WIT and the component model, typically used through the `wit-bindgen-cli` crate. diff --git a/crates/d/Cargo.toml b/crates/d/Cargo.toml index e90a308c9..8f31f9a66 100644 --- a/crates/d/Cargo.toml +++ b/crates/d/Cargo.toml @@ -6,7 +6,6 @@ edition = { workspace = true } repository = { workspace = true } license = { workspace = true } rust-version = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ D bindings generator for WIT and the component model, typically used through the `wit-bindgen-cli` crate. diff --git a/crates/go/Cargo.toml b/crates/go/Cargo.toml index 563125ec0..34581daa2 100644 --- a/crates/go/Cargo.toml +++ b/crates/go/Cargo.toml @@ -6,7 +6,6 @@ edition = { workspace = true } repository = { workspace = true } license = { workspace = true } rust-version = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ Go bindings generator for WIT and the component model, typically used through the `wit-bindgen-cli` crate. diff --git a/crates/guest-rust/Cargo.toml b/crates/guest-rust/Cargo.toml index 286326c73..a05ea5617 100644 --- a/crates/guest-rust/Cargo.toml +++ b/crates/guest-rust/Cargo.toml @@ -5,7 +5,6 @@ version = { workspace = true } edition = { workspace = true } repository = { workspace = true } license = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ Rust bindings generator and runtime support for WIT and the component model. Used when compiling Rust programs to the component model. diff --git a/crates/guest-rust/macro/Cargo.toml b/crates/guest-rust/macro/Cargo.toml index f03aee942..4176dba28 100644 --- a/crates/guest-rust/macro/Cargo.toml +++ b/crates/guest-rust/macro/Cargo.toml @@ -5,11 +5,13 @@ version = { workspace = true } edition = { workspace = true } repository = { workspace = true } license = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ Procedural macro paired with the `wit-bindgen` crate. """ +[lints] +workspace = true + [lib] proc-macro = true doctest = false diff --git a/crates/markdown/Cargo.toml b/crates/markdown/Cargo.toml index abcac53a1..34abd7bba 100644 --- a/crates/markdown/Cargo.toml +++ b/crates/markdown/Cargo.toml @@ -5,7 +5,6 @@ edition = { workspace = true } repository = { workspace = true } license = { workspace = true } rust-version = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ Markdown generator for WIT and the component model, typically used through the `wit-bindgen-cli` crate. diff --git a/crates/moonbit/Cargo.toml b/crates/moonbit/Cargo.toml index fbf246090..5705ad0b5 100644 --- a/crates/moonbit/Cargo.toml +++ b/crates/moonbit/Cargo.toml @@ -6,7 +6,6 @@ edition = { workspace = true } repository = { workspace = true } license = { workspace = true } rust-version = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ MoonBit bindings generator for WIT and the component model, typically used through the `wit-bindgen-cli` crate. diff --git a/crates/rust/Cargo.toml b/crates/rust/Cargo.toml index 6b6e1773a..aa1d4438a 100644 --- a/crates/rust/Cargo.toml +++ b/crates/rust/Cargo.toml @@ -5,7 +5,6 @@ version = { workspace = true } edition = { workspace = true } repository = { workspace = true } license = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ Rust bindings generator for WIT and the component model, typically used through the `wit-bindgen` crate's `generate!` macro. diff --git a/crates/test-helpers/codegen-macro/Cargo.toml b/crates/test-helpers/codegen-macro/Cargo.toml index ba1b684e1..75464e794 100644 --- a/crates/test-helpers/codegen-macro/Cargo.toml +++ b/crates/test-helpers/codegen-macro/Cargo.toml @@ -4,6 +4,9 @@ authors = ["Alex Crichton "] edition.workspace = true publish = false +[lints] +workspace = true + [lib] proc-macro = true doctest = false diff --git a/crates/test/Cargo.toml b/crates/test/Cargo.toml index 597daab64..70dbdbc97 100644 --- a/crates/test/Cargo.toml +++ b/crates/test/Cargo.toml @@ -5,11 +5,9 @@ edition = { workspace = true } repository = { workspace = true } license = { workspace = true } rust-version = { workspace = true } -homepage = 'https://github.com/bytecodealliance/wit-bindgen' description = """ Backend of the `wit-bindgen test` subcommand """ -readme = "README.md" [lints] workspace = true