2016-01-07 17:49:21 -05:00
|
|
|
//! The Alchemy library is a data type to byte converter library.
|
|
|
|
//! Alchemy handles converting numbers to and from bytes
|
|
|
|
//! in either big or little endian format.
|
2016-04-13 23:57:40 -04:00
|
|
|
#![doc(html_logo_url="http://cybermagesllc.com/wp-content/uploads/2012/06/logo-300x300.png",
|
|
|
|
html_favicon_url="http://cybermagesllc.com/favicon.ico",
|
|
|
|
html_root_url="http://cybermagesllc.com")]
|
2016-01-06 23:37:18 -05:00
|
|
|
#![feature(associated_consts)]
|
2016-01-07 17:49:21 -05:00
|
|
|
#![warn(missing_docs)]
|
2015-12-30 17:06:48 -05:00
|
|
|
|
2016-04-13 23:57:40 -04:00
|
|
|
#[macro_use]
|
|
|
|
extern crate scribe;
|
|
|
|
|
2015-12-30 17:06:48 -05:00
|
|
|
extern crate sigils;
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-06 23:37:18 -05:00
|
|
|
mod byte_sized;
|
2016-01-05 17:46:31 -05:00
|
|
|
mod converter;
|
2015-12-30 17:06:48 -05:00
|
|
|
mod endian;
|
2016-01-05 17:46:31 -05:00
|
|
|
mod transmutable;
|
|
|
|
|
2015-12-30 17:06:48 -05:00
|
|
|
|
|
|
|
|
2016-01-06 23:37:18 -05:00
|
|
|
pub use ::byte_sized::ByteSized;
|
|
|
|
pub use ::byte_sized::{U8_BYTES, U16_BYTES, U32_BYTES, U64_BYTES, USIZE_BYTES};
|
|
|
|
pub use ::byte_sized::{I8_BYTES, I16_BYTES, I32_BYTES, I64_BYTES, ISIZE_BYTES};
|
|
|
|
pub use ::byte_sized::{F32_BYTES, F64_BYTES};
|
2016-04-13 23:57:40 -04:00
|
|
|
pub use ::byte_sized::get_byte_size_of_string;
|
2016-01-05 17:46:31 -05:00
|
|
|
pub use ::converter::Converter;
|
|
|
|
pub use ::endian::{BigEndian, LittleEndian, PlatformEndian, Endianess};
|
2015-12-30 17:06:48 -05:00
|
|
|
pub use ::transmutable::Transmutable;
|