Skip to content

Commit

Permalink
fix unused import warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
micolous committed Nov 24, 2023
1 parent 4215dd8 commit 0bff4fa
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions webauthn-authenticator-rs/src/ctap2/ctap21.rs
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
use std::ops::{Deref, DerefMut};

#[cfg(any(all(doc, not(doctest)), feature = "ctap2-management"))]
use webauthn_rs_proto::UserVerificationPolicy;

use crate::{error::WebauthnCError, transport::Token, ui::UiCallback};

use super::{
commands::GetInfoResponse, ctap21_bio::BiometricAuthenticatorInfo,
ctap21_cred::CredentialManagementAuthenticatorInfo, internal::CtapAuthenticatorVersion,
Ctap20Authenticator,
use crate::{
ctap2::{
commands::GetInfoResponse, ctap21_bio::BiometricAuthenticatorInfo,
ctap21_cred::CredentialManagementAuthenticatorInfo, internal::CtapAuthenticatorVersion,
Ctap20Authenticator,
},
transport::Token,
ui::UiCallback,
};

#[cfg(any(all(doc, not(doctest)), feature = "ctap2-management"))]
use super::{
commands::{
BioEnrollmentRequest, ConfigRequest, ConfigSubCommand, CredSubCommand,
CredentialManagementRequest, Permissions, PublicKeyCredentialDescriptorCM,
SetMinPinLengthParams, UserCM,
use crate::{
ctap2::{
commands::{
BioEnrollmentRequest, ConfigRequest, ConfigSubCommand, CredSubCommand,
CredentialManagementRequest, Permissions, PublicKeyCredentialDescriptorCM,
SetMinPinLengthParams, UserCM,
},
ctap21_cred::CredentialManagementAuthenticatorSupport,
CredentialManagementAuthenticator,
},
ctap21_cred::CredentialManagementAuthenticatorSupport,
CredentialManagementAuthenticator,
error::WebauthnCError,
};
use std::ops::{Deref, DerefMut};
#[cfg(any(all(doc, not(doctest)), feature = "ctap2-management"))]
use webauthn_rs_proto::UserVerificationPolicy;

/// CTAP 2.1 protocol implementation.
///
Expand Down

0 comments on commit 0bff4fa

Please sign in to comment.