commonsense

Crates.iocommonsense
lib.rscommonsense
version0.0.1
created_at2025-10-26 16:46:48.441828+00
updated_at2025-10-26 16:46:48.441828+00
descriptionPersonal ritual library of ergonomic Rust utilities
homepagehttps://github.com/glockenmeier/commonsense
repositoryhttps://github.com/glockenmeier/commonsense
max_upload_size
id1901613
size15,742
Darius Glockenmeier (glockenmeier)

documentation

https://docs.rs/commonsense

README

commonsense

Crates.io Docs.rs License: MIT OR Apache-2.0

commonsense is a collection of ergonomic rituals for Rust: macros and utilities that encode ownership and intent without hiding their cost.


Features

  • svec! — create a Vec<String> from string literals or expressions.

Example

use commonsense as cs;

fn main() {
    let words = cs::svec!["hello", "world"];
    assert_eq!(words, vec!["hello".to_string(), "world".to_string()]);
}
Commit count: 0

cargo fmt