# dtolnay/paste

Macros for all your token pasting needs

Repository: https://github.com/dtolnay/paste
Canonical: https://ross.abutalabs.com/products/paste
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: pound-pound
Archived: true
Last push: 2024-10-06T23:17:03+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2862, "days_push": 696, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1090, forks 70 (observed 2026-08-28T04:03:32.884937+00:00)

## What it is
A Rust crate providing the paste! macro for concatenating identifiers at compile time, enabling macros to define new items with pasted names. It works on stable Rust 1.31+ but is no longer maintained.

## Use cases
- concatenate identifiers in rust macros
- generate getter methods with dynamic names
- define new items with pasted identifiers
- replace concat_idents in stable rust
- build macro_rules macros that create named functions

## When to choose
- you need identifier pasting in macro_rules macros on stable Rust
- you're maintaining an existing crate that already depends on paste

## When to avoid
- starting a new project, since the crate is unmaintained
- you can use nightly concat_idents or newer alternatives
- you only need to reference existing identifiers, not define new ones

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: developer-tools, programming-languages, parsers
- platform: rust, cross-platform
- tags: rust-macros, token-pasting, proc-macro, identifier-concatenation, unmaintained, macro

## Member repositories
- dtolnay/paste (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.884937+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:12.637460+00:00, confidence not recorded.
  - readme: https://github.com/dtolnay/paste (fetched 2026-08-28T04:03:32.884937+00:00, sha 6bc962678c81)
  - registry_crates: https://crates.io/api/v1/crates/paste (fetched 2026-08-29T12:51:20.994615+00:00, sha a66e8be0e633)
- Data as of 2026-08-30T08:39:29.467469+00:00.
