inconceivable
v0.9.0crates.io· Rust`inconceivable!` is a macro which closely parallels `std::unreachable`, or `std::panic`. The primary difference is that when this crate is configured with the `ub_inconceivable` option it will emit the `core::hint::unreachable_unchecked` to hint for the compiler to understand a condition should never occur. Generally compiler(s) (the LLVM) assume UB won't happen. This macro offers the "best of both worlds", it provides a solid way of asserting/testing behavior in local builds, but also a way of stripping branches out of final release builds. Please Note: This crate is created purely to inject undefined behavior into stable, safe rust. Systematic usage is unwise, and not recommended.
The verdict
Abandoned. Last published 6 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the crates.io registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
Security1 advisory
LicensePermissive
DepsZero deps
Maintenance
Last published 6 years ago.
Popularity
2 downloads / week
Security
1 known advisory (worst: low).
License
MIT
Dependencies
No runtime dependencies
Security advisories
Live from OSV.dev · cached 24h- UNKNOWNLibrary exclusively intended to inject UB into safe Rust.RUSTSEC-2022-0058 Published 2022-09-28
Recent releases
- 0.9.06 years ago