Skip to content

Commit b0b8c6e

Browse files
committed
Bump edition to 2024
1 parent 4d2feca commit b0b8c6e

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.8.0"
44
rust-version = "1.85"
55
autotests = false
66
authors = ["Matthias Seitz <[email protected]>"]
7-
edition = "2021"
7+
edition = "2024"
88
license = "MIT OR Apache-2.0"
99
readme = "README.md"
1010
homepage = "https://github.com/mattsse/chromiumoxide"

chromiumoxide_cdp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name = "chromiumoxide_cdp"
33
version = "0.8.0"
44
authors = ["Matthias Seitz <[email protected]>"]
5-
edition = "2021"
6-
rust-version = "1.70"
5+
edition = "2024"
6+
rust-version = "1.85"
77
description = "Contains all the generated types for chromiumoxide"
88
license = "MIT OR Apache-2.0"
99
homepage = "https://github.com/mattsse/chromiumoxide"

chromiumoxide_fetcher/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name = "chromiumoxide_fetcher"
33
version = "0.8.0"
44
authors = ["Matthias Seitz <[email protected]>"]
5-
edition = "2021"
6-
rust-version = "1.70"
5+
edition = "2024"
6+
rust-version = "1.85"
77
license = "MIT OR Apache-2.0"
88
description = "Contains a chromium fetcher"
99
homepage = "https://github.com/mattsse/chromiumoxide"

chromiumoxide_pdl/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name = "chromiumoxide_pdl"
33
version = "0.8.0"
44
authors = ["Matthias Seitz <[email protected]>"]
5-
edition = "2021"
6-
rust-version = "1.70"
5+
edition = "2024"
6+
rust-version = "1.85"
77
license = "MIT OR Apache-2.0"
88
description = "Contains a PDL parser and rust generator"
99
homepage = "https://github.com/mattsse/chromiumoxide"

chromiumoxide_pdl/src/pdl/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ pub fn parse_pdl(input: &str) -> Result<Protocol<'_>, Error> {
221221
// enum
222222
if line.starts_with(" enum") {
223223
member_enum = false;
224-
if let Some(Element::Type(ref mut ty)) = element.as_mut() {
224+
if let Some(Element::Type(ty)) = element.as_mut() {
225225
if ty.item.is_none() {
226226
ty.item = Some(Item::Enum(vec![]));
227227
continue;

chromiumoxide_types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "chromiumoxide_types"
33
version = "0.8.0"
44
authors = ["Matthias Seitz <[email protected]>"]
5-
edition = "2021"
5+
edition = "2024"
66
description = "Contains the essential types necessary for using chromiumoxide"
77
license = "MIT OR Apache-2.0"
88
homepage = "https://github.com/mattsse/chromiumoxide"

0 commit comments

Comments
 (0)