rustio rustio.net
46

anchor-gen

v0.4.1 Growing

Generates an Anchor CPI crate from a JSON IDL.

Apache-2.0 Edition 2021
#solana#anchor

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Trusted by 127 crates
  • โœ“Tiny footprint (3KB, 2 deps)
  • โœ“Permissive license (Apache-2.0)

Security

Checking security advisories...
Downloads
262.2K
Dependents
127
Releases
8
Size
3KB

Deep Insights

๐Ÿ“‰
Download decline

9.2K downloads in the last 30 days, down 45% from the previous period. May indicate migration to alternatives.

๐Ÿ”—
Moderate adoption

127 crates depend on anchor-gen. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 111 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 3+ years old, anchor-gen hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Minimal dependencies

Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 3KB, anchor-gen is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include solana_vault_cpi, uxd-cpi, credix_client, marinade-cpi, jupiter-cpi. When high-quality crates choose anchor-gen, it's a strong quality signal.

Health Breakdown

Maintenance 6/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 8/20

Reverse deps, ownership, ecosystem

Popularity 6/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
364/day avg+10%
02004006008001K12/301/172/42/223/123/29

Top Dependents

Version Adoption

v0.3.1
73%
v0.4.1
21%
v0.4.0
3%
v0.3.0
2%
v0.2.0
1%

Release Timeline

8 releasessince 2022
J
F
M
A
M
J
J
A
S
O
N
D
2022
6
2023
2024
2025
2
2026
Less
More

Feature Flags

compat-program-result

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
127
crates depend on anchor-gen

Similar Crates