oasis_runtime_sdk/
lib.rs

1//! Oasis runtime SDK.
2#![feature(test)]
3#![feature(associated_type_defaults)]
4#![deny(rust_2018_idioms, unreachable_pub)]
5
6pub mod callformat;
7pub mod config;
8pub mod context;
9pub mod crypto;
10pub mod dispatcher;
11pub mod enclave_rpc;
12pub mod error;
13pub mod event;
14pub mod history;
15pub mod keymanager;
16pub mod module;
17pub mod modules;
18pub mod runtime;
19pub mod schedule_control;
20pub mod sender;
21pub mod state;
22pub mod storage;
23pub mod subcall;
24pub mod testing;
25pub mod types;
26
27pub use crate::{
28    context::Context, core::common::version::Version, module::Module, runtime::Runtime,
29    state::CurrentState,
30};
31
32// Re-export the appropriate version of the oasis-core-runtime library.
33pub use oasis_core_runtime as core;
34
35// Re-export the cbor crate.
36pub use cbor;
37
38// Re-export the SDK support proc-macros.
39#[cfg(feature = "oasis-runtime-sdk-macros")]
40pub use oasis_runtime_sdk_macros::*;
41
42// Required so that proc-macros can refer to items within this crate.
43use crate as oasis_runtime_sdk;