Ross ROSS = Recommend OSS · open-source software intelligence for agents

mmastrac/linktime

Link-time initialization, destruction, scattered data collection macros for Rust observed · 2026-08-28

github.com/mmastrac/linktime · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

98/100

  • Activity 97
  • Release rhythm 98
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 0
  • age_days: 2827
  • days_rel: 19
  • days_push: 19
  • n_releases_24m: 46

Full methodology

Adoption not part of the score

1071 stars · 79 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A set of Rust crates providing link-time initialization, destruction, and scattered data collection macros (ctor, dtor, link-section, scattered-collect). It lets Rust code run before/after main and collect items across a linked binary via linker-managed sections.

Use cases

  • run initialization code before main in rust
  • register plugins or handlers at link time
  • collect scattered items into a single section across a binary
  • run cleanup code after main exits
  • build a registry of items without explicit registration calls

When to choose

  • you need C-style constructor/destructor semantics in Rust
  • you want linker-managed registries or typed sections across crates
  • you need code to run before main for setup or side effects

When to avoid

  • you only need simple lazy initialization with std::sync::Once or LazyLock
  • you want portable code without platform-specific linker tricks
  • you need initialization ordering guarantees across arbitrary crates

Facets

library · maturity active

developer-tools plugin-system concurrency developer-tools programming-languages rust cross-platform windows macros ctor dtor link-section linker dylib rust-crate procedural-macros automation linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
mmastrac/linktimemain98

For agents

markdown · JSON · MCP: product_card(name="mmastrac/linktime")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem