#![cfg_attr(not(feature = "std"), no_std)]
#![recursion_limit = "256"]
#[cfg(not(any(feature = "std", feature = "alloc")))]
compile_error!("Either feature `std` or `alloc` must be enabled for this crate.");
#[cfg(all(feature = "std", feature = "alloc"))]
compile_error!("Feature `std` and `alloc` can't be enabled at the same time.");
pub mod address;
pub mod constants;
pub mod crypto;
pub mod data;
pub mod math;
pub mod network;
pub mod state;
pub mod time;
pub mod types;
pub mod traits;
mod macros;
extern crate sbor;
pub use sbor::{Categorize, Decode, Encode, Sbor};
extern crate radix_sbor_derive;
pub use radix_sbor_derive::{
ManifestCategorize, ManifestDecode, ManifestEncode, ManifestSbor, ScryptoCategorize,
ScryptoDecode, ScryptoEncode, ScryptoEvent, ScryptoSbor, ScryptoSborAssertion,
};
extern crate self as radix_common;
pub mod prelude {
pub use radix_sbor_derive::{
ManifestCategorize, ManifestDecode, ManifestEncode, ManifestSbor, ScryptoCategorize,
ScryptoDecode, ScryptoDescribe, ScryptoEncode, ScryptoEvent, ScryptoSbor,
ScryptoSborAssertion,
};
pub use sbor::prelude::*;
pub use sbor::*;
pub use super::address::*;
pub use super::constants::*;
pub use super::crypto::*;
pub use super::data::manifest::prelude::*;
pub use super::data::scrypto::prelude::*;
pub use super::math::*;
pub use super::network::*;
pub use super::state::*;
pub use super::time::*;
pub use super::traits::*;
pub use super::types::*;
pub use crate::{
define_wrapped_hash, i, manifest_args, scrypto_args, to_manifest_value_and_unwrap,
};
}
pub(crate) mod internal_prelude {
pub use super::prelude::*;
pub use sbor::representations::*;
pub use sbor::traversal::*;
}