This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[macro_use] | |
extern crate nom; | |
use nom::types::{CompleteByteSlice, CompleteStr}; | |
use nom::{digit, recognize_float, space, IResult}; | |
use std::str; | |
pub trait NomInput<'a, U: nom::AsChar>: | |
Clone | |
+ nom::Slice<std::ops::Range<usize>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[macro_use] | |
extern crate nom; | |
use std::str; | |
use nom::{digit, recognize_float, space, line_ending, IResult}; | |
use nom::types::CompleteStr; | |
#[derive(Debug)] | |
struct FloatRecord { | |
timestamp: u64, |
NewerOlder