Cargo Features

[dependencies]
sgx_tstd = { version = "1.1.1", default-features = false, features = ["backtrace", "stdio", "net", "pipe", "thread", "untrusted_fs", "untrusted_time"] }
default = stdio

The stdio feature is set by default whenever sgx_tstd is added without default-features = false somewhere in the dependency tree.

backtrace = stdio

Affects sgx_tstd::backtrace, sys::backtrace, sys_common::backtrace, sys_common::gnu

stdio default backtrace?

Affects sys::stdio, util::dumb_print

net

Affects ext::net, sys::net, sys_common::net

pipe

Affects sys::pipe

thread

Affects sync::mpsc, sys::thread, sys::fast_thread_local, sys::thread_local, sys_common::thread, sys_common::thread_local, thread::Builder, thread::spawn, thread::yield_now, thread::sleep_ms, thread::sleep, thread::JoinHandle

untrusted_fs

Affects sgx_tstd::fs

untrusted_time