forked from M-Labs/nac3
1
0
Fork 0

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", "nac3artiq",
"runkernel", "runkernel",
] ]
resolver = "2"
[profile.release] [profile.release]
debug = true debug = true

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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