You can use cfg(debug_assertions) but there should probably be a cfg(debug).
8 Likes
You can use cfg(debug_assertions) but there should probably be a cfg(debug).