rustio rustio.net
43

guard

v0.5.2 Growing

Macro implementation of RFC 1303: a guard-let-else statement a la Swift

MIT/Apache-2.0
Rust patterns #guard#let#else#1303#if

Quick Verdict

  • โœ•Not updated for 2+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (9KB, 0 deps)
  • โœ“Permissive license (MIT/Apache-2.0)

Security

Checking security advisories...
Downloads
651.8K
Dependents
45
Releases
18
Size
9KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

1.8K downloads in the last 30 days (59/day), up 110% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

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

๐Ÿชถ
Zero dependencies

guard has no external dependencies โ€” minimal supply chain risk and fast compile times.

๐Ÿ“
Compact crate

At 9KB, guard is lightweight. Small crate size correlates with focused, well-scoped functionality.

โš ๏ธ
Notable yanked versions

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

๐ŸŒŸ
Used by top crates

Notable dependents include agora, xls2txt, crabby-merge, ea-command. When high-quality crates choose guard, it's a strong quality signal.

Health Breakdown

Maintenance 4/25

Recency, release consistency, active ratio

Quality 14/25

Yanked ratio, deps, size, maturity, features

Community 10/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 8/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
39/day avg+69%
010020030012/301/172/42/223/123/29

Top Dependents

Version Adoption

v0.5.1
69%
v0.5.2
26%
v0.5.0
4%
v0.3.3
0%
v0.2.6
0%

Release Timeline

18 releases2 yankedsince 2015
J
F
M
A
M
J
J
A
S
O
N
D
2015
7
2016
4
2017
2
2018
3
2019
2020
2021
1
2022
2023
1
2024
2025
2026
Less
More|
Yanked

Feature Flags

debugnightly

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
45
crates depend on guard

Similar Crates