blob: 10e6de58efc38f999802c4abf4971864a62e8104 [file] [log] [blame] [view]
# 07_deny_sources
This example shows how to use cargo-deny to deny and only support explicitly allowed sources for crates
## Config
```ini
[dependencies]
bitflags = { git = "https://github.com/bitflags/bitflags.git" }
```
```ini
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = [
"https://github.com/bitflags/bitflags.git"
]
```
## Description
TODO