smallvec
Cargov2.0.0-alpha.12'Small vector' optimization: store up to a small number of items on the stack
Overview
smallvec is an Cargo package that 'Small vector' optimization: store up to a small number of items on the stack. The latest version is 2.0.0-alpha.12.
Who should use it
Teams working in the Cargo ecosystem who need 'Small vector' optimization: store up to a small number of items on the stack and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your Cargo stack.
Pros
- Zero runtime dependencies — minimal footprint.
Cons
- No bundled TypeScript types (may require a separate @types package).
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Alternatives to smallvec
Version history
| Version | Published | License |
|---|---|---|
| 1.15.2 | 1 month ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.12latest | 8 months ago | MIT OR Apache-2.0 |
| 1.15.1 | 1 year ago | MIT OR Apache-2.0 |
| 1.15.0 | 1 year ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.11 | 1 year ago | MIT OR Apache-2.0 |
| 1.14.0 | 1 year ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.10 | 1 year ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.9 | 1 year ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.8 | 1 year ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.7 | 2 years ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.6 | 2 years ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.5 | 2 years ago | MIT OR Apache-2.0 |
| 1.13.2 | 2 years ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.4 | 2 years ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.3 | 2 years ago | MIT OR Apache-2.0 |
| 1.13.1 | 2 years ago | MIT OR Apache-2.0 |
| 1.13.0 | 2 years ago | MIT OR Apache-2.0 |
| 2.0.0-alpha.2 | 2 years ago | MIT OR Apache-2.0 |
| 1.12.0 | 2 years ago | MIT OR Apache-2.0 |
| 1.11.2 | 2 years ago | MIT OR Apache-2.0 |
Maintainers
Frequently asked questions
How do I install smallvec?
Run `cargo add smallvec` to add smallvec to your Cargo project.
What license is smallvec released under?
No license was detected in smallvec's metadata; review the repository before use.
How popular is smallvec?
smallvec has approximately 0 downloads per week.