nexus_sdk/
lib.rs

1#![allow(clippy::needless_doctest_main)]
2#![doc = include_str!("../README.md")]
3
4/// Common exit codes produced by the Nexus runtime (`nexus-rt`).
5#[derive(Debug)]
6pub enum KnownExitCodes {
7    ExitSuccess = 0,
8    ExitPanic = 1,
9}
10
11/// Interface into proving with Stwo, a highly-efficient Circle STARK.
12pub mod stwo;
13
14/// Legacy prover integrations.
15#[cfg(feature = "legacy")]
16pub mod legacy;
17
18mod traits;
19pub use traits::*;
20
21/// Configure the dynamic compilation of guest programs.
22pub mod compile;
23
24/// Error types for SDK-specific interfaces.
25pub mod error;
26
27/// Development macros for zkVM hosts.
28pub use nexus_sdk_macros;