rustio rustio.net
63

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 0d ago)
  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (7.7K crates depend on it)
  • !Heavy dependency tree (36 direct deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
117.3M
Dependents
7.7K
Releases
23
Size
104KB

Deep Insights

๐Ÿ“Š
Steady growth

12.8M downloads in the last 30 days (425.8K/day), up 6% from the previous period.

๐Ÿ”—
Widely adopted

7.7K crates depend on compact_str. Strong ecosystem adoption means battle-tested code and long-term stability.

โš ๏ธ
Single maintainer risk

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

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 4+ 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 hstr, tokenizers, zookeeper-client, polars-utils, ratatui-core. When high-quality crates choose compact_str, it's a strong quality signal.

Health Breakdown

Maintenance 18/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
347K/day avg-29%
0100K200K300K400K500K600K4/265/146/16/197/77/24

Top Dependents

Version Adoption

v0.9.0
34%
v0.7.1
31%
v0.8.1
26%
v0.9.1
5%
v0.8.0
4%

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
7.7K
crates depend on compact_str

Similar Crates