abstutil/
lib.rs

1//! The contents of this crate need to be organized better:
2//!
3//! - Timer (a mix of logging, profiling, and even parallel execution)
4//! - true utility functions (collections, prettyprinting, CLI parsing
5
6#![allow(clippy::new_without_default)]
7
8#[macro_use]
9extern crate anyhow;
10#[macro_use]
11extern crate log;
12
13// I'm not generally a fan of wildcard exports, but they're more maintainable here.
14pub use crate::serde::*;
15pub use cli::*;
16pub use clone::*;
17pub use collections::*;
18pub use logger::*;
19pub use priority_queue::*;
20pub use process::*;
21pub use time::*;
22pub use utils::*;
23
24mod cli;
25mod clone;
26mod collections;
27pub mod logger;
28mod priority_queue;
29mod process;
30mod serde;
31pub mod time;
32mod utils;
33
34pub const PROGRESS_FREQUENCY_SECONDS: f64 = 0.2;