psmatcher 0.4.0-alpha.0

A pub/sub matcher algorithm implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) Subzero Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

//! Deterministic collection aliases for simulation testing.
//!
//! Under msim, uses `std::collections` (seeded from `getrandom`, intercepted by msim).
//! In production, uses `foldhash` for performance.

#[cfg(msim)]
pub use std::collections::{HashMap, HashSet};

#[cfg(not(msim))]
pub use foldhash::{HashMap, HashMapExt, HashSet, HashSetExt};