# MobileCoin SGX: tRTS FFI Bindings [![Project Chat][chat-image]][chat-link]![License][license-image]![Target][target-image][![Crates.io][crate-image]][crate-link][![Docs Status][docs-image]][docs-link][![Dependency Status][deps-image]][deps-link] Provides the rust function bindings to the `sgx_trts` library. ## Table of Contents - [License](#license) - [Build Instructions](#build-instructions) - [Intel SGX SDK](#intel-sgx-sdk) - [Features](#features) - [References](#references) ## License Look for the *LICENSE* file at the root of the repo for more information. ## Build Instructions The workspace can be built with `cargo build` > Due to the need to link to an enclave, tests are not currently supported. The [Intel SGX SDK](#intel-sgx-sdk) needs to be installed. ## Intel SGX SDK See for installation instructions. The environment variable `SGX_SDK` can be used to specify where the SDK is installed. When unset the location will default to `/opt/intel/sgxsdk` ## Features When no features are present the SGX hardware libraries will be linked in. When the `sim` feature is present the simulation SGX libraries will be linked in. ## References - - [chat-image]: https://img.shields.io/discord/844353360348971068?style=flat-square [chat-link]: https://mobilecoin.chat [license-image]: https://img.shields.io/crates/l/mc-sgx-trts-sys?style=flat-square [target-image]: https://img.shields.io/badge/target-sgx-red?style=flat-square [crate-image]: https://img.shields.io/crates/v/mc-sgx-trts-sys.svg?style=flat-square [crate-link]: https://crates.io/crates/mc-sgx-trts-sys [docs-image]: https://img.shields.io/docsrs/mc-sgx-trts-sys?style=flat-square [docs-link]: https://docs.rs/crate/mc-sgx-trts-sys [deps-image]: https://deps.rs/crate/mc-sgx-trts-sys/0.11.0/status.svg?style=flat-square [deps-link]: https://deps.rs/crate/mc-sgx-trts-sys/0.11.0