amplify/collection/mod.rs
1// Rust language amplification library providing multiple generic trait
2// implementations, type wrappers, derive macros and other language enhancements
3//
4// Written in 2019-2020 by
5// Dr. Maxim Orlovsky <orlovsky@ubideco.org>
6//
7// To the extent possible under law, the author(s) have dedicated all
8// copyright and related and neighboring rights to this software to
9// the public domain worldwide. This software is distributed without
10// any warranty.
11//
12// You should have received a copy of the MIT License
13// along with this software.
14// If not, see <https://opensource.org/licenses/MIT>.
15
16#[cfg(feature = "alloc")]
17#[macro_use]
18pub mod confinement;
19mod array;
20#[cfg(feature = "std")]
21pub mod flags;
22
23#[allow(deprecated)]
24pub use array::{
25 Array, Bytes, Bytes4, Bytes16, Bytes20, Bytes32, Bytes32StrRev, Bytes64, ByteArray, RawArray,
26 FromSliceError,
27};
28#[cfg(feature = "std")]
29pub use flags::{FlagRef, FlagNo, FlagVec};