Apache Teaclave™ SGX SDK is a Rust SDK for developing Intel SGX applications. It enables developers to write secure, privacy-preserving applications using Intel Software Guard Extensions (SGX) technology with the safety and performance benefits of the Rust programming language.
Apache Teaclave™ SGX SDK provides a comprehensive development environment for building Intel SGX enclaves in Rust. The current version (v2.0) offers significant improvements over the legacy v1.1 , including:
cargo build
with no_std
, xargo build
, and cargo-std-aware
modessgx_tstd
standard libraryThe SDK supports multiple build modes to accommodate different development preferences:
BUILD_STD=cargo
(default): Uses the new std-aware cargo build systemBUILD_STD=no
: Traditional no_std
cargo build for minimal footprintBUILD_STD=xargo
: Uses xargo build with customized sysrootThe following sample applications demonstrate various SGX SDK capabilities:
Note: Migration of additional v1.1 samples to v2.0 is ongoing.
For detailed installation instructions, development guides, and API documentation, please visit:
Apache Teaclave™ is developed in the open following The Apache Way. We strive to maintain a project that is community-driven and inclusive.
We welcome all forms of contributions. Please refer to our Contributing Guide for more information. A big thank-you to all our contributors!