#intel-sgx #confidential-computing #sgx-sdk #write #path #tee #io

nightly sgx_tstd

Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language

10 stable releases

1.1.1 Apr 2, 2020
1.1.0 Dec 19, 2019
1.0.9 Sep 16, 2019
1.0.8 Jun 11, 2019
0.9.8 Mar 27, 2018

#527 in Hardware support


Used in 6 crates

Custom license

1.5MB
28K SLoC

Rust 23K SLoC // 0.2% comments C 4K SLoC // 0.2% comments Shell 1.5K SLoC // 0.1% comments M4 119 SLoC // 0.4% comments Automake 106 SLoC // 0.4% comments GNU Style Assembly 29 SLoC // 0.5% comments Bazel 5 SLoC AWK 2 SLoC

Note

Please visit our homepage for usage. Thanks!


lib.rs:

The Rust SGX SDK Standard Library

The Rust SGX standard library (previously named as sgx_tstdc) is the foundation of portable Rust SGX SDK, a set of minimal and battle-tested shared abstractions for the Rust SGX ecosystem. Similar to Rust's libstd, it offers core types, like Vec<T> and Option<T>, library-defined operations on language primitives, standard macros, [I/O] and [multithreading], among [many other things][other].

std is available to all Rust crates by default, just as if each one contained an extern crate sgx_tstd as std; import at the [crate root]. Therefore the standard library can be accessed in [use] statements through the path std, as in [use std::env], or in expressions through the absolute path ::std, as in ::std::env::args. Types and Traits for working with asynchronous tasks.

Dependencies