#![doc = include_str!("../README.md")]
#![cfg_attr(no_std, no_std)]
#![warn(missing_docs)]
mod impl_from;
mod impl_misc;
mod impl_ops;
pub mod backing_types;
pub use backing_types::{f_iof, i_iof, u_iof};
#[cfg(with_impl_hash)]
mod hash;
mod cmp;
mod encode;
#[cfg(feature = "num-traits")]
mod num_traits_impl;
mod str_conv;
pub mod error;
pub use error::ConversionError;
#[cfg_attr(feature = "more-serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Copy, Clone)]
pub enum IntegerOrFloat {
Integer(i_iof),
Float(f_iof),
}
pub use IntegerOrFloat::{Float, Integer};