Skip to content

Commit

Permalink
Added deny.toml (cargo-deny)
Browse files Browse the repository at this point in the history
  • Loading branch information
alloc33 committed Sep 13, 2023
1 parent d551a90 commit 3c392dd
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
43 changes: 43 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
targets = []

[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
yanked = "warn"
notice = "warn"
ignore = [
"RUSTSEC-2020-0071",
"RUSTSEC-2023-0053",
]

[licenses]
allow = [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"MPL-2.0",
"ISC",
"OpenSSL",
"Unicode-DFS-2016"
]
copyleft = "deny"
exceptions = [
{ allow = ["GPL-3.0"], name = "apca", version = "*" },
{ allow = ["GPL-3.0"], name = "http-endpoint", version = "*" },
{ allow = ["GPL-3.0"], name = "websocket-util", version = "*" },
{ allow = ["GPL-3.0"], name = "serde_variant", version = "*" },
{ allow = ["GPL-3.0"], name = "num-decimal", version = "*" },
]

[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]

[licenses.private]
ignore = true
1 change: 1 addition & 0 deletions market/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "market"
version = "0.1.0"
edition = "2021"
publish = false

[dependencies]
apca = { version = "0.27" }
Expand Down

0 comments on commit 3c392dd

Please sign in to comment.