pcsc-sys 1.2.0

Low-level bindings to the PC/SC C API
Documentation

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 to pcsclite.