# nfc
[](https://crates.io/crates/nfc)
Rust bindings for the [libnfc](https://github.com/nfc-tools/libnfc) library.
For raw FFI bindings for `libnfc`, see [nfc-sys](https://github.com/dsgriffin/nfc-sys).
## Installation
Install `libnfc` (e.g. [Debian/Ubuntu](http://nfc-tools.org/index.php?title=Libnfc#Debian_.2F_Ubuntu), `brew install libnfc` using Homebrew on Mac OSx, or on [other systems](http://nfc-tools.org/index.php?title=Libnfc#Installation)).
### Cargo.toml
[dependencies]
libc = "0.2.0"
nfc = "0.1.2"
## Example Usage
#### // main.rs
extern crate nfc;
use nfc::version;
fn main() {
println!("libnfc version: {}", version());
}
## Contributing
I'm brand new to Rust so any help or constructive information would be really appreciated. Thanks in advance!
## License
MIT