Skip to main content

zenoh_collections/
lib.rs

1//
2// Copyright (c) 2023 ZettaScale Technology
3//
4// This program and the accompanying materials are made available under the
5// terms of the Eclipse Public License 2.0 which is available at
6// http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
7// which is available at https://www.apache.org/licenses/LICENSE-2.0.
8//
9// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
10//
11// Contributors:
12//   ZettaScale Zenoh Team, <zenoh@zettascale.tech>
13//
14
15//! ⚠️ WARNING ⚠️
16//!
17//! This crate is intended for Zenoh's internal use.
18//!
19//! [Click here for Zenoh's documentation](https://docs.rs/zenoh/latest/zenoh)
20#![cfg_attr(not(feature = "std"), no_std)]
21extern crate alloc;
22
23pub mod single_or_vec;
24pub use single_or_vec::SingleOrVec;
25
26#[cfg(feature = "std")]
27pub mod single_or_box_hashset;
28#[cfg(feature = "std")]
29pub use single_or_box_hashset::SingleOrBoxHashSet;
30
31#[cfg(feature = "std")]
32pub mod ring_buffer;
33#[cfg(feature = "std")]
34pub use ring_buffer::*;
35
36#[cfg(feature = "std")]
37pub mod stack_buffer;
38#[cfg(feature = "std")]
39pub use stack_buffer::*;
40
41#[cfg(feature = "std")]
42pub mod int_hash_map;
43#[cfg(feature = "std")]
44pub use int_hash_map::*;