You've already forked ctap-types
mirror of
https://github.com/trussed-dev/ctap-types.git
synced 2026-06-20 04:16:17 -07:00
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:
@@ -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,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
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user