# Objective
- CI is failing because of a dependency (`num_enum`) that now uses the latest version of `proc-macro-crate`
```
= proc-macro-crate v0.1.5
├── ndk-macro v0.2.0
│ ├── ndk-glue v0.2.1
│ │ ├── bevy_asset v0.5.0
│ │ └── bevy_internal v0.5.0 (*)
│ └── ndk-glue v0.3.0
│ ├── cpal v0.13.3
│ │ └── rodio v0.14.0
│ │ └── bevy_audio v0.5.0 (*)
│ ├── oboe v0.4.2
│ │ └── cpal v0.13.3 (*)
│ └── winit v0.25.0
│ ├── bevy_winit v0.5.0 (*)
│ └── bevy_winit v0.5.0 (*)
└── num_enum_derive v0.4.3
└── num_enum v0.4.3
└── ndk v0.2.1
└── ndk-glue v0.2.1 (*)
= proc-macro-crate v1.0.0
└── num_enum_derive v0.5.2
└── num_enum v0.5.2
└── ndk v0.3.0
├── cpal v0.13.3
│ └── rodio v0.14.0
│ └── bevy_audio v0.5.0
├── ndk-glue v0.3.0
│ ├── cpal v0.13.3 (*)
│ ├── oboe v0.4.2
│ │ └── cpal v0.13.3 (*)
│ └── winit v0.25.0
│ ├── bevy_winit v0.5.0 (*)
│ └── bevy_winit v0.5.0 (*)
├── oboe v0.4.2 (*)
└── winit v0.25.0 (*)
```
## Solution
- Add `proc-macro-crate` as a known duplicate
64 lines
1.8 KiB
TOML
64 lines
1.8 KiB
TOML
[advisories]
|
|
db-path = "~/.cargo/advisory-db"
|
|
db-urls = ["https://github.com/rustsec/advisory-db"]
|
|
vulnerability = "deny"
|
|
unmaintained = "deny"
|
|
yanked = "deny"
|
|
notice = "deny"
|
|
ignore = [
|
|
"RUSTSEC-2020-0056", # stdweb unmaintained - https://github.com/koute/stdweb/issues/403
|
|
"RUSTSEC-2021-0047", # security issue - https://github.com/gnzlbg/slice_deque/issues/90
|
|
]
|
|
|
|
[licenses]
|
|
unlicensed = "deny"
|
|
copyleft = "deny"
|
|
allow = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Zlib",
|
|
"0BSD",
|
|
"BSD-2-Clause",
|
|
"CC0-1.0",
|
|
]
|
|
default = "deny"
|
|
|
|
[[licenses.clarify]]
|
|
name = "stretch"
|
|
expression = "MIT"
|
|
license-files = []
|
|
|
|
[bans]
|
|
multiple-versions = "deny"
|
|
wildcards = "deny"
|
|
highlight = "all"
|
|
# Certain crates/versions that will be skipped when doing duplicate detection.
|
|
skip = [
|
|
{ name = "ahash", version = "0.4" },
|
|
{ name = "android_log-sys", version = "0.1" },
|
|
{ name = "cfg-if", version = "0.1" }, # https://github.com/rustwasm/console_error_panic_hook/pull/18
|
|
{ name = "core-foundation", version = "0.6" },
|
|
{ name = "core-foundation", version = "0.7" },
|
|
{ name = "core-foundation-sys", version = "0.6" },
|
|
{ name = "core-foundation-sys", version = "0.7" },
|
|
{ name = "core-graphics", version = "0.19" },
|
|
{ name = "fixedbitset", version = "0.2" },
|
|
{ name = "hashbrown", version = "0.9" },
|
|
{ name = "libm", version = "0.1" },
|
|
{ name = "mach", version = "0.2" },
|
|
{ name = "ndk", version = "0.2" },
|
|
{ name = "ndk-glue", version = "0.2" },
|
|
{ name = "num_enum", version = "0.4" },
|
|
{ name = "num_enum_derive", version = "0.4" },
|
|
{ name = "proc-macro-crate", version = "0.1" },
|
|
{ name = "stdweb", version = "0.1" },
|
|
]
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
allow-git = []
|