Skip to content

Commit

Permalink
RUSTSEC ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
brianp committed Sep 9, 2024
1 parent 364ae62 commit 7422530
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 113 deletions.
14 changes: 14 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[advisories]
ignore = [

# We are not using a special allocator and will not suffer this issue
"RUSTSEC-2021-0145",

# We are not calling the affected function
"RUSTSEC-2024-0336",

# Unmaintained but a dependency of our dependencies
"RUSTSEC-2024-0320",
"RUSTSEC-2024-0370",

]
124 changes: 23 additions & 101 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tari_shutdown = { git = "https://github.com/tari-project/tari.git", rev = "825ca

clap = { version = "3.2", features = ["derive", "env"] }
config = "0.14.0"
crossterm = { version = "0.25.0" }
crossterm = { version = "0.28.1" }
dialoguer = { version = "0.11.0" }
hex = "0.4.3"
log = { version = "0.4", features = ["std"] }
Expand All @@ -29,7 +29,4 @@ reqwest = { version = "0.12.7", features = ["json"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0.63"
tokio = { version = "1.36", default-features = false, features = ["rt-multi-thread"] }

[build-dependencies]
tari_features = { git = "https://github.com/tari-project/tari.git", rev = "825ca06" }
tokio = { version = "1.36", default-features = false, features = ["rt-multi-thread"] }
9 changes: 2 additions & 7 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
// Copyright 2024 The Tari Project
// SPDX-License-Identifier: BSD-3-Clause

use tari_features::resolver::build_features;

#[cfg(windows)]
fn main() {
build_features();
use std::env;
println!("cargo:rerun-if-changed=icon.res");
let mut path = env::current_dir().unwrap();
Expand All @@ -14,7 +11,5 @@ fn main() {
}

#[cfg(not(windows))]
pub fn main() {
build_features();
// Build as usual
}
fn main() {}

0 comments on commit 7422530

Please sign in to comment.