chiark / gitweb /
wip parsing
[hippotat.git] / src / prelude.rs
1 // Copyright 2021 Ian Jackson and contributors to Hippotat
2 // SPDX-License-Identifier: AGPL-3.0-or-later
3 // There is NO WARRANTY.
4
5 pub use std::collections::HashMap;
6 pub use std::fs;
7 pub use std::fmt::Debug;
8 pub use std::io::{self, ErrorKind, Read as _};
9 pub use std::mem;
10 pub use std::net::{IpAddr, Ipv4Addr};
11 pub use std::path::{Path, PathBuf};
12 pub use std::str::FromStr;
13
14 pub use anyhow::{anyhow, Context};
15 pub use extend::ext;
16 pub use fehler::{throw, throws};
17 pub use hyper::Uri;
18 pub use itertools::Itertools;
19 pub use lazy_regex::regex_is_match;
20 pub use structopt::StructOpt;
21 pub use tokio::time::Duration;
22 pub use void::{self, Void};
23
24 pub use crate::config;
25 pub use crate::utils::*;
26
27 pub use anyhow::Error as AE;
28 pub use ErrorKind as EK;