vacro-trace 0.1.2

Observability, tracing, and snapshot debugging for Rust procedural macros.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
    #[error("Cargo error: {0}")]
    Cargo(#[from] std::io::Error),
    #[error("Metadata error: {0}")]
    Metadata(#[from] serde_json::Error),
}

pub type Result<T> = std::result::Result<T, Error>;