Clean up imports

This commit is contained in:
Heiko Schaefer 2021-08-21 18:01:58 +02:00
parent 0d27352520
commit b075ad5908
2 changed files with 2 additions and 4 deletions

View file

@ -9,9 +9,9 @@ use nom::combinator::map;
use nom::{branch, bytes::complete as bytes, combinator, multi, sequence}; use nom::{branch, bytes::complete as bytes, combinator, multi, sequence};
use std::fmt; use std::fmt;
use crate::algorithm::AlgoInfo; use crate::algorithm::{Algo, AlgoInfo};
use crate::card_data::{algo_attrs, complete}; use crate::card_data::{algo_attrs, complete};
use crate::{Algo, KeyType}; use crate::KeyType;
impl AlgoInfo { impl AlgoInfo {
pub fn get_by_keytype(&self, kt: KeyType) -> Vec<&Algo> { pub fn get_by_keytype(&self, kt: KeyType) -> Vec<&Algo> {

View file

@ -25,8 +25,6 @@
use anyhow::Result; use anyhow::Result;
use crate::algorithm::Algo;
pub mod algorithm; pub mod algorithm;
mod apdu; mod apdu;
mod card_app; mod card_app;