Crates.io | debug_code |
lib.rs | debug_code |
version | 0.1.1 |
source | src |
created_at | 2024-03-13 11:51:57.47983 |
updated_at | 2024-03-13 11:57:40.939913 |
description | The util to remove code when not debug build. |
homepage | |
repository | https://github.com/shylock-hg/debug |
max_upload_size | |
id | 1171636 |
size | 20,194 |
This is a proc-macro
crate to help write debug conditional compilation code.
For more detail, you can see examples
, e.g., you can run cargo run --example debug_fields
but will get compiler error when run cargo run --release --example debug_fields
.