Skip to content

Commit

Permalink
bump edition to 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Dec 27, 2021
1 parent 7cc3fa3 commit 18ab882
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recap-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "../README.md"
documentation = "https://docs.rs/recap-derive"
homepage = "https://github.com/softprops/recap"
repository = "https://github.com/softprops/recap"
edition = "2018"
edition = "2021"

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion recap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "recap"
version = "0.1.1"
authors = ["softprops <d.tangren@gmail.com>"]
edition = "2018"
edition = "2021"
license = "MIT"
description = "Deserialize typed structures from regex captures"
keywords = ["regex", "serde"]
Expand Down
1 change: 1 addition & 0 deletions recap/examples/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use std::error::Error;
\s+
(?P<baz>\S+)
"#)]
#[allow(dead_code)]
struct LogEntry {
foo: usize,
bar: bool,
Expand Down

0 comments on commit 18ab882

Please sign in to comment.