Move Veloren to 2021 edition

This commit is contained in:
juliancoffee 2022-01-26 16:46:40 +02:00
parent 4fe5fdad4a
commit fba89517de
19 changed files with 22 additions and 21 deletions

View File

@ -2,7 +2,7 @@
name = "veloren-client"
version = "0.11.0"
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
edition = "2018"
edition = "2021"
[features]
simd = ["vek/platform_intrinsics"]

View File

@ -1,6 +1,6 @@
[package]
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-common-base"
description = "minimal dependency for crates to now depend on whole common"
version = "0.10.0"

View File

@ -1,6 +1,6 @@
[package]
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-common-ecs"
version = "0.10.0"

View File

@ -1,6 +1,6 @@
[package]
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>", "Imbris <imbrisf@gmail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-common-frontend"
description = "common stuff that is used by server-cli and voxygen directly"
version = "0.10.0"

View File

@ -1,6 +1,6 @@
[package]
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-common-net"
version = "0.10.0"

View File

@ -1,6 +1,6 @@
[package]
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-common-state"
version = "0.10.0"

View File

@ -1,6 +1,6 @@
[package]
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-common-systems"
version = "0.10.0"

View File

@ -2,7 +2,7 @@
name = "veloren-network"
version = "0.3.0"
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
edition = "2018"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -3,7 +3,7 @@ name = "veloren-network-protocol"
description = "pure Protocol without any I/O itself"
version = "0.6.0"
authors = ["Marcel Märtens <marcel.cochem@googlemail.com>"]
edition = "2018"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -172,6 +172,7 @@ mod tests {
let [mut p1, p2] = ac_bound(10, None);
let r1 = tokio::spawn(async move { p1.initialize(true, Pid::fake(2), 1337).await });
let r2 = tokio::spawn(async move {
let _ = &p2;
let _ = p2;
});
let (r1, _) = tokio::join!(r1, r2);

View File

@ -2,7 +2,7 @@
name = "veloren-plugin-api"
version = "0.1.0"
authors = ["ccgauche <gaucheron.laurent@gmail.com>"]
edition = "2018"
edition = "2021"
[dependencies]
serde = { version = "1.0.118", features = ["derive"] }

View File

@ -2,7 +2,7 @@
name = "veloren-plugin-derive"
version = "0.1.0"
authors = ["ccgauche <gaucheron.laurent@gmail.com>"]
edition = "2018"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,7 +2,7 @@
name = "veloren-plugin-rt"
version = "0.1.0"
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
edition = "2018"
edition = "2021"
[dependencies]
plugin-api = { package = "veloren-plugin-api", path = "../api" }

View File

@ -2,7 +2,7 @@
name = "veloren-server-cli"
version = "0.11.0"
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
edition = "2018"
edition = "2021"
[package.metadata.nix]
build = true

View File

@ -1,6 +1,6 @@
[package]
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>", "Imbris <imbrisf@gmail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-voxygen-anim"
version = "0.10.0"

View File

@ -1,6 +1,6 @@
[package]
authors = ["Imbris <imbrisf@gmail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-voxygen-anim-dyn"
version = "0.10.0"

View File

@ -2,7 +2,7 @@
name = "veloren-voxygen-dynlib"
version = "0.1.0"
authors = ["Ben Wallis <atomyc@gmail.com>"]
edition = "2018"
edition = "2021"
[dependencies]
find_folder = {version = "0.3.0"}

View File

@ -1,7 +1,7 @@
[package]
authors = ["Ben Wallis <atomyc@gmail.com>"]
name = "veloren-voxygen-egui"
edition = "2018"
edition = "2021"
version = "0.9.0"
[features]

View File

@ -1,6 +1,6 @@
[package]
authors = ["Imbris <imbrisf@gmail.com>"]
edition = "2018"
edition = "2021"
name = "veloren-voxygen-egui-dyn"
version = "0.9.0"