Skip to content

Commit 8ca5b0f

Browse files
bchaliosJonathanWoollett-Light
authored andcommitted
rust: update to edition2021
No need to require edition 2018 any more. Signed-off-by: Babis Chalios <[email protected]>
1 parent 6aa7d8a commit 8ca5b0f

File tree

21 files changed

+22
-22
lines changed

21 files changed

+22
-22
lines changed

src/api_server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "api_server"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/arch/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "arch"
33
version = "0.1.0"
44
authors = ["The Chromium OS Authors"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/arch_gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "arch_gen"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/cpuid/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cpuid"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/devices/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "devices"
33
version = "0.1.0"
44
authors = ["The Chromium OS Authors"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/dumbo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "dumbo"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/firecracker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "firecracker"
33
version = "1.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
build = "../../build.rs"
77
description = "Firecracker enables you to deploy workloads in lightweight virtual machines, called microVMs, which provide enhanced security and workload isolation over traditional VMs, while enabling the speed and resource efficiency of containers."
88
homepage = "https://firecracker-microvm.github.io/"

src/io_uring/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "io_uring"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/jailer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "jailer"
33
version = "1.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
build = "../../build.rs"
77
description = "Process for starting Firecracker in production scenarios; applies a cgroup/namespace isolation barrier and then drops privileges."
88
homepage = "https://firecracker-microvm.github.io/"

src/logger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "logger"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/mmds/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mmds"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/net_gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
name = "net_gen"
33
version = "0.1.0"
44
authors = ["The Chromium OS Authors"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"

src/rate_limiter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "rate_limiter"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/rebase-snap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "rebase-snap"
33
version = "1.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
build = "../../build.rs"
77
license = "Apache-2.0"
88

src/seccompiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "seccompiler"
33
version = "1.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
build = "../../build.rs"
77
description = "Program that compiles multi-threaded seccomp-bpf filters expressed as JSON into raw BPF programs, serializing them and outputting them to a file."
88
homepage = "https://firecracker-microvm.github.io/"

src/snapshot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "snapshot"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
autobenches = false
77
license = "Apache-2.0"
88

src/utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "utils"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/virtio_gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "virtio_gen"
33
version = "0.1.0"
44
authors = ["The Chromium OS Authors"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/vm-memory/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "vm-memory"
33
version = "0.3.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

src/vmm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "vmm"
33
version = "0.1.0"
44
authors = ["Amazon Firecracker team <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "Apache-2.0"
77

88
[dependencies]

tests/integration_tests/build/test_coverage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
# Checkout the cpuid crate. In the future other
2424
# differences may appear.
2525
if utils.is_io_uring_supported():
26-
COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.47}
26+
COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.39}
2727
else:
28-
COVERAGE_DICT = {"Intel": 80.15, "AMD": 79.48, "ARM": 79.68}
28+
COVERAGE_DICT = {"Intel": 80.15, "AMD": 79.48, "ARM": 79.60}
2929

3030
PROC_MODEL = proc.proc_type()
3131

0 commit comments

Comments
 (0)