Crate devela

source ·
Expand description

Development extensions for the Rust Standard Library.

Modules

Macros

  • ansidep and text and term
    Concatenates Ansi escape codes, and returns a &str.
  • ansibdep and text and term
    Concatenates Ansi escape codes, and returns a &[u8].
  • ansipdep and text and (std or linux_unsafe) and term
    Prints concatenated Ansi escape codes using the Ansi print method.
  • cdbgtext
    A more compact dbg!. Uses {:?} instead of {:#?} for formatting.
  • cformeta
    A for loop that is usable in const expressions.
  • Swaps two mutable references in const time, using a temporary variable.
  • Configures a feature as deprecated, in order to warn when it is enabled.
  • Returns a formatted str slice backed by a buffer, no_std compatible.
  • iifmeta
    A more compact inline if.
  • Returns the size of an expression in bytes.
  • os_eprint(std or linux_unsafe) and dep and text
    Prints to the standard error.
  • os_eprintln(std or linux_unsafe) and dep and text
    Prints to the standard error, with a newline.
  • os_print(std or linux_unsafe) and dep and text
    Prints to the standard output.
  • os_println(std or linux_unsafe) and dep and text
    Prints to the standard output, with a newline.
  • pastemeta
    Allows to paste identifiers together.
  • sfmeta
    skip formatting macro.
  • sleep4task and std
    A more compact std::thread::sleep.