Re-exports

pub use color_text::styles::*;
pub use color_text::styles::*;
pub use color_text::*;
pub use decl_macros::*;

Modules

Macros

Declarative macro to surround the given block with a call to tokio::spawn. This is useful for spawning a task that will run in the background from a function that is NOT async.

Declarative macro to generate the API call functions. This adds the following:

Unwrap the $option, and if None then run the $next closure which must return an error. This macro must be called in a block that returns a ResultCommon<T>.

Runs the $code block after evaluating the $eval expression and assigning it to $id.

Similar to with! except $id is a mutable reference to the $eval expression.