# MobileCoin SGX: uRTS 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_urts` 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` and tested with `cargo test`. Either command will recognize the cargo `--release` flag to build with optimizations. 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-urts-sys?style=flat-square [target-image]: https://img.shields.io/badge/target-x86__64-blue?style=flat-square [crate-image]: https://img.shields.io/crates/v/mc-sgx-urts-sys.svg?style=flat-square [crate-link]: https://crates.io/crates/mc-sgx-urts-sys [docs-image]: https://img.shields.io/docsrs/mc-sgx-urts-sys?style=flat-square [docs-link]: https://docs.rs/crate/mc-sgx-urts-sys [deps-image]: https://deps.rs/crate/mc-sgx-urts-sys/0.11.0/status.svg?style=flat-square [deps-link]: https://deps.rs/crate/mc-sgx-urts-sys/0.11.0