Repository: EmbarkStudios/cargo-deny (language: rust)

Issue:
Support deny.toml under `./.cargo` folder
**Is your feature request related to a problem? Please describe.**
To keep the project's root clean, I'd rather store the `deny.toml` in the `.cargo` folder. I think `cargo deny` should support this.

**Describe the solution you'd like**
Support `.cargo/deny.toml` 

**Describe alternatives you've considered**
-

**Additional context**
cargo, rustfmt, and rustup all support `.cargo` folder


Discussion / hints:

Fix patch:
diff --git a/src/cargo-deny/common.rs b/src/cargo-deny/common.rs
index f3a25e7f..0d80ac9c 100644
--- a/src/cargo-deny/common.rs
+++ b/src/cargo-deny/common.rs
@@ -87,6 +87,12 @@ impl KrateContext {
                     return Some(config_path);
                 }
 
+                config_path.pop();
+                config_path.push(".cargo/deny.toml");
+                if config_path.exists() {
+                    return Some(config_path);
+                }
+
                 p = parent.parent();
             }
 


Test patch: