Tiny update ahoy

This commit is contained in:
Nadja Reitzenstein 2022-11-02 14:56:48 +01:00
parent fd3dde0c0e
commit e63cb08401
2 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
[package] [package]
name = "desfire" name = "desfire"
version = "0.2.0-alpha1" version = "0.2.0-alpha3"
authors = [ authors = [
"Kai Jan Kriegel <kai@kjkriegel.de>", "Kai Jan Kriegel <kai@kjkriegel.de>",
"Alexander Sieg <crates@xanderio.de>", "Alexander Sieg <crates@xanderio.de>",
"Nadja Reitzenstein <me@dequbed.space>"
] ]
edition = "2021" edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"

View File

@ -20,7 +20,7 @@ use num_traits::FromPrimitive;
pub const MAX_BYTES_PER_TRANSACTION: usize = 47; pub const MAX_BYTES_PER_TRANSACTION: usize = 47;
pub struct Desfire { pub struct Desfire {
pub card: Option<Box<dyn Card>>, pub card: Option<Box<dyn Card + Send + Sync>>,
pub session_key: Option<Vec<u8>>, pub session_key: Option<Vec<u8>>,
pub cbc_iv: Option<Vec<u8>>, pub cbc_iv: Option<Vec<u8>>,
} }