Skip to content

chore(deps): update rust crate xattr to v1.7.0 - #711

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/rust-dependencies
Oct 28, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/rust-dependencies

Conversation

@renovate

@renovate renovate Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
xattr workspace.dependencies minor 1.6.1 → 1.7.0

Release Notes

Stebalien/xattr (xattr)

v1.7.0

Compare Source

  • Fix to support a breaking change in rustix 1.1.6.
  • Exclude CI scripts from the published package.

Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Dependency updates label Oct 28, 2026
@renovate
renovate Bot enabled auto-merge (squash) October 28, 2026 02:25
@renovate
renovate Bot force-pushed the renovate/rust-dependencies branch 6 times, most recently from 298b0e5 to b3cc90f Compare October 28, 2026 03:39
@renovate renovate Bot changed the title chore(deps): update rust crate unicode-width to v0.2.3 chore(deps): update rust dependencies Oct 28, 2026
@renovate
renovate Bot force-pushed the renovate/rust-dependencies branch 7 times, most recently from c5998f0 to 5ba7da9 Compare October 28, 2026 06:27
@renovate
renovate Bot force-pushed the renovate/rust-dependencies branch 2 times, most recently from 1b94bba to cb57daf Compare October 28, 2026 06:50
hakula139 added a commit that referenced this pull request Oct 28, 2026
…rks one cell wide (#717)

## Summary

Renovate's #711 bumps unicode-width to 0.2.3, and every Rust and Nix job
then fails
`testing::tests::buffer_rows::read_an_offset_area_and_skip_the_cells_wide_symbols_cover`,
which reads `["界ガa", " "]` where it expects `["界ガa ", " "]`. The new
width table is correct, but ratatui double counts with it. ratatui-core
0.1.2 adds a cell to each halfwidth katakana sound mark (U+FF9E, U+FF9F)
in `CellWidth` (ratatui/ratatui#2499) because unicode-width used to
count them as zero-width, and unicode-width 0.2.3 counts them as one
cell itself (unicode-rs/unicode-width#89). Together they lay `ガ` out
over three cells while terminals draw it in two, so ratatui reserves a
cell after each mark that the terminal never draws. This PR holds
unicode-width at 0.2.2, where ratatui paints each mark one cell wide.

The hold has a cost: `ox`'s own measures, such as `wrap.rs` and the `ox
--list` padding, still count each mark as zero cells, as on `main`, one
cell less than ratatui and the terminal draw. unicode-width 0.2.3 would
fix `ox --list`, which writes to the terminal directly, but not the TUI,
since ratatui would then paint one cell more than `wrap.rs` measures.
Both gaps close once a fixed ratatui lets the bound go.

- **Bound:** `Cargo.toml` requires `unicode-width = ">=0.2, <0.2.3"`, so
`cargo update` and lock file maintenance stay on 0.2.2. ratatui-core
0.1.2 is its latest release, ratatui's `main` still adds the cell, and
its manifest accepts any unicode-width from 0.2.0, so no ratatui update
fixes the combination yet.
- **Renovate:** Renovate widens a range with a `<` bound by default, and
a local dry run proposed `>=0.2, <0.2.4` in the Rust dependencies group.
A `packageRules` entry with `allowedVersions: "<0.2.3"` stops that, so
Renovate's rebase of #711 leaves only xattr 1.7.0.
- **Upstream:** No ratatui issue or PR reports the double count yet.
#718 tracks dropping the bound once a ratatui-core release counts each
mark once.

## Test plan

- [x] With #711's lock on `main` (unicode-width 0.2.3, xattr 1.7.0),
`cargo test -p ox-tui --lib testing::tests` fails with the same
`["界ガa", " "]` as CI
- [x] With the bound, `cargo update -p unicode-width` locks nothing, and
a full `cargo update` changes only xattr 1.6.1 → 1.7.0, on which `cargo
test --workspace` passes
- [x] `renovate-config-validator --strict --no-global
.github/renovate.json` passes, and `renovate --platform=local
--dry-run=lookup --enabled-managers=cargo` proposes no unicode-width
update and keeps xattr 1.7.0 in `renovate/rust-dependencies`
- [x] `cargo fmt --check`, `cargo build`, `cargo clippy --all-targets`,
`cargo clippy`, and `cargo doc --no-deps` pass
- [x] `cargo llvm-cov`: 3543 tests pass with 99.17% line coverage
- [x] `cargo deny check` passes: advisories, bans, licenses, and sources
ok
- [x] `pnpm format`, `pnpm lint`, and `pnpm spellcheck` pass
- [x] CI passes on every job at 64f1c61, including Rust and Nix on
every platform, Lint, MSRV, and the release builds
@renovate
renovate Bot force-pushed the renovate/rust-dependencies branch from cb57daf to 58a76db Compare October 28, 2026 07:16
@renovate renovate Bot changed the title chore(deps): update rust dependencies chore(deps): update rust crate xattr to v1.7.0 Oct 28, 2026
@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@renovate
renovate Bot force-pushed the renovate/rust-dependencies branch from 58a76db to 5671cf2 Compare October 28, 2026 07:28
@renovate
renovate Bot merged commit 4e44ed7 into main Oct 28, 2026
17 checks passed
@renovate
renovate Bot deleted the renovate/rust-dependencies branch October 28, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant