mirror of
https://gitlab.com/fabinfra/fabaccess/nfc_rs.git
synced 2025-03-12 14:51:50 +01:00
added a basic description of the crate
This commit is contained in:
parent
f0f0207221
commit
196b94b90d
@ -1,11 +1,13 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "nfc"
|
name = "desfire"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Kai Jan Kriegel <kai@kjkriegel.de>"]
|
authors = ["Kai Jan Kriegel <kai@kjkriegel.de>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
description = "Library for interfacing with Mifare Desfire cards."
|
||||||
|
repository = "https://gitlab.com/fabinfra/fabaccess/nfc_rs"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
#See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
des = "0.7.0"
|
des = "0.7.0"
|
||||||
|
@ -25,3 +25,10 @@ pub trait Card {
|
|||||||
/// <returns>Application Protocol Data Unit Response - ISO 7816</returns>
|
/// <returns>Application Protocol Data Unit Response - ISO 7816</returns>
|
||||||
fn transmit(&self, apdu_cmd: APDUCommand) -> Result<APDUResponse>;
|
fn transmit(&self, apdu_cmd: APDUCommand) -> Result<APDUResponse>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//! # desfire
|
||||||
|
//!
|
||||||
|
//! The `desfire` Crate provides the cryptographic methods and specific commands for interfacing
|
||||||
|
//! with NXP MiFare Desfire cards.
|
||||||
|
//!
|
||||||
|
//! **WARNING** This is alpha quality Software at best and should not be relied upon.
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#[cfg(test)]
|
|
||||||
mod tests {
|
|
||||||
#[test]
|
|
||||||
fn it_works() {
|
|
||||||
assert_eq!(2 + 2, 4);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user