Skip to content

ErichDonGubler/map1-rs

Repository files navigation

map1: Map-like Rust data structures that require at least one element.

License Crates.io Docs.rs Matrix chat

last release date repo activity contributors Build Status

This crate houses several wrappers and convenience macros over std collections that guarantee that they will never be empty. This is particularly useful for modeling APIs and data that need a non-empty invariant and reducing potential error cases by using types rather than conventions.

The crate provides an optional serde feature, which provides implementations of serde::Serialize/serde::Deserialize.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published