Releases: brianredbeard/rucat
Releases · brianredbeard/rucat
Release 0.2.0
This is the initial tagged release of rucat.
Features
- Multiple Output Formats: Supports
ansi,utf8,markdown,ascii,xml,json, andpretty(syntax highlighting) formats. - Line Numbering: Prepend line numbers to output with the
-n/--numbersflag. - Clipboard Support: Copy output directly to the system clipboard with the
-c/--copyflag. - Flexible Input: Process files, directories,
stdin, and NUL-separated file lists from commands likefind. - Path Manipulation: Use
--stripto remove leading path components from file headers. - Configuration: Set default options via a
config.tomlfile in the user's config directory.
Bug Fixes
- Resolved Rust 2024 Edition compatibility lints (
ref mutbindings). - Silenced unavoidable duplicate dependency warnings flagged by
clippy::cargo. - Corrected conditional compilation guards for the clipboard feature to eliminate unused variable warnings.
- Fixed logic in the release workflow to ensure smoke tests run correctly on macOS ARM builds.
Build
- Pinned the Rust toolchain to
stableusingrust-toolchain.tomlfor consistent builds. - Regenerated
Cargo.lockto resolve dependency graph corruption. - Configured
cargo denyto allow an unmaintained transitive dependency (yaml-rust) and unavoidable duplicate crate versions. - Removed invalid
.clippy.tomlconfiguration file.
Continuous Integration
- Updated
check.shto accurately simulate the CI environment by isolatingCARGO_HOME. - Ensured all build and test commands in the release workflow consistently use the correct target architecture.
- Standardized shell execution to
bashacross all operating systems in CI workflows for improved reliability.
Refactor
- Improved function signatures in the main binary to resolve
clippy::too_many_argumentsandclippy::needless_pass_by_valuelints.