-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from artichoke/dev/lopopolo-core-error
Upgrade MSRV to 1.83.0 and implement `Error` from `core::error`
- Loading branch information
Showing
5 changed files
with
15 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,26 +57,21 @@ jobs: | |
- name: Install Rust toolchain | ||
uses: artichoke/setup-rust/[email protected] | ||
with: | ||
toolchain: "1.42.0" | ||
toolchain: "1.83.0" | ||
|
||
- name: Compile | ||
run: cargo build --verbose | ||
|
||
# skip tests because dev dependencies have a higher MSRV than boba does. | ||
- name: Compile tests | ||
if: false | ||
run: cargo test --no-run | ||
|
||
- name: Test | ||
if: false | ||
run: cargo test | ||
|
||
- name: Test with all features | ||
if: false | ||
run: cargo test --all-features | ||
|
||
- name: Test with no default features | ||
if: false | ||
run: cargo test --no-default-features | ||
|
||
rust-minimal-versions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ name = "boba" | |
version = "5.0.0" # remember to set `html_root_url` in `src/lib.rs`. | ||
authors = ["Ryan Lopopolo <[email protected]>"] | ||
license = "MIT" | ||
edition = "2018" | ||
rust-version = "1.42.0" | ||
edition = "2021" | ||
rust-version = "1.83.0" | ||
readme = "README.md" | ||
repository = "https://github.com/artichoke/boba" | ||
documentation = "https://docs.rs/boba" | ||
|
@@ -15,10 +15,6 @@ categories = ["encoding", "no-std"] | |
include = ["src/**/*", "tests/**/*", "LICENSE", "README.md"] | ||
|
||
[features] | ||
default = ["std"] | ||
# Enable dependency on `std`, the Rust standard library. This feature enables | ||
# `std::error::Error` implementations on the error types in `boba`. | ||
std = [] | ||
|
||
[dependencies] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters