tss-sapi 0.0.2

Bindings to the TPM 2.0 TSS SAPI
Documentation
[![Build status](https://gitlab.com/starlab-io/tss-sapi/badges/master/pipeline.svg)](https://gitlab.com/starlab-io/tss-sapi/commits/master)
[![Rust version]( https://img.shields.io/badge/rust-1.15+-blue.svg)]()
[![Documentation](https://docs.rs/tss-sapi/badge.svg)](https://docs.rs/tss-sapi)
[![Latest version](https://img.shields.io/crates/v/tss-sapi.svg)](https://crates.io/crates/tss-sapi)
[![All downloads](https://img.shields.io/crates/d/tss-sapi.svg)](https://crates.io/crates/tss-sapi)
[![Downloads of latest version](https://img.shields.io/crates/dv/tss-sapi.svg)](https://crates.io/crates/tss-sapi)

TPM 2.0 TSS (TPM Software Stack) SAPI (System API) Rust Wrapper

## Build

To compile this library you must have tpm2-tss installed from https://github.com/01org/tpm2-tss

If you have it installed in a non-standard path you can export the following environment variables:

* `SAPI_LIBS_PATH` to where `libsapi.so` lives
* `TCTI_DEV_LIBS_PATH` to where `libtcti-device.so` lives
* `TCTI_SOCK_LIBS_PATH` to where `libtcti-socket.so` lives

Optionally you can also build with `--no-default-features` and then enable either `tcti-device` or `tcti-socket`.