This added the ability to more easily print Vectors and Quaternions. This also fixes some style issues. Missing documents will now cause warnings when building.
25 lines
690 B
Rust
25 lines
690 B
Rust
//! 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.
|
|
#![feature(associated_consts)]
|
|
#![warn(missing_docs)]
|
|
|
|
extern crate sigils;
|
|
|
|
|
|
|
|
mod byte_sized;
|
|
mod converter;
|
|
mod endian;
|
|
mod transmutable;
|
|
|
|
|
|
|
|
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};
|
|
pub use ::converter::Converter;
|
|
pub use ::endian::{BigEndian, LittleEndian, PlatformEndian, Endianess};
|
|
pub use ::transmutable::Transmutable;
|