Standardized building block components born for Rust craft.
Run the following Cargo command in your project directory:
cargo add cubix
mod | description | source crate |
---|---|---|
api_craft |
A best practice toolkit with API-compliant response body and error code. | api-response api-errtype |
convert_traits |
Define your own conversion traits to solve the problem of converting two external types without using new types. | convert_traits |
getset2 |
A derive macro for generating the most basic getters and setters on struct fields. | getset2 |
jwt-claims |
Structured version of the JWT Claims Set, as referenced at https://datatracker.ietf.org/doc/html/rfc7519#section-4. | jwt_claims |
extern crate | description |
---|---|
num_enum |
Procedural macros to make inter-operation between primitives and enums easier. This crate is no_std compatible. |
strum |
Strum is a set of macros and traits for working with enums and strings easier in Rust. |