Expand description
Development extensions for the Rust Standard Library.
Modules
- Documentation on features.
alloc
Re-exported Rustalloc
library environment.core
Re-exported Rustcore
library environment.- Optional external dependencies.
std
Re-exported Ruststd
library environment.- All items are flat re-exported here.
- any
any
Dynamic typing and reflection, extendsstd::
any
. - color
color
Colors. - data
data
- mem
mem
Memory management, extendsstd::
mem
. - meta
meta
Meta-programming and code generation. - num
num
Numeric types, extendsstd::
num
. - ops
ops
- OS-specific, extends
std::
os
. - path
path
Paths, extendsstd::
path
. - The common prelude.
- result
result
- task
task
- text
text
- time
time
Temporal quantification, extendsstd::
time
.
Macros
- ansi
dep
andtext
andterm
ConcatenatesAnsi
escape codes, and returns a&str
. - ansib
dep
andtext
andterm
ConcatenatesAnsi
escape codes, and returns a&[u8]
. - ansip
dep
andtext
and (std
orlinux_unsafe
) andterm
Prints concatenatedAnsi
escape codes using the Ansiprint
method. - cdbg
text
- cfor
meta
A for loop that is usable in const expressions. - cswap
mem
Swaps two mutable references in const time, using a temporary variable. - Configures a feature as deprecated, in order to warn when it is enabled.
- format_buf
text
Returns a formattedstr
slice backed by a buffer,no_std
compatible. - iif
meta
A more compacti
nlineif
. - Returns the size of an expression in bytes.
- os_eprint(
std
orlinux_unsafe
) anddep
andtext
Prints to the standard error. - os_eprintln(
std
orlinux_unsafe
) anddep
andtext
Prints to the standard error, with a newline. - os_print(
std
orlinux_unsafe
) anddep
andtext
Prints to the standard output. - os_println(
std
orlinux_unsafe
) anddep
andtext
Prints to the standard output, with a newline. - paste
meta
Allows to paste identifiers together. - sf
meta
s
kipf
ormatting macro. - sleep4
task
andstd
A more compactstd::thread::
sleep
.