meta: Update to Rust Edition 2021

This commit is contained in:
David Mak 2023-09-15 10:25:50 +08:00
parent ff27e22ee6
commit eb63f2ad48
8 changed files with 8 additions and 7 deletions

View File

@ -8,6 +8,7 @@ members = [
"nac3artiq",
"runkernel",
]
resolver = "2"
[profile.release]
debug = true

View File

@ -2,7 +2,7 @@
name = "nac3artiq"
version = "0.1.0"
authors = ["M-Labs"]
edition = "2018"
edition = "2021"
[lib]
name = "nac3artiq"

View File

@ -2,7 +2,7 @@
name = "nac3ast"
version = "0.1.0"
authors = ["RustPython Team", "M-Labs"]
edition = "2018"
edition = "2021"
[features]
default = ["constant-optimization", "fold"]

View File

@ -2,7 +2,7 @@
name = "nac3core"
version = "0.1.0"
authors = ["M-Labs"]
edition = "2018"
edition = "2021"
[dependencies]
itertools = "0.11"

View File

@ -2,7 +2,7 @@
name = "nac3ld"
version = "0.1.0"
authors = ["M-Labs"]
edition = "2018"
edition = "2021"
[dependencies]
byteorder = { version = "1.4", default-features = false }

View File

@ -5,7 +5,7 @@ description = "Parser for python code."
authors = [ "RustPython Team", "M-Labs" ]
build = "build.rs"
license = "MIT"
edition = "2018"
edition = "2021"
[build-dependencies]
lalrpop = "0.20"

View File

@ -2,7 +2,7 @@
name = "nac3standalone"
version = "0.1.0"
authors = ["M-Labs"]
edition = "2018"
edition = "2021"
[dependencies]
parking_lot = "0.12"

View File

@ -2,7 +2,7 @@
name = "runkernel"
version = "0.1.0"
authors = ["M-Labs"]
edition = "2018"
edition = "2021"
[dependencies]
libloading = "0.8"