diff --git a/.gitignore b/.gitignore index 631e3651d9..1962b96e6b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ analyzer-target *.code-workspace /setup testing/integration/perflogs* +/.history/ \ No newline at end of file diff --git a/mining/src/model/topological_index.rs b/mining/src/model/topological_index.rs index 82c29d755f..b21cde76f9 100644 --- a/mining/src/model/topological_index.rs +++ b/mining/src/model/topological_index.rs @@ -113,8 +113,8 @@ where sorted.reverse(); Ok(sorted) } - - fn check_topological_order(&'a self, sorted: &Vec) -> TopologicalIndexResult<()> { + #[allow(clippy::ptr_arg)] + fn check_topological_order(&'a self, sorted: &[TKey]) -> TopologicalIndexResult<()> { let nodes = self.topology_nodes().collect::>(); if sorted.len() != nodes.len() { return Err(TopologicalIndexError::IndexHasWrongKeySet); diff --git a/security.md b/security.md new file mode 100644 index 0000000000..3530e7bbf2 --- /dev/null +++ b/security.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. \ No newline at end of file