Skip to content

Commit

Permalink
change AORA exports
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Dec 7, 2024
1 parent 7e83d1b commit 5bb3a15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,11 @@ extern crate serde;
pub use sonicapi::*;
pub use ultrasonic::*;

mod aora;
pub mod aora;

mod state;
mod stock;

#[cfg(feature = "std")]
pub use aora::file::FileAora;
pub use aora::Aora;
pub use state::{AdaptedState, EffectiveState, RawState, Transition};
#[cfg(feature = "std")]
pub use stock::fs::FilePersistence;
Expand Down
5 changes: 3 additions & 2 deletions src/stock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ use strict_encoding::{
use strict_types::StrictVal;
use ultrasonic::{AuthToken, CallError, Capabilities, CellAddr, ContractId, Operation, Opid};

use crate::{AdaptedState, Aora, Articles, EffectiveState, RawState, Transition};
use crate::aora::Aora;
use crate::{AdaptedState, Articles, EffectiveState, RawState, Transition};

pub trait StockPersistence {
type Stash: Aora<Operation>;
Expand Down Expand Up @@ -355,7 +356,7 @@ pub mod fs {
use ultrasonic::ContractName;

use super::*;
use crate::FileAora;
use crate::aora::file::FileAora;

pub struct FilePersistence {
path: PathBuf,
Expand Down

0 comments on commit 5bb3a15

Please sign in to comment.