Rename readers module to reader; Readers => Context (#278)

Renames the `readers` module to be singular: `reader`.

Renames the former `readers::Readers` struct to `reader::Context`.
This commit is contained in:
Tony Arcieri (iqlusion)
2021-07-12 11:01:12 -07:00
committed by GitHub
parent e6cea2eca6
commit 227518dd1b
4 changed files with 20 additions and 11 deletions
+11 -2
View File
@@ -40,6 +40,15 @@
//!
//! NOTE: RSASSA-PSS signatures and RSA-OAEP encryption may be supportable (TBD)
//!
//! # Status
//!
//! Functionality which has been successfully tested is available by default.
//!
//! Any functionality which is gated on the `untested` feature has not been
//! properly tested and is not known to function correctly.
//!
//! If
//!
//! # History
//!
//! This library is a Rust translation of the [yubico-piv-tool] utility by
@@ -141,7 +150,7 @@ mod mscmap;
mod msroots;
pub mod piv;
mod policy;
pub mod readers;
pub mod reader;
mod serialization;
mod settings;
mod transaction;
@@ -155,7 +164,7 @@ pub use crate::{
mgm::{MgmKey, MgmType},
piv::Key,
policy::{PinPolicy, TouchPolicy},
readers::Readers,
reader::Context,
settings::{SettingSource, SettingValue},
yubikey::{CachedPin, Serial, Version, YubiKey},
};