Skip to content

Commit

Permalink
chore: bump MSRV to 1.76 and update dependencies
Browse files Browse the repository at this point in the history
Deprecations in `winnow` as well as increases in MSRVs in the
dependencies. Bumping the MSRV to the very latest Rust version as there
are no MSRV promises as of now and `clap` bumped their MSRV.
  • Loading branch information
dnaka91 committed Feb 9, 2024
1 parent 66a61e3 commit 554b05b
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
56 changes: 28 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resolver = "2"
version = "0.1.0"
authors = ["Dominik Nakamura <dnaka91@gmail.com"]
edition = "2021"
rust-version = "1.71"
rust-version = "1.76"
readme = "README.md"
homepage = "https://github.com/dnaka91/mabo"
repository = "https://github.com/dnaka91/mabo"
Expand All @@ -24,9 +24,9 @@ clone_on_ref_ptr = "warn"

[workspace.dependencies]
anstream = "0.6.11"
anstyle = "1.0.5"
anstyle = "1.0.6"
anyhow = "1.0.79"
clap = { version = "4.4.18", features = ["derive", "wrap_help"] }
clap = { version = "4.5.0", features = ["derive", "wrap_help"] }
glob = "0.3.1"
indoc = "2.0.4"
insta = { version = "1.34.0", features = ["glob"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ anstream.workspace = true
anstyle.workspace = true
mabo-derive = { path = "../mabo-derive" }
miette = { workspace = true, features = ["derive"] }
winnow = "0.5.37"
winnow = "0.5.39"

[dev-dependencies]
indoc.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions crates/mabo-parser/src/parser/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use winnow::{
dispatch,
error::ErrorKind,
stream::Location,
token::{one_of, tag, take_while},
token::{literal, one_of, take_while},
Parser,
};

Expand Down Expand Up @@ -91,8 +91,8 @@ fn parse_basic<'i>(input: &mut Input<'i>) -> Result<DataType<'i>, Cause> {
"&bytes" => empty.value(DataType::BytesRef),
_ => fail,
},
tag("box<string>").value(DataType::BoxString),
tag("box<bytes>").value(DataType::BoxBytes),
literal("box<string>").value(DataType::BoxString),
literal("box<bytes>").value(DataType::BoxBytes),
))
.parse_next(input)
}
Expand Down
2 changes: 1 addition & 1 deletion crates/mabo-project/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ignore = "0.4.22"
serde.workspace = true
spdx = "0.10.3"
thiserror.workspace = true
toml = "0.8.9"
toml = "0.8.10"

[lints]
workspace = true

0 comments on commit 554b05b

Please sign in to comment.