Crate libera::devela

source ·
Expand description

reexported from devela. Development extensions for the Rust Standard Library.

Features

  • std (default): enables functionality that depends on the standard library. Disabling it makes the crate no_std compatible.
  • alloc: enables functionality that depends on allocation. Included in std.
  • no_std: enables functionality incompatible with std (unused).

  • safe: forbids unsafe at the crate level.
  • safest: forbids unsafe recursively (unused).
  • unsafe: enables all the unsafe features:
  • unsafest: enables unsafe recursively (unused).

  • bytemuck: implements several unsafe bytemuck traits for num types.

Modules

Macros

  • Salloc
    Brief String constructor.
  • ccompact dbg!. Uses {:?} instead of {:#?} for formatting.
  • Set a deprecated feature in order to display a warning if it’s enabled.
  • Returns a formatted string slice backed by a buffer, no_std compatible.
  • inline if.
  • Alias of Path::new(concat![env!("CARGO_MANIFEST_DIR"), $path]).
  • Allows to paste identifiers together (reexported from the paste crate).
  • rust format skip macro.
  • Briefer std::thread::sleep.