From 02e54347b792ba8bb54d6de904e7bf2e6078fc23 Mon Sep 17 00:00:00 2001 From: Ted Campbell Date: Thu, 5 Feb 2026 17:54:44 -0500 Subject: [PATCH] Add missing cargo publish exclude rules for android/ paths Usually we exclude publishing 'android/' and 'ios/' files by specifying in Cargo.toml. This fixes some missing annoations. This will prevent unused files from vendoring into mozilla-firefox. --- components/ads-client/Cargo.toml | 1 + components/merino/Cargo.toml | 1 + components/relay/Cargo.toml | 1 + components/search/Cargo.toml | 2 +- components/support/tracing/Cargo.toml | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/ads-client/Cargo.toml b/components/ads-client/Cargo.toml index 58e1c0496e..8ee830d883 100644 --- a/components/ads-client/Cargo.toml +++ b/components/ads-client/Cargo.toml @@ -3,6 +3,7 @@ name = "ads-client" version = "0.1.0" edition = "2021" license = "MPL-2.0" +exclude = ["/android"] [features] dev = [] diff --git a/components/merino/Cargo.toml b/components/merino/Cargo.toml index 39cbed67c8..2aca446fc5 100644 --- a/components/merino/Cargo.toml +++ b/components/merino/Cargo.toml @@ -2,6 +2,7 @@ name = "merino" version = "0.1.0" edition = "2021" +exclude = ["/android"] [dependencies] uniffi = { git = "https://github.com/mozilla/uniffi-rs.git", rev = "106e12ae2a0474a1880667ed3a4b050fcf1c6666" } diff --git a/components/relay/Cargo.toml b/components/relay/Cargo.toml index 10532bc048..895b435aaa 100644 --- a/components/relay/Cargo.toml +++ b/components/relay/Cargo.toml @@ -2,6 +2,7 @@ name = "relay" version = "0.1.0" edition = "2021" +exclude = ["/android"] [dependencies] error-support = { path = "../support/error" } diff --git a/components/search/Cargo.toml b/components/search/Cargo.toml index 5fb4bbe995..61d9d1c873 100644 --- a/components/search/Cargo.toml +++ b/components/search/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" description = "Library for search service related components." readme = "README.md" license = "MPL-2.0" -exclude = ["/ios"] +exclude = ["/android", "/ios"] [dependencies] error-support = { path = "../support/error" } diff --git a/components/support/tracing/Cargo.toml b/components/support/tracing/Cargo.toml index fdc4a8b3fe..0fe0735b23 100644 --- a/components/support/tracing/Cargo.toml +++ b/components/support/tracing/Cargo.toml @@ -3,6 +3,7 @@ name = "tracing-support" version = "0.1.0" edition = "2021" license = "MPL-2.0" +exclude = ["/android"] [dependencies] parking_lot = "0.12"