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