From 6b920caf9f3b22d93008c216aee3c3455fd2fbe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Mon, 22 Jan 2024 20:16:17 +0200 Subject: [PATCH 1/3] Bump to 0.50 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ecf0cd3..58e747c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" rust-version = "1.62.1" license = "MIT" name = "nu-ansi-term" -version = "0.49.0" +version = "0.50.0" repository = "https://github.com/nushell/nu-ansi-term" [lib] From f54d8ddc14e42760f8cc468c50b89b03595104d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Mon, 22 Jan 2024 20:23:00 +0200 Subject: [PATCH 2/3] Allow unused imports --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 504bf21..734d122 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -252,6 +252,7 @@ pub use display::*; mod write; mod windows; +#[allow(unused_imports)] pub use crate::windows::*; mod util; From a339e1da1a9d0762a2027a60837d73441ff5d1e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Mon, 22 Jan 2024 20:23:07 +0200 Subject: [PATCH 3/3] Reorder CI jobs --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dced090..9ffddff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,11 +19,11 @@ jobs: toolchain: ${{ matrix.rust }} components: rustfmt, clippy + - run: cargo fmt --check --all + - run: cargo clippy -- -D warnings - run: cargo build --all-features - run: cargo test - run: cargo test --all-features - - run: cargo fmt --check --all - - run: cargo clippy -- -D warnings - run: cargo run --example 256_colors - run: cargo run --example hyperlink - run: cargo run --example title