Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikrothenberger committed Sep 11, 2024
1 parent 70c39dc commit a7cdda4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions identity_jose/src/jws/algorithm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ pub enum JwsAlgorithm {

impl JwsAlgorithm {
/// A slice of all supported [`JwsAlgorithm`]s.
///
/// Not available when feature `custom_alg` is enabled
/// as it is not possible to enumerate all variants when
/// supporting arbitrary `alg` values.
#[cfg(not(feature = "custom_alg"))]
pub const ALL: &'static [Self] = &[
Self::HS256,
Expand Down

0 comments on commit a7cdda4

Please sign in to comment.