2018-03-04 12:24:24 -08:00
|
|
|
// This file is part of Moonfire NVR, a security camera network video recorder.
|
2021-09-23 15:55:53 -07:00
|
|
|
// Copyright (C) 2021 The Moonfire NVR Authors; see AUTHORS and LICENSE.txt.
|
2021-02-17 13:28:48 -08:00
|
|
|
// SPDX-License-Identifier: GPL-v3.0-or-later WITH GPL-3.0-linking-exception.
|
2018-03-04 12:24:24 -08:00
|
|
|
|
|
|
|
pub mod clock;
|
2023-07-09 22:04:17 -07:00
|
|
|
pub mod error;
|
2021-09-23 15:55:53 -07:00
|
|
|
pub mod shutdown;
|
2018-03-30 08:53:59 -07:00
|
|
|
pub mod strutil;
|
2021-02-16 22:15:54 -08:00
|
|
|
pub mod time;
|
2023-07-04 20:42:15 -07:00
|
|
|
pub mod tracing_setup;
|
2018-12-28 17:30:33 -06:00
|
|
|
|
2023-07-09 22:04:17 -07:00
|
|
|
pub use crate::error::{Error, ErrorBuilder, ErrorKind, ResultExt};
|
2024-01-06 10:43:20 -08:00
|
|
|
|
|
|
|
pub use ahash::RandomState;
|
|
|
|
pub type FastHashMap<K, V> = std::collections::HashMap<K, V, ahash::RandomState>;
|
|
|
|
pub type FastHashSet<K> = std::collections::HashSet<K, ahash::RandomState>;
|