Crate tool

Source
Expand description

§rustool

Personal toolbox for my Rust projects

§Using rustool

Simply add the following to your Cargo.toml file:

[dependencies]
rustool = "*" // replace * by the latest version of the crate

Re-exports§

  • pub use crate::core::*;

Modules§

  • Main functionalities.

Macros§

  • Add **kwargs to json map.
  • Return the name of the first None value.
  • Alias for debug logs.
  • Alias for error logs.
  • Alias for info logs.
  • Macro for the function to initialize the logs for default usage.
  • Create new json map from **kwargs.
  • Alias for trace logs.
  • Alias for warn logs.
  • Write json map to file.

Type Aliases§