Crates.io | dev_util |
lib.rs | dev_util |
version | 0.1.2 |
source | src |
created_at | 2023-01-06 15:03:37.853623 |
updated_at | 2023-01-07 09:49:18.739562 |
description | Some development tools |
homepage | |
repository | https://github.com/zgj0315/dev_util/ |
max_upload_size | |
id | 752344 |
size | 5,227 |
Some development tools
Add this to your Cargo.toml:
[dependencies]
log = "0.4"
[dev-dependencies]
dev_util = "0.1"
#[cfg(test)]
mod tests {
use dev_util::log::log_init;
#[test]
fn it_works() {
log::info!("log is't initialized, you can't see me");
log_init();
log::info!("log is initialized");
}
}