RoaringBitmap / croaring-rs

Rust FFI wrapper for CRoaring
Apache License 2.0
157 stars 43 forks source link

Add the ability to work in no-std (optionally with alloc) #132

Closed Dr-Emann closed 4 months ago

Dr-Emann commented 5 months ago

By default, the std feature is enabled, but with disable-default-features, it can now be either no-std/no-alloc.

This did involve a breaking change with the serialization traits, to allow no-alloc serialization.

Serialize/Deserialize traits were sealed, and most functions were hidden

Per updated guidance, it is recommended to commit the Cargo.lock, even for libraries, so this removes it from the gitignore, and adds it.

Fixes #131