Commit 8b33da9
committed
fix(build): patch core2 to upstream git to unblock fresh resolution
core2 0.4.0 is yanked on crates.io and no 0.4.1+ release exists. The
libflate / libflate_lz77 chain (pulled in transitively via nodedb-fts'
optional jieba feature → include-flate → include-flate-compress) still
requires core2 ^0.4, so any fresh dependency resolution — such as CI
running without a committed lockfile — fails with "version 0.4.0 is
yanked".
Because NodeDB is a library workspace (nodedb-fts and others are
published to crates.io), committing Cargo.lock is not appropriate.
Patching directly to the upstream technocreatives/core2 git repo at the
commit that corresponds to 0.4.0 lets cargo bypass the registry yank
check while building bit-identical code.
Verified: `cargo check --workspace --all-features` and
`cargo clippy --workspace --all-targets --all-features -- -D warnings`
both succeed with a fresh lockfile.
Remove this patch once libflate releases a version that drops the core2
dependency.1 parent a0a94cc commit 8b33da9
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
0 commit comments