Skip to content

Commit 00d3c30

Browse files
committed
Update to 2021 edition (finally)
1 parent 00decee commit 00d3c30

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ members = [
77
"json_typegen_demo"
88
]
99
default-members = ["json_typegen_cli"]
10+
resolver = "3"
1011

1112
# Compiler config for slightly smaller WASM bundle
1213
#[profile.release]

json_typegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = "https://typegen.vestera.as"
1010
repository = "https://github.com/evestera/json_typegen"
1111
documentation = "https://docs.rs/json_typegen"
1212
readme = "README.md"
13-
edition = "2018"
13+
edition = "2021"
1414

1515
[features]
1616
default = ["remote-samples", "local-samples"]

json_typegen_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = "https://typegen.vestera.as"
1010
repository = "https://github.com/evestera/json_typegen"
1111
documentation = "https://docs.rs/json_typegen_cli"
1212
readme = "README.md"
13-
edition = "2018"
13+
edition = "2021"
1414

1515
[dependencies]
1616
clap = "2.33.3"

json_typegen_demo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.7.0"
44
authors = ["Erik Vesteraas <[email protected]>"]
55
license = "MIT/Apache-2.0"
66
publish = false
7-
edition = "2018"
7+
edition = "2021"
88

99
[dependencies]
1010
serde = "1.0"

json_typegen_shared/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = "https://typegen.vestera.as"
1010
repository = "https://github.com/evestera/json_typegen"
1111
documentation = "https://docs.rs/json_typegen_shared"
1212
readme = "README.md"
13-
edition = "2018"
13+
edition = "2021"
1414
exclude = ["/benches/"]
1515

1616
[features]

json_typegen_wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "json_typegen_wasm"
33
version = "0.7.0"
44
authors = ["Erik Vesteraas <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
publish = false
77
description = "WASM wrapper for json_typegen. Codegen from JSON samples."
88
homepage = "https://typegen.vestera.as"

0 commit comments

Comments
 (0)