Skip to content

Commit

Permalink
update import scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
lisicky committed Nov 28, 2023
1 parent a2c0a3c commit a1e7acc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
3 changes: 0 additions & 3 deletions rust/json-gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ use std::fs;
use std::path::Path;

use cardano_serialization_lib::*;
use cardano_serialization_lib::address::*;
use cardano_serialization_lib::crypto::*;
use cardano_serialization_lib::utils::*;

//#[macro_export]
macro_rules! gen_json_schema {
Expand Down
30 changes: 16 additions & 14 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,37 +41,39 @@ use cbor_event::{
se::{Serialize, Serializer},
};

pub mod address;
mod address;
pub use address::*;
mod builders;
pub use builders::*;
pub mod chain_core;
pub mod chain_crypto;
pub mod crypto;
pub mod emip3;
pub mod error;
pub mod fees;
mod crypto;
pub use crypto::*;
mod emip3;
pub use emip3::*;
mod error;
pub use error::*;
mod fees;
pub use fees::*;
pub mod impl_mockchain;
pub mod legacy_address;
pub mod traits;
pub use builders::*;
mod protocol_types;
pub mod typed_bytes;
pub use protocol_types::*;
pub mod typed_bytes;
#[macro_use]
pub mod utils;
mod utils;
pub use utils::*;
pub(crate) mod fakes;
pub mod serialization;
mod serialization;
pub use serialization::*;

use crate::traits::NoneOrEmpty;
use address::*;
use crypto::*;
use error::*;
use schemars::JsonSchema;
use serialization::*;
use std::cmp::Ordering;
use std::collections::BTreeSet;
use std::fmt;
use std::fmt::Display;
use utils::*;

type DeltaCoin = Int;

Expand Down

0 comments on commit a1e7acc

Please sign in to comment.