Since the crate contains no unsafe code except in mod tests, it would be possible to add #![deny(unsafe_code)] and then #[allow(unsafe_code)] for the tests.
I don't really see the advantage in that.
Users of this crate will have to use unsafe code to interact with the extern "C" functions anyways.
Since the crate contains no
unsafecode except inmod tests, it would be possible to add#![deny(unsafe_code)]and then#[allow(unsafe_code)]for the tests.I don't really see the advantage in that.
Users of this crate will have to use
unsafecode to interact with theextern "C"functions anyways.