Crate devela

source ·
Expand description

Development extensions for the Rust Standard Library.

Modules

Macros

  • ansi or unsafe_str
    Concatenates Ansi escape codes, and returns a &str.
  • Concatenates Ansi escape codes, and returns a &[u8].
  • ansiplinux and unsafe_os, or std
    Prints concatenated Ansi escape codes using the Ansi print method.
  • briefer dbg!. Uses {:?} instead of {:#?} for formatting.
  • A for loop that is usable in const expressions.
  • Set a deprecated feature in order to display a warning if it’s enabled.
  • Returns a formatted str slice backed by a buffer, no_std compatible.
  • inline if.
  • Alias of Path::new(concat![env!("CARGO_MANIFEST_DIR"), $path]).
  • os_eprintstd, or linux and unsafe_os
    Prints to the standard error.
  • os_eprintlnstd, or linux and unsafe_os
    Prints to the standard error, with a newline.
  • os_printstd, or linux and unsafe_os
    Prints to the standard output.
  • os_printlnstd, or linux and unsafe_os
    Prints to the standard output, with a newline.
  • Allows to paste identifiers together.
  • skip formatting macro.
  • skip formatting block macro.
  • Briefer std::thread::sleep.