rustio rustio.net
58

compact_str

v0.10.0 Growing

A memory efficient string type that transparently stores strings on the stack, when possible

MIT Edition 2021 MSRV 1.71
EncodingMemory managementParsing toolsText processing #string#memory#compact#mutable#small

Quick Verdict

  • โœ“Actively maintained (updated 88d ago)
  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (10.4K crates depend on it)
  • !Heavy dependency tree (36 direct deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
176.3M
Dependents
10.4K
Releases
23
Size
104KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

25.1M downloads in the last 30 days (835.6K/day), up 27% from the previous period.

๐Ÿ›๏ธ
Foundational crate

10.4K crates depend on compact_str โ€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

โš ๏ธ
Single maintainer risk

compact_str has only 1 owner despite 10.4K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 5+ years old, compact_str hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿ“ฆ
Heavy dependency tree

36 direct dependencies. Consider the impact on compile times and supply chain complexity.

โš ๏ธ
Notable yanked versions

13% of releases have been yanked. Check version history before pinning.

๐ŸŒŸ
Used by top crates

Notable dependents include cached, swc_ecma_parser, tokenizers, hstr, ratatui-core. When high-quality crates choose compact_str, it's a strong quality signal.

Health Breakdown

Maintenance 13/25

Recency, release consistency, active ratio

Quality 10/25

Yanked ratio, deps, size, maturity, features

Community 15/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
165K/day avg-100%
0500K1.0M8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v0.9.0
31%
v0.7.1
25%
v0.8.1
21%
v0.9.1
17%
v0.8.2
5%

Release Timeline

10 releasessince 2022
J
F
M
A
M
J
J
A
S
O
N
D
2022
1
2023
3
2024
2
2025
1
2026
3
Less
More

Feature Flags

default =["std"]

std*pyo3rkyvsqlxborshbytesdefmtgardeserdedieselmarkuputoipazeroizeproptestschemarssmallvecvaluablearbitraryquickchecksqlx-mysqlsqlx-sqlitebevy-reflectsqlx-postgres

README

Loading README...

Maintainers

Dependencies
36
direct dependencies
Dependents
10.4K
crates depend on compact_str

Similar Crates