rust 1.80 fixes for vault

This commit is contained in:
bunnie 2024-08-19 02:39:21 +08:00
parent cea0f7a4d7
commit c8d45479eb
3 changed files with 6 additions and 0 deletions

View file

@ -73,6 +73,10 @@ hosted = []
renode = []
tts = []
with_ctap1 = ["ctap-crypto/with_ctap1"]
vendor_hid = []
std = []
fuzz = []
debug_ctap = []
autotest = []
multireset = [] # allows credential reset more than once per boot
vaultperf = [

View file

@ -42,3 +42,4 @@ rfc6979 = "0.2.0"
[features]
with_ctap1 = []
derive_debug = []

View file

@ -24,6 +24,7 @@ const VAULT_PASSWORD_REC_VERSION: u32 = 1;
const VAULT_TOTP_REC_VERSION: u32 = 2;
#[derive(Debug)]
#[allow(dead_code)]
pub enum Error {
IoError(std::io::Error),
TotpSerError(TOTPSerializationError),