rustio rustio.net
70

either

v1.15.0 Growing

The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.

MIT OR Apache-2.0 Edition 2021 MSRV 1.63.0
Data structuresNo standard library #data-structure#no_std

Quick Verdict

  • Not updated for 1+ year
  • Stable API (1.x for 10+ years)
  • Massive adoption (22.6K crates depend on it)
  • Tiny footprint (20KB, 2 deps)
  • Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
632.6M
Dependents
22.6K
Releases
32
Size
20KB

Deep Insights

📊
Steady growth

43.7M downloads in the last 30 days (1.5M/day), up 19% from the previous period.

🏛️
Foundational crate

22.6K crates depend on either — it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

Stable for 10+ years

The API has been stable (1.x) for over 10 years with 32 releases. This level of maturity means you can depend on it without worrying about breaking changes.

🪶
Minimal dependencies

Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

📐
Compact crate

At 20KB, either is lightweight. Small crate size correlates with focused, well-scoped functionality.

🌟
Used by top crates

Notable dependents include itertools, rayon, writeable, schemars, pyo3. When high-quality crates choose either, it's a strong quality signal.

Health Breakdown

Maintenance 7/25

Recency, release consistency, active ratio

Quality 22/25

Yanked ratio, deps, size, maturity, features

Community 18/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
1.2M/day avg+59%
0500K1.0M1.5M12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.15.0
39%
v1.13.0
25%
v1.9.0
13%
v1.6.1
12%
v1.8.1
10%

Release Timeline

32 releasessince 2015
J
F
M
A
M
J
J
A
S
O
N
D
2015
7
2016
4
2017
5
2018
1
2019
3
2020
2
2021
2022
2
2023
2
2024
4
2025
2
2026
Less
More

Feature Flags

default =["std"]

std*use_std

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
22.6K
crates depend on either

Similar Crates