Extract consts module (#282)

Extracts miscellaneous constants that were floating around in the
toplevel into their own module.
This commit is contained in:
Tony Arcieri (iqlusion)
2021-07-12 12:54:54 -07:00
committed by GitHub
parent 5f418bbd1d
commit 563f6f9ccc
12 changed files with 61 additions and 52 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
use crate::{piv::SlotId, serialization::*, Error, Result, YubiKey, CB_OBJ_MAX};
use crate::{consts::CB_OBJ_MAX, piv::SlotId, serialization::*, Error, Result, YubiKey};
use log::error;
use std::convert::{TryFrom, TryInto};