https://github.com/baoyachi/rust_is_debug
The crate by Rust that get build model is debug.
https://github.com/baoyachi/rust_is_debug
Last synced: about 1 month ago
JSON representation
The crate by Rust that get build model is debug.
- Host: GitHub
- URL: https://github.com/baoyachi/rust_is_debug
- Owner: baoyachi
- License: mit
- Created: 2021-11-11T07:03:07.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-14T08:21:17.000Z (2 months ago)
- Last Synced: 2025-02-28T07:14:19.745Z (about 2 months ago)
- Language: Rust
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# is_debug
The crate by Rust that get build model is debug.### use function
```TOML
[dependencies]
is_debug = "1"
``````rust
use is_debug::{is_debug, is_release};fn main() {
println!("{}", is_debug());println!("{}", is_release());
}
```