extern crate alloc;
pub use alloc::{
borrow,
borrow::ToOwned,
boxed,
boxed::Box,
fmt, format, rc, str, string,
string::{String, ToString},
vec,
vec::Vec,
};
pub use core::{
any, array, ascii, assert_eq, assert_ne, cell, char, clone, cmp, convert, convert::Infallible,
debug_assert, debug_assert_eq, debug_assert_ne, default, future, hash, hint, iter, marker,
matches, mem, num, ops, option, panic, pin, prelude::rust_2024::*, primitive, ptr, result,
slice, task, time, todo, unimplemented, unreachable, write, writeln,
};
pub mod collections {
extern crate alloc;
pub use ::hashbrown::{HashMap, HashSet, hash_map, hash_set};
pub use alloc::collections::*;
pub mod hashbrown {
pub use ::hashbrown::{Equivalent, TryReserveError};
}
}
pub mod ffi {
extern crate alloc;
pub use alloc::ffi::{CString, FromVecWithNulError, IntoStringError, NulError};
pub use core::ffi::*;
}
#[cfg(feature = "gstd")]
pub use crate::gstd::{
CommandReply, EventEmitter, SailsEvent, Syscall, event, export, program, service,
services::Exposure as _, services::ExposureWithEvents as _,
};
pub use crate::state::{State, StateMut};
pub use crate::types::*;
pub use gear_core_errors::{
self as gear_core_errors, ErrorReplyReason, ReplyCode, SignalCode, SimpleExecutionError,
SimpleUnavailableActorError, SuccessReplyReason,
};
pub use sails_macros::sails_type;
pub use parity_scale_codec::{self as scale_codec, Decode, Encode, EncodeLike, Output};
pub use sails_idl_meta::{Identifiable, InterfaceId, MethodMeta};
pub use sails_reflect_hash::{self as sails_reflect_hash, ReflectHash};
pub use sails_type_registry::{self as type_info, TypeInfo};
#[cfg(feature = "ethexe")]
pub use crate::address::Address;
#[cfg(all(feature = "gstd", feature = "ethexe"))]
pub use crate::gstd::EthEvent;
#[cfg(feature = "ethexe")]
pub use crate::solidity;
#[cfg(feature = "ethexe")]
pub use alloy_primitives;
#[cfg(feature = "ethexe")]
pub use alloy_sol_types;
pub use keccak_const;
pub use futures;