Skip to content

Commit

Permalink
feat: specify MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
loyd committed Jun 17, 2024
1 parent 87670c0 commit 8d68d8e
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1
RUST_LOG: elfo
MSRV: 1.76.0

jobs:
build:
Expand All @@ -20,6 +21,18 @@ jobs:
- run: rustup show active-toolchain -v
- run: cargo build --all-targets --all-features

msrv:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "" # remove -Dwarnings
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install ${{ env.MSRV }} --profile minimal
- run: rustup override set ${{ env.MSRV }}
- run: rustup show active-toolchain -v
- run: cargo build
- run: cargo build --all-features

rustfmt:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased] - ReleaseDate
### Added
- Specify MSRV as 1.76.
- logger: log truncation up to the `max_line_size` configuration parameter ([#128]).

### Changed
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ authors = ["Paul Loyd <[email protected]>"]
license = "MIT"
edition = "2021"
readme = "README.md"
rust-version = "1.76.0" # update CI if changed

[workspace.dependencies]
stability = "0.2.0"
Expand Down
1 change: 1 addition & 0 deletions benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[dev-dependencies]
elfo = { path = "../elfo" }
Expand Down
1 change: 1 addition & 0 deletions elfo-configurer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-dumper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-logger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-macros-impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-pinger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-telemeter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions elfo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[lints]
workspace = true
Expand Down
1 change: 1 addition & 0 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
rust-version.workspace = true

[features]
unstable = ["elfo/unstable", "elfo-telemeter/unstable"]
Expand Down

0 comments on commit 8d68d8e

Please sign in to comment.