Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify & update #237

Merged
merged 2 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
override: true
- name: Checkout
uses: actions/checkout@v3
- name: Copy MSRV Lock
run: make msrv-lock
- name: Build
- name: Check
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}
run: make check
Expand Down Expand Up @@ -136,8 +134,6 @@ jobs:
curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v4.0.0/wasmtime-v4.0.0-x86_64-linux.tar.xz
tar xvf wasmtime-v4.0.0-x86_64-linux.tar.xz
echo `pwd`/wasmtime-v4.0.0-x86_64-linux >> $GITHUB_PATH
- name: Copy MSRV Lock
run: make msrv-lock
- name: Test
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "0.15.10"
keywords = ["cli", "terminal", "colors", "console", "ansi"]
authors = ["Armin Ronacher <[email protected]>"]
license = "MIT"
edition = "2018"
edition = "2021"
homepage = "https://github.com/console-rs/console"
repository = "https://github.com/console-rs/console"
documentation = "https://docs.rs/console"
Expand Down
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: test

check:
@cargo check --all-features
@cargo check --lib --all-features

build:
@cargo build --all-features
Expand All @@ -17,9 +17,9 @@ test:

check-minver:
@echo "MINVER CHECK"
@cargo minimal-versions check
@cargo minimal-versions check --all-features
@cargo minimal-versions check --no-default-features
@cargo minimal-versions check --lib
@cargo minimal-versions check --lib --all-features
@cargo minimal-versions check --lib --no-default-features

format:
@rustup component add rustfmt 2> /dev/null
Expand All @@ -33,8 +33,4 @@ lint:
@rustup component add clippy 2> /dev/null
@cargo clippy --examples --tests

msrv-lock:
@cargo update -p proptest --precise=1.0.0
@cargo update -p byteorder --precise=1.4.0

.PHONY: all doc build check test format format-check lint check-minver msrv-lock
Loading