aboutsummaryrefslogtreecommitdiff
path: root/src/number/mod.rs
blob: 6ab2cd5d45b756e8375b9aa0b97d8ff25525f5a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Parsers recognizing numbers

#[macro_use]
mod macros;

pub mod complete;
pub mod streaming;

/// Configurable endianness
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub enum Endianness {
  /// Big endian
  Big,
  /// Little endian
  Little,
  /// Will match the host's endianness
  Native,
}