diff --git a/.clippy.toml b/.clippy.toml index 97dd653d..23fc604a 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1 +1 @@ -msrv = "1.56.0" # MSRV +msrv = "1.64.0" # MSRV diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ae6b752..5a77738a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: - name: No-default features run: cargo test --workspace --no-default-features msrv: - name: "Check MSRV: 1.56.0" + name: "Check MSRV: 1.64.0" runs-on: ubuntu-latest steps: - name: Checkout repository @@ -59,7 +59,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.56.0 # MSRV + toolchain: 1.64.0 # MSRV profile: minimal override: true - uses: Swatinem/rust-cache@v2 @@ -115,7 +115,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: 1.56.0 # MSRV + toolchain: 1.64.0 # MSRV profile: minimal override: true components: clippy diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index 7605a21b..759193a9 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -57,9 +57,9 @@ jobs: strategy: matrix: rust: - - 1.56.0 # MSRV + - 1.64.0 # MSRV - stable - continue-on-error: ${{ matrix.rust != '1.56.0' }} # MSRV + continue-on-error: ${{ matrix.rust != '1.64.0' }} # MSRV runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/Cargo.toml b/Cargo.toml index d7671484..40933cbe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,17 @@ [workspace] members = ["crates/*"] resolver = "2" + +[workspace.package] +license = "MIT OR Apache-2.0" +edition = "2021" +rust-version = "1.64.0" # MSRV +include = [ + "build.rs", + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "benches/**/*", + "examples/**/*" +] diff --git a/crates/anstyle-ansi-term/Cargo.toml b/crates/anstyle-ansi-term/Cargo.toml index c247b2b3..3cf183bb 100644 --- a/crates/anstyle-ansi-term/Cargo.toml +++ b/crates/anstyle-ansi-term/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-ansi-term" version = "0.1.2" description = "Adapt between ansi_term and anstyle" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "ansi_term"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle-crossterm/Cargo.toml b/crates/anstyle-crossterm/Cargo.toml index b4e65955..8c996bd3 100644 --- a/crates/anstyle-crossterm/Cargo.toml +++ b/crates/anstyle-crossterm/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-crossterm" version = "0.1.1" description = "Adapt between crossterm and anstyle" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "crossterm"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle-git/Cargo.toml b/crates/anstyle-git/Cargo.toml index ecb7c2f2..d097a8ba 100644 --- a/crates/anstyle-git/Cargo.toml +++ b/crates/anstyle-git/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-git" version = "0.2.3" description = "Parse Git Style Descriptions" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "git", "colorparse"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle-lossy/Cargo.toml b/crates/anstyle-lossy/Cargo.toml index c8dd664f..53e55bfd 100644 --- a/crates/anstyle-lossy/Cargo.toml +++ b/crates/anstyle-lossy/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-lossy" version = "0.1.1" description = "Lossy conversion between ANSI Color Codes" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle-ls/Cargo.toml b/crates/anstyle-ls/Cargo.toml index 979a8b87..a139eeb0 100644 --- a/crates/anstyle-ls/Cargo.toml +++ b/crates/anstyle-ls/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-ls" version = "0.1.1" description = "Parse LS_COLORS Style Descriptions" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "ls", "colorparse"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle-owo-colors/Cargo.toml b/crates/anstyle-owo-colors/Cargo.toml index 985437ff..17214ffc 100644 --- a/crates/anstyle-owo-colors/Cargo.toml +++ b/crates/anstyle-owo-colors/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-owo-colors" version = "0.2.2" description = "Adapt between owo-colors and anstyle" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "owo-colors"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle-syntect/Cargo.toml b/crates/anstyle-syntect/Cargo.toml index 5202b693..f2790417 100644 --- a/crates/anstyle-syntect/Cargo.toml +++ b/crates/anstyle-syntect/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-syntect" version = "0.1.2" description = "Adapt between syntect and anstyle" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "syntect"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle-termcolor/Cargo.toml b/crates/anstyle-termcolor/Cargo.toml index ffdf4df0..6fd8a781 100644 --- a/crates/anstyle-termcolor/Cargo.toml +++ b/crates/anstyle-termcolor/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-termcolor" version = "0.2.2" description = "Adapt between termcolor and anstyle" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "termcolor"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle-yansi/Cargo.toml b/crates/anstyle-yansi/Cargo.toml index 957ee3e8..b21ffa07 100644 --- a/crates/anstyle-yansi/Cargo.toml +++ b/crates/anstyle-yansi/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle-yansi" version = "0.2.2" description = "Adapt between yansi and anstyle" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "yansi"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] pre-release-replacements = [ diff --git a/crates/anstyle/Cargo.toml b/crates/anstyle/Cargo.toml index a3ba9424..dece8bc7 100644 --- a/crates/anstyle/Cargo.toml +++ b/crates/anstyle/Cargo.toml @@ -2,22 +2,14 @@ name = "anstyle" version = "0.2.5" description = "ANSI text styling" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-cli/anstyle.git" homepage = "https://github.com/rust-cli/anstyle" categories = ["command-line-interface"] keywords = ["ansi", "terminal", "color", "no_std"] -include = [ - "build.rs", - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "benches/**/*", - "examples/**/*" -] -edition = "2021" -rust-version = "1.56.0" +license.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] tag-prefix = ""