slablit

Crates.ioslablit
lib.rsslablit
version0.3.1
sourcesrc
created_at2018-09-03 09:48:49.251523
updated_at2024-05-31 08:15:08.687106
descriptionLiteral for slab creation
homepage
repositoryhttps://github.com/myelin-ai/slablit
max_upload_size
id82734
size16,833
Jeremy Stucki (jeremystucki)

documentation

https://docs.rs/slablit

README

slablit

Latest Version Documentation dependency status

Literal for slab creation

Usage

Add this to your Cargo.toml:

[dependencies]
slablit = "0.3"

Example

use slablit::slab;

let (slab, [first, second, third]) = slab![10, 20, 30];
Commit count: 42

cargo fmt