either
v1.15.0 GrowingThe enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.
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
Deep Insights
43.7M downloads in the last 30 days (1.5M/day), up 19% from the previous period.
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.
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.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 20KB, either is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include itertools, rayon, writeable, 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
Version Adoption
Release Timeline
Feature Flags
default =["std"]