Skip to content

deps: cbindgen 0.29 and drop unused indicatif (removes atty, instant, number_prefix) - #2350

Open
jrparks wants to merge 3 commits into
tursodatabase:mainfrom
jrparks:up/dev-deps
Open

jrparks wants to merge 3 commits into
tursodatabase:mainfrom
jrparks:up/dev-deps

Conversation

@jrparks

@jrparks jrparks commented Dec 1, 2026

Copy link
Copy Markdown

Two manifest changes, plus the Cargo.lock update they cause.

  • bindings/c: cbindgen 0.24 -> 0.29. 0.24 depends on clap 3, which pulls atty (RUSTSEC-2021-0145 unsound, RUSTSEC-2024-0375 unmaintained). 0.29 doesn't. The build script is unchanged (cbindgen::generate(".")).
  • libsql-server: remove indicatif. It's declared but nothing in the tree uses it. It pulled instant (RUSTSEC-2024-0384) and number_prefix (RUSTSEC-2025-0119).

cargo audit on the lock: 44 -> 40 warnings, no new advisories, vulnerabilities unchanged (73).

Checked on rustc 1.85.0 with the commands CI runs: cargo fmt --check, RUSTFLAGS="-D warnings --cfg tokio_unstable" cargo check --all-targets --all-features --locked, and cargo nextest run --no-fail-fast --locked (431 passed, 6 skipped).

cbindgen 0.29 needs a newer indexmap and toml. The lock gains toml 0.9 and winnow (build-time only), and indexmap moves 2.2.6 -> 2.14.2 for the whole workspace (a compatible semver bump; the tests above ran with it).

ubuntu-latest moved to Ubuntu 26.04 between 2026-11-08 and 2026-11-11.
On 26.04 these jobs fail before reaching any test: CMake 4 rejects
wabt-sys 0.6.1 (cmake_minimum_required < 3.5) and the sqlite3_capi
bindings come out empty. The same jobs pass on 24.04, which every
green run so far used. Pinning restores CI for open PRs until the
toolchain issues are fixed properly.

Refs tursodatabase#2315
Go 1.27.4 refuses to link libsql_experimental.a: "disallowed LTO section
".llvmbc" in #cgo LDFLAGS". setup-go '>=1.21' picked 1.27.4 on the
first run of this PR; the last green run used 1.27.3. Pin until the
static library is built without embedded bitcode.

Refs tursodatabase#2315
…mber_prefix)

cbindgen 0.24 pulls atty (RUSTSEC-2021-0145 unsound, RUSTSEC-2024-0375
unmaintained) through clap 3. 0.29 does not. indicatif is declared in
libsql-server but never used; it pulled instant (RUSTSEC-2024-0384) and
number_prefix (RUSTSEC-2025-0119).

cargo audit on the lock: 44 -> 40 warnings, vulnerabilities unchanged (73).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant