1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
// Copyright (C) 2018 Martin Mroz // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. use std::str::FromStr; pub mod field; mod parser; use bcbp; use error::{Error, Result}; pub use self::parser::from_str; impl FromStr for bcbp::Bcbp { type Err = Error; fn from_str(input: &str) -> Result<Self> { from_str(input) } }