8 releases (4 stable)
Uses old Rust 2015
1.2.0 | Nov 25, 2019 |
---|---|
1.1.0 | Sep 3, 2019 |
1.0.1 | Feb 25, 2018 |
1.0.0 | Dec 5, 2017 |
0.1.0-alpha4 | Jan 28, 2017 |
#481 in Hardware support
5,289 downloads per month
Used in 26 crates
(3 directly)
21KB
380 lines
Low level bindings to the PCSC C API.
The following platforms are supported:
-
On Windows, the built-in
WinSCard.dll
library and "Smart Card" service. See MSDN for documentation of the implemented API. -
On macOS, the built-in PCSC framework.
-
On Linux, BSDs and (hopefully) other systems, the PCSC lite library and pcscd daemon. See pcsclite for documentation of the implemented API.
pcsclite is detected at build time using pkg-config. See the
pkg-config
crate for more information.If you do not want to use pkg-config, you may instead export the following environment variables when building the crate:
PCSC_LIB_DIR
: A directory in which to search for a dynamic library implementing the PCSC API.PCSC_LIB_NAME
: The name of the library. Defaults topcsclite
.