NULLx76 / ringbuffer

A fixed-size circular buffer written in Rust.
https://crates.io/crates/ringbuffer
MIT License
95 stars 20 forks source link

0.14.1 has no feature bound on alloc #119

Closed eloc3147 closed 1 year ago

eloc3147 commented 1 year ago

Not sure how this happened, but the published 0.14.1 version of this crate has no #[cfg(feature = "alloc")] bound on the extern crate alloc import. I'm not sure which revision this is as there is no tag or release for 0.14.1.

NULLx76 commented 1 year ago

Also unsure what happened there, I published version 0.14.2 that fixes this

eloc3147 commented 1 year ago

Er, sorry. I probably should have checked that the current master branch of this crate compiles without the alloc feature enabled.

I made a PR (#120) to get compiling without alloc working again and a test to hopefully prevent this in future.