mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-10 12:54:44 +00:00
51 lines
1.6 KiB
Rust
51 lines
1.6 KiB
Rust
|
#![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
|
||
|
#[cfg(feature = "atomic")]
|
||
|
pub mod atomic;
|
||
|
#[cfg(feature = "num")]
|
||
|
pub mod num;
|
||
|
#[cfg(feature = "thread")]
|
||
|
pub mod thread;
|
||
|
#[cfg(feature = "time")]
|
||
|
pub mod time;
|
||
|
|
||
|
//---------------------------------------------------------------------------------------------------- Private Usage
|
||
|
|
||
|
//----------------------------------------------------------------------------------------------------
|