rustio rustio.net
81

either

v1.19.0 Stable

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

  • ✓Actively maintained (updated 3d ago)
  • ✓Stable API (1.x for 11+ years)
  • ✓Massive adoption (27.5K crates depend on it)
  • ✓Tiny footprint (23KB, 2 deps)
  • ✓Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
1.1B
Dependents
27.5K
Releases
36
Size
23KB

Deep Insights

📊
Steady growth

94.9M downloads in the last 30 days (3.2M/day), up 10% from the previous period.

🏛️
Foundational crate

27.5K 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 11+ years

The API has been stable (1.x) for over 11 years with 36 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 22KB, either is lightweight. Small crate size correlates with focused, well-scoped functionality.

🌟
Used by top crates

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

Health Breakdown

Maintenance 18/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
773K/day avg-100%
01.0M2.0M3.0M4.0M8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v1.15.0
56%
v1.13.0
22%
v1.16.0
13%
v1.18.0
6%
v1.17.0
5%

Release Timeline

10 releasessince 2024
J
F
M
A
M
J
J
A
S
O
N
D
2024
4
2025
2
2026
4
Less
More

Feature Flags

default =["std"]

std*use_std

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
27.5K
crates depend on either

Similar Crates