rustio rustio.net
48

optfield

v0.4.0 Growing

A macro that generates structs with optional fields

MIT OR Apache-2.0 Edition 2018 MSRV 1.61
Rust patterns #option#field#struct#optional

Quick Verdict

  • โœ•Not updated for 1+ year
  • !Pre-1.0: API may have breaking changes
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
1.4M
Dependents
16
Releases
4
Size
17KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

412.7K downloads in the last 30 days (13.8K/day), up 72% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

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

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include documented-macros, documented-derive, dateless, castwright. When high-quality crates choose optfield, it's a strong quality signal.

Health Breakdown

Maintenance 8/25

Recency, release consistency, active ratio

Quality 14/25

Yanked ratio, deps, size, maturity, features

Community 8/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 11/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
8K/day avg+285%
05K10K15K20K25K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.4.0
65%
v0.3.0
34%
v0.2.0
1%
v0.1.0
0%

Release Timeline

4 releasessince 2020
J
F
M
A
M
J
J
A
S
O
N
D
2020
1
2021
1
2022
2023
1
2024
1
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
5
direct dependencies
Dependents
16
crates depend on optfield

Similar Crates