2024-01-21 00:04:09 +00:00
|
|
|
#![doc = include_str!("../README.md")]
|
|
|
|
//---------------------------------------------------------------------------------------------------- Lints
|
|
|
|
#![allow(clippy::len_zero, clippy::type_complexity, clippy::module_inception)]
|
|
|
|
#![deny(nonstandard_style, deprecated, missing_docs, unused_mut)]
|
|
|
|
#![forbid(
|
|
|
|
unused_unsafe,
|
|
|
|
future_incompatible,
|
|
|
|
break_with_label_and_loop,
|
|
|
|
coherence_leak_check,
|
|
|
|
duplicate_macro_attributes,
|
|
|
|
exported_private_dependencies,
|
|
|
|
for_loops_over_fallibles,
|
|
|
|
large_assignments,
|
|
|
|
overlapping_range_endpoints,
|
|
|
|
// private_in_public,
|
|
|
|
semicolon_in_expressions_from_macros,
|
|
|
|
redundant_semicolons,
|
|
|
|
unconditional_recursion,
|
|
|
|
unreachable_patterns,
|
|
|
|
unused_allocation,
|
|
|
|
unused_braces,
|
|
|
|
unused_comparisons,
|
|
|
|
unused_doc_comments,
|
|
|
|
unused_parens,
|
|
|
|
unused_labels,
|
|
|
|
while_true,
|
|
|
|
keyword_idents,
|
|
|
|
non_ascii_idents,
|
|
|
|
noop_method_call,
|
|
|
|
unreachable_pub,
|
|
|
|
single_use_lifetimes,
|
|
|
|
// variant_size_differences,
|
|
|
|
)]
|
|
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------- Public API
|
|
|
|
#[cfg(feature = "asynch")]
|
|
|
|
pub mod asynch; // async collides
|
2024-02-15 21:44:43 +00:00
|
|
|
|
2024-01-21 00:04:09 +00:00
|
|
|
#[cfg(feature = "atomic")]
|
|
|
|
pub mod atomic;
|
2024-02-15 21:44:43 +00:00
|
|
|
|
|
|
|
#[cfg(feature = "constants")]
|
|
|
|
pub mod constants;
|
|
|
|
|
2024-02-21 17:54:46 +00:00
|
|
|
#[cfg(feature = "fs")]
|
|
|
|
pub mod fs;
|
|
|
|
|
2024-01-22 01:56:34 +00:00
|
|
|
pub mod network;
|
2024-02-15 21:44:43 +00:00
|
|
|
|
2024-01-21 00:04:09 +00:00
|
|
|
#[cfg(feature = "num")]
|
|
|
|
pub mod num;
|
2024-02-15 21:44:43 +00:00
|
|
|
|
2024-04-24 20:47:48 +00:00
|
|
|
#[cfg(feature = "map")]
|
|
|
|
pub mod map;
|
|
|
|
|
2024-01-21 00:04:09 +00:00
|
|
|
#[cfg(feature = "thread")]
|
|
|
|
pub mod thread;
|
2024-02-15 21:44:43 +00:00
|
|
|
|
2024-01-21 00:04:09 +00:00
|
|
|
#[cfg(feature = "time")]
|
|
|
|
pub mod time;
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------- Private Usage
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------------
|