#jwt #building-block #rpc #api #http

cubix

Standardized building block components born for Rust craft

36 releases (7 breaking)

0.11.3 Jan 4, 2025
0.10.0 Jan 4, 2025
0.8.8 Dec 31, 2024
0.7.0 Nov 1, 2024

#2091 in Network programming

Download history 169/week @ 2024-10-22 1281/week @ 2024-10-29 90/week @ 2024-11-05 2/week @ 2024-11-12 23/week @ 2024-11-19 9/week @ 2024-11-26 2/week @ 2024-12-03 24/week @ 2024-12-10 512/week @ 2024-12-24 2037/week @ 2024-12-31 95/week @ 2025-01-07 1/week @ 2025-01-14 184/week @ 2025-02-04

209 downloads per month
Used in 3 crates (2 directly)

MIT license

6KB

cubix

Standardized building block components born for Rust craft.

GitHub last commit Crates.io Docs

Usage

Run the following Cargo command in your project directory:

cargo add cubix

Features

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-Crates

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.

Dependencies

~4–19MB
~271K SLoC