rustio rustio.net
52

compact_str

v0.9.0 Growing

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

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

Quick Verdict

  • โœ•Not updated for 1+ year
  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (5.1K crates depend on it)
  • !Heavy dependency tree (28 direct deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
78.3M
Dependents
5.1K
Releases
20
Size
72KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

10.2M downloads in the last 30 days (339.5K/day), up 23% from the previous period.

๐Ÿ”—
Widely adopted

5.1K 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 5.1K 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

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

โš ๏ธ
Notable yanked versions

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

๐ŸŒŸ
Used by top crates

Notable dependents include zookeeper-client, hstr, tokenizers, readable, polars-utils. When high-quality crates choose compact_str, it's a strong quality signal.

Health Breakdown

Maintenance 8/25

Recency, release consistency, active ratio

Quality 11/25

Yanked ratio, deps, size, maturity, features

Community 15/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
270K/day avg+68%
0100K200K300K400K500K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.7.1
33%
v0.8.1
22%
v0.9.0
21%
v0.4.1
20%
v0.8.0
5%

Release Timeline

20 releases3 yankedsince 2021
J
F
M
A
M
J
J
A
S
O
N
D
2021
4
2022
10
2023
3
2024
2
2025
1
2026
Less
More|
Yanked

Feature Flags

default =["std"]

std*rkyvsqlxborshbytesserdedieselmarkupzeroizeproptestsmallvecarbitraryquickchecksqlx-mysqlsqlx-sqlitesqlx-postgres

README

Loading README...

Maintainers

Dependencies
28
direct dependencies
Dependents
5.1K
crates depend on compact_str

Similar Crates