Crate devela

source ·
Expand description

Development extensions for the Rust Standard Library.

Modules

Macros

  • Concatenates Ansi escape codes, and returns a &str.
  • Concatenates Ansi escape codes, and returns a &[u8].
  • ansipos and (std or linux_unsafe)
    Prints concatenated Ansi escape codes using the Ansi print method.
  • cdbgfmt
    briefer dbg!. Uses {:?} instead of {:#?} for formatting.
  • const_forcodegen
    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.
  • iifcodegen
    inline if.
  • Alias of Path::new(concat![env!("CARGO_MANIFEST_DIR"), $path]).
  • os_eprintos and (std or linux_unsafe)
    Prints to the standard error.
  • os_eprintlnos and (std or linux_unsafe)
    Prints to the standard error, with a newline.
  • os_printos and (std or linux_unsafe)
    Prints to the standard output.
  • os_printlnos and (std or linux_unsafe)
    Prints to the standard output, with a newline.
  • pastecodegen
    Allows to paste identifiers together.
  • sfcodegen
    skip formatting macro.
  • sfbcodegen
    skip formatting block macro.
  • sleep4thread and std
    Briefer std::thread::sleep.