Expand description
Missing batteries for standard libraries.
Re-exports§
pub use itertools;
Modules§
- anymap
- This file is a port of only the necessary features from https://github.com/chris-morgan/anymap version 1.0.0-beta.2 for use within rust-analyzer. Copyright © 2014–2022 Chris Morgan. COPYING: https://github.com/chris-morgan/anymap/blob/master/COPYING Note that the license is changed from Blue Oak Model 1.0.0 or MIT or Apache-2.0 to MIT OR Apache-2.0
- assert
- Recoverable assertions, inspired by the use of
assert()
in SQLite. - non_
empty_ vec - See
NonEmptyVec
. - panic_
context - A micro-crate to enhance panic messages with context info.
- process
- Read both stdout and stderr of child without deadlocks.
- rand
- We don’t use
rand
, as that’s too many things for us. - thin_
vec - thread
- A utility module for working with threads that automatically joins threads upon drop and abstracts over operating system quality of service (QoS) APIs through the concept of a “thread intent”.
Macros§
- always
- Asserts that the condition is always true and returns its actual value.
- format_
to - Appends formatted string to a
String
. - format_
to_ acc - Appends formatted string to a
String
and returns theString
. - impl_
from - Generates
From
impls forEnum E { Foo(Foo), Bar(Bar) }
enums - never
- Asserts that the condition is never true and returns its actual value.
Structs§
- JodChild
- A
std::process::Child
wrapper that will kill the child on drop.
Traits§
Functions§
- char_
has_ case - defer
- equal_
range_ by - hash_
once - is_ci
- is_
upper_ snake_ case - iter_
eq_ by - print_
backtrace - Prints backtrace to stderr, useful for debugging.
- replace
- slice_
tails - Returns all final segments of the argument, longest first.
- timeit
- to_
camel_ case - to_
lower_ snake_ case - to_
upper_ snake_ case - trim_
indent