rustio rustio.net
62

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 6+ years)
  • โœ“Massive adoption (1.4K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
23.5M
Dependents
1.4K
Releases
24
Size
49KB

Deep Insights

๐Ÿ“Š
Stable downloads

1.6M downloads in the last 30 days (51.8K/day). Volume is roughly flat compared to the previous period.

๐Ÿ”—
Widely adopted

1.4K 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.4K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 6+ years

The API has been stable (1.x) for over 6 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, libdd-trace-normalization, libdd-data-pipeline, bonsai-sdk, ascent_macro. When high-quality crates choose duplicate, it's a strong quality signal.

Health Breakdown

Maintenance 8/25

Recency, release consistency, active ratio

Quality 19/25

Yanked ratio, deps, size, maturity, features

Community 12/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
5K/day avg-100%
020K40K60K80K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v0.4.1
47%
v1.0.0
31%
v2.0.1
15%
v2.0.0
4%
v0.4.0
3%

Release Timeline

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

Feature Flags

default =["pretty_errors", "module_disambiguation"]

pretty_errors*fail-on-warningsmodule_disambiguation*

README

Loading README...

Maintainers

Dependencies
8
direct dependencies
Dependents
1.4K
crates depend on duplicate