dbg

Crates.iodbg
lib.rsdbg
version1.0.4
sourcesrc
created_at2017-10-18 22:41:45.688159
updated_at2018-01-19 03:37:11.011931
descriptiondbg!(expr, ..) macro from RFC 2173 in stable Rust
homepage
repositoryhttps://github.com/Centril/dbg
max_upload_size
id36140
size25,605
Mazdak Farrokhzad (Centril)

documentation

https://docs.rs/dbg/

README

RFC 2173: The dbg!(expr, ..) macro

This crate provides a working implementation of RFC 2173 on stable Rust.

To use the crate, add this to Cargo.toml:

[dependencies]
dbg = "1.0.4"

and to lib.rs or main.rs (the crate root):

#[macro_use] extern crate dbg;

Now you are ready to use the macro. Happy debugging!

If you are on nightly, the macro will automatically be built with the specialization features mandated by the RFC.

For more details and documentation, please see the guide-level explanation.

Commit count: 10

cargo fmt