The PBC library is C, old, and still linked by programs that need pairings. pbc-rs replaces it in Rust, split into two profiles that are kept deliberately apart: a modern one that is small and strict, and a legacy one that reproduces PBC 1.0.0 closely enough to drop into existing binaries. Legacy compatibility is not a claim of modern security.
The README says it plainly: this is research software, LLM-assisted, with little to no review by a cryptographer and no audit. Don't use it in production.