From c2ee8060dc986e2a6f1639a41a94106539126507 Mon Sep 17 00:00:00 2001 From: Boshen Date: Fri, 21 Feb 2025 23:37:03 +0800 Subject: [PATCH] chore: include `build.rs` in napi crates --- crates/oxc_napi/Cargo.toml | 2 +- napi/minify/Cargo.toml | 1 + napi/parser/Cargo.toml | 1 + napi/transform/Cargo.toml | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index f645cd8dfa04e..36adabd6f3f7f 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -5,13 +5,13 @@ authors.workspace = true categories.workspace = true edition.workspace = true homepage.workspace = true -include = ["/src"] keywords.workspace = true license.workspace = true publish = true repository.workspace = true rust-version.workspace = true description.workspace = true +include = ["/src", "build.rs"] [lints] workspace = true diff --git a/napi/minify/Cargo.toml b/napi/minify/Cargo.toml index 497b4e6311b6d..a51d4728d705a 100644 --- a/napi/minify/Cargo.toml +++ b/napi/minify/Cargo.toml @@ -11,6 +11,7 @@ publish = false repository.workspace = true rust-version.workspace = true description.workspace = true +include = ["/src", "build.rs"] [lints] workspace = true diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 2e1bb630abfeb..89ef9bd3f73ee 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -11,6 +11,7 @@ publish = true repository.workspace = true rust-version.workspace = true description.workspace = true +include = ["/src", "build.rs"] [lints] workspace = true diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index f3e060917d8ee..3f8d291625e64 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -11,6 +11,7 @@ publish = true repository.workspace = true rust-version.workspace = true description.workspace = true +include = ["/src", "build.rs"] [lints] workspace = true