Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps and switch to 2021 edition #715

Merged
merged 2 commits into from Oct 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "pest_bootstrap"
description = "pest bootstrap script"
version = "0.0.0"
edition = "2018"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
repository = "https://github.com/pest-parser/pest"
Expand Down
2 changes: 1 addition & 1 deletion derive/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "pest_derive"
description = "pest's derive macro"
version = "2.4.0"
edition = "2018"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
repository = "https://github.com/pest-parser/pest"
Expand Down
2 changes: 1 addition & 1 deletion generator/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "pest_generator"
description = "pest code generator"
version = "2.4.0"
edition = "2018"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
repository = "https://github.com/pest-parser/pest"
Expand Down
2 changes: 1 addition & 1 deletion grammars/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "pest_grammars"
description = "pest popular grammar implementations"
version = "2.4.0"
edition = "2018"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
repository = "https://github.com/pest-parser/pest"
Expand Down
2 changes: 1 addition & 1 deletion meta/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "pest_meta"
description = "pest meta language parser and validator"
version = "2.4.0"
edition = "2018"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
repository = "https://github.com/pest-parser/pest"
Expand Down
3 changes: 2 additions & 1 deletion meta/src/lib.rs
Expand Up @@ -28,7 +28,8 @@ where
{
result.unwrap_or_else(|e| {
panic!(
"grammar error\n\n{}",
"{}{}",
"grammar error\n\n".to_owned(),
&e.into_iter()
.map(|error| format!("{}", error))
.collect::<Vec<_>>()
Expand Down
10 changes: 5 additions & 5 deletions pest/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "pest"
description = "The Elegant Parser"
version = "2.4.0"
edition = "2018"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
repository = "https://github.com/pest-parser/pest"
Expand All @@ -26,9 +26,9 @@ const_prec_climber = []
fast-line-col = ["memchr", "bytecount"]

[dependencies]
ucd-trie = { version = "0.1.1", default-features = false }
serde = { version = "1.0.89", optional = true }
serde_json = { version = "1.0.39", optional = true}
thiserror = { version = "1.0.31", optional = true }
ucd-trie = { version = "0.1.5", default-features = false }
serde = { version = "1.0.145", optional = true }
serde_json = { version = "1.0.85", optional = true}
thiserror = { version = "1.0.37", optional = true }
memchr = { version = "2", optional = true }
bytecount = { version = "0.6", optional = true }
2 changes: 1 addition & 1 deletion vm/Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "pest_vm"
description = "pest grammar virtual machine"
version = "2.4.0"
edition = "2018"
edition = "2021"
authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
homepage = "https://pest-parser.github.io/"
repository = "https://github.com/pest-parser/pest"
Expand Down