From a23cd91a6e3b5503075c3fe12db22a36d7e8a35a Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 10 Apr 2025 18:39:48 -0400 Subject: [PATCH] remove tokenizers transitive dep package from hakari --- Cargo.lock | 1 - Cargo.toml | 12 +++++++++++- crates/workspace-build-acceleration/Cargo.toml | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dbeb1fe365..839b38be22 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14524,7 +14524,6 @@ dependencies = [ "derive_more", "digest 0.10.7", "either", - "esaxx-rs", "flate2", "futures 0.3.29", "futures-channel", diff --git a/Cargo.toml b/Cargo.toml index f322be3bd2..8f14956dc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -130,12 +130,22 @@ publish = false [workspace.dependencies] # Hakari workspace hack (faster compile times) -# Packages to remove from hakari to ensure we can build in Netlify, Github Actions (without package installs), etc.: +# +# If an unrelated leaf package starts causing general build problems, +# for packages including hakari, look up what depends on the bad package: +# +# `cargo tree --target all -p {BAD_PACKAGE_NAME} -i` +# +# Packages to remove from hakari to ensure we can build in Netlify, +# Github Actions (without package installs), etc.: +# # - cudarc +# - esaxx-rs # - ort # - tauri # - tauri-runtime-wry # - tauri-utils +# workspace-build-acceleration = { path = "crates/workspace-build-acceleration" } # External libs diff --git a/crates/workspace-build-acceleration/Cargo.toml b/crates/workspace-build-acceleration/Cargo.toml index 877dd8056b..1e33d350a9 100644 --- a/crates/workspace-build-acceleration/Cargo.toml +++ b/crates/workspace-build-acceleration/Cargo.toml @@ -41,7 +41,7 @@ crypto-common = { version = "0.1.6", default-features = false, features = ["std" deranged = { version = "0.3.11", default-features = false, features = ["powerfmt", "serde", "std"] } digest = { version = "0.10.7", features = ["mac", "oid", "std"] } either = { version = "1.12.0", features = ["serde"] } -esaxx-rs = { version = "0.1.10", default-features = false, features = ["cpp"] } +#esaxx-rs = { version = "0.1.10", default-features = false, features = ["cpp"] } flate2 = { version = "1.0.30" } futures = { version = "0.3.29", features = ["thread-pool"] } futures-channel = { version = "0.3.30", features = ["sink"] }