By the way this is one of the incantations that you'll want if you ever plan to write a no-std crate. I feel like there should be a clippy pint to suggest this whenever you write a bare `#![no_std]`
`#![cfg_attr(not(any(feature = "std", test)), no_std)]`
1 repost22 likes