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

bitflags/bitflags

A macro to generate structures which behave like bitflags observed · 2026-08-28

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

Health v2 · maintenance only

90/100

  • Activity 92
  • Release rhythm 81
  • Longevity 100
How is this computed?

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

  • gap_med: 45
  • age_days: 4248
  • days_rel: 49
  • days_push: 48
  • n_releases_24m: 14

Full methodology

Adoption not part of the score

1153 stars · 167 forks observed · 2026-08-28

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

A Rust crate providing a macro to generate structures that behave like sets of bitflags with well-defined semantics and ergonomic APIs. It supports set operations like union, intersection, difference, and complement, plus optional serde and bytemuck integrations.

Use cases

  • generate flags enums in Rust with ergonomic set operations
  • wrap C API flags that may contain unknown bits
  • create efficient options types with string parsing and formatting
  • serialize and deserialize bitmask types with serde
  • manage combinations of boolean options in a single integer

When to choose

  • you need type-safe bitflag sets in Rust
  • you are binding to C APIs with flag parameters
  • you want efficient multi-option types with parsing support

When to avoid

  • you need guaranteed-only-defined-bits enforcement
  • you need C-style bitfields rather than flag sets

Facets

library · maturity stable

serialization developer-tools programming-languages rust bitflags bitmask macros flags-enum rust-crate

2 sources

Member repositories

RepositoryRoleHealth v2
bitflags/bitflagsmain90

For agents

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

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