26 lines
461 B
Rust
26 lines
461 B
Rust
/*
|
|
* SPDX-FileCopyrightText: 2020 Stalwart Labs Ltd <hello@stalw.art>
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-SEL
|
|
*/
|
|
|
|
use ahash::AHashMap;
|
|
|
|
pub mod changes;
|
|
pub mod copy;
|
|
pub mod get;
|
|
pub mod import;
|
|
pub mod lookup;
|
|
pub mod parse;
|
|
pub mod query;
|
|
pub mod query_changes;
|
|
pub mod search_snippet;
|
|
pub mod set;
|
|
pub mod upload;
|
|
pub mod validate;
|
|
|
|
#[inline(always)]
|
|
pub fn ahash_is_empty<K, V>(map: &AHashMap<K, V>) -> bool {
|
|
map.is_empty()
|
|
}
|