fennec_common/types.rs
1// Copyright 2023 Gregory Petrosyan <pgregory@pgregory.net>
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6
7pub type HashMap<K, V> = std::collections::HashMap<K, V, ahash::RandomState>;
8pub type HashSet<K> = std::collections::HashSet<K, ahash::RandomState>;
9
10pub use crate::import_path::*;
11pub use crate::sync_state::*;
12
13#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug)]
14pub struct FennecVersion {
15 pub major: u64,
16 pub minor: u64,
17 pub patch: u64,
18}