rustio rustio.net
35

unzip-array-of-tuple

v0.1.0 Growing

This package currently provides one function that takes in an array containing tuples of two types; the function then returns two arrays, the first containing all the first elements of the tuples, and the second array containing the second elements of the tuples. This functionality is available in iterators through unzip, but unzip can only return collections which implement Extend; which primitive arrays do not. Therefore, unzip works fine for Vec or other dynamic types, but not for simple, beautiful arrays, with lengths known at compiletime. My implementation is hopefully quite efficient, as it just moves data around, without using too much costly abstractions like std::array::from_fn. This crate has 4 tests that I think cover basically everything; still it could be unsound..

MIT OR Apache-2.0 Edition 2021
#utility#array#tuple#lightweight#unzip

Quick Verdict

  • โœ•Not updated for 3+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (2KB, 0 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
18.5K
Dependents
0
Releases
1
Size
2KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

21 downloads in the last 30 days (1/day), up 50% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 3+ years old, unzip-array-of-tuple hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Zero dependencies

unzip-array-of-tuple has no external dependencies โ€” minimal supply chain risk and fast compile times.

๐Ÿ“
Compact crate

At 2KB, unzip-array-of-tuple is lightweight. Small crate size correlates with focused, well-scoped functionality.

Health Breakdown

Maintenance 1/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 3/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
1/day avg+7%
012312/291/162/32/213/113/28

Version Adoption

v0.1.0
100%

Release Timeline

1 releasessince 2023
J
F
M
A
M
J
J
A
S
O
N
D
2023
1
2024
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
0
crates depend on unzip-array-of-tuple

Similar Crates