Bitflags crate vs bitwise operations on const

I want to know the benefits of using bitflags crate over bitwise operations on normal const values.

The bitflags crate is a syntax sugar. Technically it does the exact same thing as bitwise operations written by hand, but with a nicer, more foolproof interface.