From 1e230e34a2510d2eacda3b57a5aa24f0dfcbe912 Mon Sep 17 00:00:00 2001 From: Dark Date: Sat, 6 Jan 2024 19:02:11 -0500 Subject: [PATCH] set up cargo-deny --- crates/dtacheck/Cargo.toml | 2 +- crates/swap_art_bytes/Cargo.toml | 1 + deny.toml | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 deny.toml diff --git a/crates/dtacheck/Cargo.toml b/crates/dtacheck/Cargo.toml index d0a73b1..7eddcf9 100644 --- a/crates/dtacheck/Cargo.toml +++ b/crates/dtacheck/Cargo.toml @@ -2,6 +2,7 @@ name = "dtacheck" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -10,4 +11,3 @@ clap = { version = "4.4.12", features = ["derive"] } codespan-reporting = "0.11.1" derive_more = "0.99.17" logos = "0.13.0" - diff --git a/crates/swap_art_bytes/Cargo.toml b/crates/swap_art_bytes/Cargo.toml index 809f88c..b9e14a7 100644 --- a/crates/swap_art_bytes/Cargo.toml +++ b/crates/swap_art_bytes/Cargo.toml @@ -2,6 +2,7 @@ name = "swap_art_bytes" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/deny.toml b/deny.toml new file mode 100644 index 0000000..fcd1e2d --- /dev/null +++ b/deny.toml @@ -0,0 +1,14 @@ +[licenses] +unlicensed = "deny" +copyleft = "warn" +allow-osi-fsf-free = "osi" +default = "deny" + +[licenses.private] +ignore = true + +[bans] +multiple-versions = "allow" +deny = [ + { name = "cc" } +]