Flatten authenticator module

The authenticator module contains the main types of the crate so it
makes sense to provide them from the top level instead of the
authenticator module.
This commit is contained in:
Robin Krahl
2026-06-08 11:12:21 +02:00
parent d9f065b365
commit 8956b7038c
3 changed files with 3 additions and 4 deletions
+1
View File
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Remove re-exports for `heapless` and `heapless-bytes` as the relevant types are already re-exported.
- `ctap2::get_info`: Use subcommand enum for `authenticator_config_commands`.
- `webauthn`: Make `KnownPublicKeyCredentialParameters` an enum.
- `authenticator`: Move `Authenticator`, `Request` and `Response` to the crate root.
## [0.6.0-rc.4] 2026-06-01
-3
View File
@@ -3,9 +3,6 @@
use crate::ctap1;
use crate::ctap2;
pub use ctap1::Authenticator as Ctap1Authenticator;
pub use ctap2::Authenticator as Ctap2Authenticator;
#[derive(Clone, Debug, PartialEq)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
// clippy says (2022-02-26): large size difference
+2 -1
View File
@@ -25,7 +25,7 @@ pub use serde_bytes::ByteArray;
#[cfg(feature = "arbitrary")]
mod arbitrary;
pub mod authenticator;
mod authenticator;
pub mod ctap1;
pub mod ctap2;
pub(crate) mod operation;
@@ -34,6 +34,7 @@ pub mod sizes;
mod test;
pub mod webauthn;
pub use authenticator::{Authenticator, Request, Response};
pub use ctap2::{Error, Result};
use core::fmt::{self, Display, Formatter};