From 0036c46ea10e806c028e69378c487af62f649442 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 14 Jun 2024 19:10:18 +0800 Subject: [PATCH] clean up warnings in the latest rust --- apps/vault/tools/vaultbackup-rs/Cargo.toml | 2 +- kernel/Cargo.toml | 6 +++--- loader/Cargo.toml | 4 ++-- services/aes/Cargo.toml | 2 +- services/content-plugin-api/Cargo.toml | 2 +- services/gam/Cargo.toml | 2 +- services/xous-swapper/Cargo.toml | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/vault/tools/vaultbackup-rs/Cargo.toml b/apps/vault/tools/vaultbackup-rs/Cargo.toml index 8415529be..28fbb32bd 100644 --- a/apps/vault/tools/vaultbackup-rs/Cargo.toml +++ b/apps/vault/tools/vaultbackup-rs/Cargo.toml @@ -10,7 +10,7 @@ argh = "0.1.8" ctaphid = "0.1.1" cbor = { path = "../../libraries/cbor" } backup = { path = "../../libraries/backup" } -hidapi = { version = "1.4.1", default_features = false } +hidapi = { version = "1.4.1", default-features = false } serde_json = "1.0.82" serde = { version = "1.0.138", features = ["derive"] } hex = "0.4.3" diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index 54fe6908b..161105a78 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -14,9 +14,9 @@ stats_alloc = { version = "0.1.8", optional = true } xous-kernel = { package = "xous", version = "0.9.61", features = [ "forget-memory-messages", ] } -utralib = { version = "0.1.24", optional = true, default_features = false } -rand_chacha = { version = "0.3.1", optional = true, default_features = false } -cramium-hal = { path = "../libs/cramium-hal", optional = true, default_features = false } +utralib = { version = "0.1.24", optional = true, default-features = false } +rand_chacha = { version = "0.3.1", optional = true, default-features = false } +cramium-hal = { path = "../libs/cramium-hal", optional = true, default-features = false } loader = { path = "../loader", optional = true, features = ["swap"] } [target.'cfg(any(windows,unix))'.dev-dependencies] diff --git a/loader/Cargo.toml b/loader/Cargo.toml index 0464dcaa6..6145d066b 100644 --- a/loader/Cargo.toml +++ b/loader/Cargo.toml @@ -17,7 +17,7 @@ utralib = { version = "0.1.24", optional = true, default-features = false } armv7 = { git = "https://github.com/Foundation-Devices/armv7.git", branch = "update", optional = true } atsama5d27 = { git = "https://github.com/Foundation-Devices/atsama5d27.git", branch = "master", optional = true } sha2-loader = { path = "./sha2-loader", default-features = false, optional = true } -cramium-hal = { path = "../libs/cramium-hal", optional = true, default_features = false } +cramium-hal = { path = "../libs/cramium-hal", optional = true, default-features = false } xous-pl230 = { path = "../libs/xous-pl230", optional = true, features = [ "tests", "pio", @@ -33,7 +33,7 @@ aes-gcm-siv = { version = "0.11.1", default-features = false, features = [ "aes", ], optional = true } crc = { version = "1.8.1", default-features = false } -rand_chacha = { version = "0.3.1", optional = true, default_features = false } +rand_chacha = { version = "0.3.1", optional = true, default-features = false } pio-proc = { version = "0.2.2", optional = true } pio = { version = "0.2.1", optional = true } riscv = { version = "0.5.6", package = "xous-riscv" } diff --git a/services/aes/Cargo.toml b/services/aes/Cargo.toml index db531e65f..4abc06c6b 100644 --- a/services/aes/Cargo.toml +++ b/services/aes/Cargo.toml @@ -8,7 +8,7 @@ description = "AES library for Xous" # Dependency versions enforced by Cargo.lock. [dependencies] cipher = "0.4.2" -zeroize = { version = "1.6.0", optional = true, default_features = false } +zeroize = { version = "1.6.0", optional = true, default-features = false } [features] hazmat = [] # Expose cryptographically hazardous APIs diff --git a/services/content-plugin-api/Cargo.toml b/services/content-plugin-api/Cargo.toml index 491647509..2d80cd768 100644 --- a/services/content-plugin-api/Cargo.toml +++ b/services/content-plugin-api/Cargo.toml @@ -8,7 +8,7 @@ description = "Content Canvas Plugin Common APIs" # Dependency versions enforced by Cargo.lock. [dependencies] xous = "0.9.61" -rkyv = { version = "0.4.3", default_features = false } +rkyv = { version = "0.4.3", default-features = false } graphics-server = { path = "../graphics-server" } # this is used by the IMEF portion of the API xous-names = { package = "xous-api-names", version = "0.9.59" } # used by the IMEF for registering listeners log = "0.4.14" diff --git a/services/gam/Cargo.toml b/services/gam/Cargo.toml index e0ad848be..b216a1767 100644 --- a/services/gam/Cargo.toml +++ b/services/gam/Cargo.toml @@ -28,7 +28,7 @@ rkyv = { version = "0.4.3", default-features = false, features = [ ] } susres = { package = "xous-api-susres", version = "0.9.57", optional = true } # used for the sleep now menu item -cram-hal-service = { path = "../cram-hal-service", optional = true, default_features = false } +cram-hal-service = { path = "../cram-hal-service", optional = true, default-features = false } enum_dispatch = "0.3.7" # used for trait-based dispatch off of multiple layout objects. locales = { path = "../../locales" } diff --git a/services/xous-swapper/Cargo.toml b/services/xous-swapper/Cargo.toml index 91e412af7..b2b08901f 100644 --- a/services/xous-swapper/Cargo.toml +++ b/services/xous-swapper/Cargo.toml @@ -21,7 +21,7 @@ loader = { path = "../../loader", features = ["swap"] } aes-gcm-siv = { version = "0.11.1", default-features = false, features = [ "aes", ] } -cramium-hal = { path = "../../libs/cramium-hal", optional = true, default_features = false } +cramium-hal = { path = "../../libs/cramium-hal", optional = true, default-features = false } utralib = { version = "0.1.24", optional = true, default-features = false }