systemd-journal-sdk-common 0.6.2

Shared types and utilities for the pure Rust systemd journal SDK
Documentation
1
2
3
4
5
6
7
8
9
//! Collection type aliases.
//!
//! This module provides convenient aliases for the hash-based collections
//! used throughout the journal crates. We use `rustc_hash::FxHashMap` and
//! `FxHashSet` for their performance characteristics.

pub type HashMap<K, V> = rustc_hash::FxHashMap<K, V>;
pub type HashSet<T> = rustc_hash::FxHashSet<T>;
pub type VecDeque<T> = std::collections::VecDeque<T>;