Registry / crypto / sgx-trts

sgx-trts

JSON →
library1.1.1rscratesunverified

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

# Cargo.toml [dependencies] sgx_trts = "1.1.1"
INSTALL
IMPORT
SIG · SGX-TRTS
S
sgx-trts
cryptorustv1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rsgx_raw_isalive
use sgx_trts::trts::rsgx_raw_isalive;

Check if the SGX enclave is alive.

use sgx_trts::trts::rsgx_raw_isalive; if rsgx_raw_isalive() { println!("Enclave is alive"); } else { println!("Enclave is not alive"); }
Debug
Known issues
breakingThis crate is part of the Teaclave SGX SDK and requires Intel SGX hardware and SDK.
fix
Ensure you have Intel SGX enabled CPU and the SGX SDK installed.
affects: >=1.0.0
Upgrade
Version history
1.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
sgx-trts — cargo add sgx-trts · libregistry