From fec180890b4ab511d6ad825b37013c7d732d26bf Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 10 Jan 2022 15:49:30 +0800 Subject: [PATCH] nail down dependencies in the related build toolchain flow these are secondary attack surfaces -- code that isn't directly in the kernel, but involved in the manipulation, handling, grooming and preparation of source and binary files --- loader/Cargo.toml | 3 +-- svd2utra/Cargo.toml | 8 ++++---- tools/Cargo.toml | 8 ++++---- xous-rs/Cargo.toml | 10 +++++----- xtask/Cargo.toml | 10 +++++----- 5 files changed, 19 insertions(+), 20 deletions(-) diff --git a/loader/Cargo.toml b/loader/Cargo.toml index 21a5f8d9c..b82ca0884 100644 --- a/loader/Cargo.toml +++ b/loader/Cargo.toml @@ -14,7 +14,7 @@ branch = "main" [dependencies.curve25519-dalek] package = "curve25519-dalek" -version = "3" +version = "3.1.0" default-features = false features = ["u32e_backend"] @@ -25,7 +25,6 @@ default-features = false [dev-dependencies] lazy_static = "1.4.0" -#rand = "0.7.3" [features] debug-print = [] diff --git a/svd2utra/Cargo.toml b/svd2utra/Cargo.toml index 45f615b9b..53d77cd70 100644 --- a/svd2utra/Cargo.toml +++ b/svd2utra/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -quick-xml = "0.19" -clap = "2" -anyhow = "1.0" -convert_case = "0.4" +quick-xml = "0.19.0" +clap = "2.33.3" +anyhow = "1.0.43" +convert_case = "0.4.0" diff --git a/tools/Cargo.toml b/tools/Cargo.toml index d0d44d3e3..590587f11 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -9,13 +9,13 @@ version = "0.1.0" [dependencies] bitflags = "1.2.1" -clap = "2.33" +clap = "2.33.3" crc = "1.8.1" -csv = "1.1" +csv = "1.1.5" ring = "0.16.20" -env_logger = "0.7" +env_logger = "0.7.1" log = "0.4.14" -pem = "0.8" +pem = "0.8.3" svd2utra = {path = "../svd2utra"} xmas-elf = "0.7.0" diff --git a/xous-rs/Cargo.toml b/xous-rs/Cargo.toml index c3a96febe..a4c9caa67 100644 --- a/xous-rs/Cargo.toml +++ b/xous-rs/Cargo.toml @@ -9,9 +9,9 @@ repository = "https://github.com/betrusted-io/xous-core/" homepage = "https://betrusted.io/" [dependencies] -bitflags = {version = "1", optional = true } +bitflags = {version = "1.2.1", optional = true } xous-macros = { path = "../macros", version = "0.1.0", optional = true } -log = { version = "0.4", optional = true } +log = { version = "0.4.14", optional = true } core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' } compiler_builtins = { version = '0.1.0', optional = true } @@ -38,6 +38,6 @@ processes-as-threads = [] default = ["bit-flags", "xous-macros"] [target.'cfg(any(windows,unix))'.dependencies] -lazy_static = "1.4" -hex = "0.4" -debug-here = "*" +lazy_static = "1.4.0" +hex = "0.4.3" +debug-here = "0.2.2" diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 95361f9b1..a69c862bb 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -6,8 +6,8 @@ authors = ["Sean Cross "] edition = "2018" [dependencies] -curl = "0.4" -atty = "0.2" -filetime = "0.2" -rustc_version = "0.4" -zip = "0.5" \ No newline at end of file +curl = "0.4.35" +atty = "0.2.14" +filetime = "0.2.14" +rustc_version = "0.4.0" +zip = "0.5.13" \ No newline at end of file