-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: expose public (re-)exports via
triton_vm::prelude::*
- Loading branch information
1 parent
5613f19
commit 0bb30d8
Showing
5 changed files
with
37 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
//! Re-exports the most commonly-needed APIs of Triton VM. | ||
//! | ||
//! This module is intended to be wildcard-imported, _i.e._, `use triton_vm::prelude::*;`. | ||
pub use twenty_first; | ||
pub use twenty_first::shared_math::b_field_element::BFieldElement; | ||
pub use twenty_first::shared_math::bfield_codec::BFieldCodec; | ||
pub use twenty_first::shared_math::tip5; | ||
pub use twenty_first::shared_math::tip5::Digest; | ||
pub use twenty_first::shared_math::tip5::Tip5; | ||
pub use twenty_first::shared_math::x_field_element::XFieldElement; | ||
|
||
pub use crate::error::InstructionError; | ||
pub use crate::instruction::LabelledInstruction; | ||
pub use crate::program::NonDeterminism; | ||
pub use crate::program::Program; | ||
pub use crate::program::PublicInput; | ||
pub use crate::proof::Claim; | ||
pub use crate::proof::Proof; | ||
pub use crate::stark::Stark; | ||
pub use crate::stark::StarkParameters; | ||
pub use crate::triton_asm; | ||
pub use crate::triton_instr; | ||
pub use crate::triton_program; | ||
pub use crate::vm::VMState; |