either
v1.19.0 StableThe enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.
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
Deep Insights
94.9M downloads in the last 30 days (3.2M/day), up 10% from the previous period.
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.
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.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 22KB, either is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include itertools, writeable, rayon, schemars, pyo3. When high-quality crates choose either, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on either
Version Adoption
Release Timeline
Feature Flags
default =["std"]