Skip to content

Commit 869416b

Browse files
committed
🐛 fix deny
1 parent 373b894 commit 869416b

File tree

3 files changed

+75
-116
lines changed

3 files changed

+75
-116
lines changed

Cargo.lock

Lines changed: 60 additions & 105 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,16 @@ serde_json = "1.0"
4141
serde_yaml = "0.9.34+deprecated"
4242
libc = "0.2"
4343

44-
[dev-dependencies]
45-
criterion = "0.3"
46-
4744
[build-dependencies]
4845
rustc_version = "0.4"
4946
cbindgen = "0.28"
5047

48+
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
49+
criterion = "0.5"
50+
51+
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
52+
criterion = { version = "0.5", default-features = false }
53+
5154
[target.wasm32-unknown-unknown.dependencies]
5255
console_error_panic_hook = "0.1.7"
5356
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }

deny.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,26 @@ targets = [
1616
]
1717

1818
[advisories]
19+
version = 2
1920
db-path = "~/.cargo/advisory-db"
2021
db-urls = ["https://github.com/rustsec/advisory-db"]
21-
vulnerability = "deny"
22-
yanked = "deny"
23-
notice = "warn"
2422
ignore = [
2523
"RUSTSEC-2020-0071", # liquid templates usage at build-time only
2624
"RUSTSEC-2020-0159",
2725
"RUSTSEC-2021-0127", # serde_cbor through criterion, build-time only
2826
]
2927

3028
[licenses]
31-
unlicensed = "deny"
29+
version = 2
3230
allow = [
33-
"Apache-2.0", # https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)
34-
"MIT", # https://tldrlegal.com/license/mit-license
31+
"Apache-2.0", # https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)
32+
"MIT", # https://tldrlegal.com/license/mit-license
33+
"MPL-2.0",
34+
"Unicode-3.0",
35+
"BSD-2-Clause",
36+
"BSD-3-Clause",
37+
"Apache-2.0 WITH LLVM-exception",
3538
]
36-
copyleft = "warn"
37-
allow-osi-fsf-free = "either"
3839
confidence-threshold = 0.8
3940
exceptions = []
4041

0 commit comments

Comments
 (0)