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

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

#671 in Hardware support

Download history 15/week @ 2024-02-12 56/week @ 2024-02-26 19/week @ 2024-03-04 19/week @ 2024-03-11 15/week @ 2024-03-18 14/week @ 2024-03-25 40/week @ 2024-04-01 14/week @ 2024-04-08 8/week @ 2024-04-15

76 downloads per month
Used in 6 crates

Custom license

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


Please visit our homepage for usage. Thanks!


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.