tuplities-push-back 0.1.2

A collection of utilities for working with tuples in Rust.
Documentation

tuplities

Documentation CI Security Audit License: MIT Downloads

Tuple utilities in Rust, fractioned across several crates to improve compile times. There is a main crate tuplities that re-exports traits from subcrates in its prelude module, so that the subcrates may be compiled in parallel cutting down on overall build times.

This library is #[no_std] compatible, making it suitable for embedded systems and other environments without the standard library.

[dependencies]
tuplities = "0.1"

The library provides several traits for working with tuples:

Features

The crate provides features to generate trait implementations for tuples up to different sizes: 8 (default), 16, 32, 48, 64, 96, or 128 elements. Use the size-XX features to enable larger tuple support.

[dependencies]
tuplities = { version = "0.1", features = ["size-32"] }

Architecture

The project is split into multiple crates for improved compile times:

  • tuplities/: Main crate that re-exports traits from subcrates
  • tuplities-{trait_name}/: Individual crates providing specific traits
  • tuplities-derive/: Procedural macro crate that generates trait implementations

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contribution

Contributions are welcome! Please open issues or pull requests on the GitHub repository.