rustio rustio.net
64

duplicate

v2.0.1 Growing

Provides macros for duplication of code with variable substitution.

MIT OR Apache-2.0 Edition 2021 MSRV 1.65

Quick Verdict

  • โœ“Stable API (2.x for 5+ years)
  • โœ“Massive adoption (1.1K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
14.0M
Dependents
1.1K
Releases
24
Size
49KB

Deep Insights

๐Ÿ“Š
Steady growth

1.2M downloads in the last 30 days (39.7K/day), up 17% from the previous period.

๐Ÿ”—
Widely adopted

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

โš ๏ธ
Single maintainer risk

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

โœ…
Stable for 5+ years

The API has been stable (1.x) for over 5 years with 24 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include egui_dock, bonsai-sdk, libdd-trace-normalization, ascent_macro, struson. When high-quality crates choose duplicate, it's a strong quality signal.

Health Breakdown

Maintenance 11/25

Recency, release consistency, active ratio

Quality 19/25

Yanked ratio, deps, size, maturity, features

Community 11/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
32K/day avg+66%
020K40K60K80K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.0.0
44%
v0.4.1
43%
v2.0.0
6%
v0.4.0
4%
v2.0.1
3%

Release Timeline

24 releases1 yankedsince 2020
J
F
M
A
M
J
J
A
S
O
N
D
2020
18
2021
1
2022
2
2023
1
2024
1
2025
1
2026
Less
More|
Yanked

Feature Flags

default =["pretty_errors", "module_disambiguation"]

pretty_errors*fail-on-warningsmodule_disambiguation*

README

Loading README...

Maintainers

Dependencies
8
direct dependencies
Dependents
1.1K
crates depend on duplicate