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

bitflags/bitflags

A macro to generate structures which behave like bitflags observed · 2026-10-09

github.com/bitflags/bitflags · Rust · Apache-2.0 (permissive) observed · 2026-10-09

Health v2 · maintenance only

91/100

  • Activity 95
  • Release rhythm 82
  • Longevity 100
How is this computed?

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

  • gap_med: 45.0
  • age_days: 4297
  • days_rel: 42
  • days_push: 33
  • n_releases_24m: 15

Full methodology

Adoption not part of the score

1163 stars · 168 forks observed · 2026-10-09

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/bitflagsmain91

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem