Skip to content

Commit

Permalink
Update clap to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthewizard committed May 27, 2024
1 parent 936a34d commit f9c8789
Show file tree
Hide file tree
Showing 12 changed files with 325 additions and 294 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/rust.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Continuous Integration

on:
push:
paths-ignore:
- "**/*.md"
pull_request:
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
rust-checks:
name: Rust Checks
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
action:
- command: build
args: --release
- command: fmt
args: --all -- --check --color always
- command: clippy
args: --all-features --workspace -- -D warnings
- command: test
args: --color always
steps:
- name: Install XCB
run: sudo apt install -y libxcb1-dev libxcbrandr0-dev libxcb-shm0-dev
- uses: actions/checkout@v4
- name: Enable caching
uses: Swatinem/rust-cache@v2
- name: Run command
run: cargo ${{ matrix.action.command }} ${{ matrix.action.args }}
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed
- Update clap to v4
- Update itertools to 0.13
- Accept arguments for disabled features.
Previously, a runtime error was returned.

### Added
- Add clippy and fmt to CI

### Removed
- `suggestions` and `color` features
- custom `--version` output

## [1.2.1] - 2024-03-15
## Changed
- Update dependencies (#20)
Expand Down
Loading

0 comments on commit f9c8789

Please sign in to comment.