Skip to content

Commit

Permalink
make constants less visible
Browse files Browse the repository at this point in the history
  • Loading branch information
micolous committed Oct 26, 2023
1 parent c7d30bd commit 8a6d458
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webauthn-authenticator-rs/src/transport/solokey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ use crate::prelude::WebauthnCError;
use super::AnyToken;

#[cfg(all(feature = "usb", feature = "vendor-solokey"))]
pub const CMD_RANDOM: u8 = super::TYPE_INIT | 0x60;
pub(crate) const CMD_RANDOM: u8 = super::TYPE_INIT | 0x60;

#[cfg(all(feature = "usb", feature = "vendor-solokey"))]
pub const CMD_VERSION: u8 = super::TYPE_INIT | 0x61;
pub(crate) const CMD_VERSION: u8 = super::TYPE_INIT | 0x61;

#[cfg(all(feature = "usb", feature = "vendor-solokey"))]
pub const CMD_UUID: u8 = super::TYPE_INIT | 0x62;
pub(crate) const CMD_UUID: u8 = super::TYPE_INIT | 0x62;

#[cfg(all(feature = "usb", feature = "vendor-solokey"))]
pub const CMD_LOCK: u8 = super::TYPE_INIT | 0x63;
pub(crate) const CMD_LOCK: u8 = super::TYPE_INIT | 0x63;

/// See [`SoloKeyAuthenticator`](crate::ctap2::SoloKeyAuthenticator).
#[async_trait]
Expand Down

0 comments on commit 8a6d458

Please sign in to comment.