This repository was archived by the owner on Feb 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +17
-6
lines changed Expand file tree Collapse file tree 10 files changed +17
-6
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1717
1818//! Structs that cover the core protocols of the Sawtooth system.
1919
20+ #[ cfg( feature = "transact-protocol-batch" ) ]
21+ pub mod batch;
2022#[ cfg( feature = "protocol-block" ) ]
2123pub mod block;
2224pub mod block_info;
25+ pub mod command;
2326#[ cfg( feature = "protocol-genesis" ) ]
2427pub mod genesis;
2528pub mod identity;
29+ #[ cfg( feature = "transact-key-value-state" ) ]
30+ pub mod key_value_state;
31+ #[ cfg( feature = "transact" ) ]
32+ pub mod receipt;
33+ #[ cfg( any( feature = "transact-protocol-sabre" , feature = "family-sabre" ) ) ]
34+ pub mod sabre;
2635pub mod setting;
36+ #[ cfg( feature = "transact-protocol-transaction" ) ]
37+ pub mod transaction;
2738
2839#[ cfg( feature = "cylinder" ) ]
2940use cylinder:: SigningError ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 2121//! scheduled and executed. The resuls of execution are stored in transaction receipts.
2222
2323#[ cfg( feature = "transact-protocol-batch" ) ]
24- pub mod batch;
25- pub mod command;
24+ pub use crate :: protocol :: batch;
25+ pub use crate :: protocol :: command;
2626#[ cfg( feature = "transact-key-value-state" ) ]
27- pub mod key_value_state;
28- pub mod receipt;
27+ pub use crate :: protocol :: key_value_state;
28+ pub use crate :: protocol :: receipt;
2929#[ cfg( any( feature = "transact-protocol-sabre" , feature = "family-sabre" ) ) ]
30- pub mod sabre;
30+ pub use crate :: protocol :: sabre;
3131#[ cfg( feature = "transact-protocol-transaction" ) ]
32- pub mod transaction;
32+ pub use crate :: protocol :: transaction;
You can’t perform that action at this time.
0 commit comments