A lightweight library providing a very useful inspect! macro that
logs meta information like the filename and line number in addition
to the expressions you debug and their results.
#![feature(phase)]
extern crate debug;
#[phase(plugin, link)]
extern crate inspect;
fn main() {
let a = 7u;
let b = 4u;
inspect!(a, b, a + b);
// => file.rs - 10: a = 7, b = 4, a + b = 11
}Add:
[dependencies.inspect]
git = "https://github.com/reem/rust-inspect"to your Cargo.toml.
MIT
