1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//! Module specifying float.

// Utilities.
mod exponent;
mod trim;
mod validate;

#[macro_use]
mod interface;

#[macro_use]
mod traits;

// Formats
mod standard;

cfg_if! {
if #[cfg(feature = "format")] {
    mod generic;
    mod permissive;
    mod ignore;
}}

// Re-export interface and traits.
pub(super) use standard::*;
pub(super) use traits::*;

cfg_if! {
if #[cfg(feature = "format")] {
    pub(super) use generic::*;
    pub(super) use permissive::*;
    pub(super) use ignore::*;
}}