nfc 0.1.8

Rust bindings for the libnfc library
Documentation

nfc

Crates.io

Rust bindings for the libnfc library.

For raw FFI bindings for libnfc, see nfc-sys.

Installation

Install libnfc (e.g. Debian/Ubuntu, brew install libnfc using Homebrew on Mac OSx, or on other systems).

Cargo.toml

[dependencies]
libc = "0.2.0"
nfc = "0.1.8"

Example Usage

// main.rs

extern crate nfc;

use nfc::misc::version;

fn main() {
    println!("libnfc version: {}", version());
}

TODO

  • Replace any raw pointers
  • Documentation

Contributing

I'm brand new to Rust so any help or constructive information would be really appreciated. Thanks in advance!

License

MIT