opensc 0.0.0

Safe bindings to OpenSC
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 16.64 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 136.64 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 20s Average build duration of successful builds.
  • all releases: 20s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • heinzelotto/rust-opensc
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • heinzelotto

rust-opensc-sys

Safe bindings of OpenSC for the Rust programming language.

Usage

Currently these bindings are work in progress and not in a usable state.

OpenSC is designed to provide a PKCS#11 API and be used as middleware through a set of tools that come with it. This is also why installing OpenSC doesn't install development headers. Using these tools in a script-like manner also satisfies the terms of the LGPL. This crate is for when the tools aren't versatile enough and you want to interface directly with the OpenSC library from Rust, e. g. for talking to a only partially ISO/IEC 7816 conformant card.

The OpenSC shared library must be installed on you system to build the crate and run the resulting binary.

Licensing

Please note that OpenSC is LGPL-2.1 licensed. This crate will link dynamically against OpenSC to ensure the requirements of the LGPL are satisfied. The crate itself is licensed as MIT.