nexus_sdk/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#![allow(clippy::needless_doctest_main)]
#![doc = include_str!("../README.md")]

/// Common exit codes produced by the Nexus runtime (`nexus-rt`).
#[derive(Debug)]
pub enum KnownExitCodes {
    ExitSuccess = 0,
    ExitPanic = 1,
}

/// Interface into proving with Stwo, a highly-efficient Circle STARK.
pub mod stwo;

/// Legacy prover integrations.
#[cfg(feature = "legacy")]
pub mod legacy;

mod traits;
pub use traits::*;

/// Configure the dynamic compilation of guest programs.
pub mod compile;

/// Error types for SDK-specific interfaces.
pub mod error;

/// Development macros for zkVM hosts.
pub use nexus_sdk_macros;