Skip to content

Conversation

@jqnatividad
Copy link
Collaborator

as we made changes that will not be merged into tabwriter, so we ended up creating a renamed fork.

Doing this instead of using patch section of Cargo.toml for easier maintenance

we had several required changes that will not be merged to tabwriter, so we ended up creating a renamed fork

also bumped qsv-sniffer to switch it to qsv-tabwriter
@jqnatividad jqnatividad requested a review from Copilot September 25, 2025 01:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the tabwriter dependency with a renamed fork qsv-tabwriter to incorporate custom changes that won't be merged upstream. This simplifies maintenance by avoiding patch sections in Cargo.toml.

Key changes:

  • Replace all tabwriter imports with qsv_tabwriter across multiple command modules
  • Add qsv-tabwriter = "2" dependency and remove the old tabwriter dependency
  • Remove the git patch configuration for the old tabwriter fork

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Cargo.toml Updates dependencies by adding qsv-tabwriter and removing tabwriter along with its git patch
src/cmd/to.rs Updates TabWriter instantiation to use qsv_tabwriter
src/cmd/table.rs Updates import statement to use qsv_tabwriter for TabWriter and Alignment
src/cmd/sniff.rs Updates import statement to use qsv_tabwriter for TabWriter
src/cmd/headers.rs Updates import statement to use qsv_tabwriter for TabWriter
src/cmd/flatten.rs Updates import statement to use qsv_tabwriter for TabWriter

@jqnatividad jqnatividad merged commit 26d7e65 into master Sep 25, 2025
8 of 16 checks passed
@jqnatividad jqnatividad deleted the qsv-tabwriter branch September 25, 2025 02:10
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.

2 participants