What would you change about bitflags?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • bitflags

    A macro to generate structures which behave like bitflags

  • I’m collecting input in this issue if there’s anything you’d like to see done. I’m keen to hear about any burning issues you’ve run into!

  • nix

    Rust friendly bindings to *nix APIs (by nix-rust)

  • One thing I'd like to see is a MSRV policy, as its causing problems for downstreams (https://github.com/nix-rust/nix/issues/1555)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rust-analyzer

    Discontinued A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer] (by rust-analyzer)

  • https://github.com/rust-analyzer/rust-analyzer/pull/8325/ is an interesting case study there. In rust-analyzer, we used to use bitflags solely to pack several bool fields into u8. For that use-case, turns out that doing bitpacking manually is roughly as ergonomic as using bitflags crate. Ideally, for this use-case, I’d just write a struct with a bunch of bool fields annotated with some kind of #[packed] attribute.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts