Skip to content

Commit

Permalink
Bump cargo-deny to 2.0.3 (#416)
Browse files Browse the repository at this point in the history
* Bump cargo-deny to 2.0.3

* typedefs: Fix clippy rustdoc suggestions

* audit_check.yml: Remove issues write-permissions. Intended was cargo-deny to open issues if anything went wrong, but CI fails and sends notice anyway.
  • Loading branch information
brycx authored Nov 30, 2024
1 parent 7b7aa35 commit bc54630
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/audit_check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: cargo deny (licenses, advisories, sources)
permissions:
contents: read
issues: write

on:
push:
Expand All @@ -25,6 +24,6 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@f87fcad0e65efa7cbdec993036c394fa9be14262
- uses: EmbarkStudios/cargo-deny-action@2d8c9929d8f9f42bedba73f1287cb0b479f07acb
with:
command: check ${{ matrix.checks }}
9 changes: 3 additions & 6 deletions src/typedefs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

///
/// Trait implementation macros
// Trait implementation macros

#[cfg(feature = "safe_api")]
/// Macro that implements the `Default` trait using a CSPRNG.
Expand Down Expand Up @@ -174,8 +173,7 @@ macro_rules! impl_try_from_trait (($name:ident) => (
}
));

///
/// Function implementation macros
// Function implementation macros

/// Macro to implement a `from_slice()` function. Returns `UnknownCryptoError`
/// if the slice length is not accepted.
Expand Down Expand Up @@ -463,8 +461,7 @@ macro_rules! test_generate_variable (($name:ident) => (
}
));

///
/// Newtype implementation macros
// Newtype implementation macros

/// Macro to construct a type containing sensitive data, using a fixed-size
/// array.
Expand Down

0 comments on commit bc54630

Please sign in to comment.