mirror of
https://github.com/OMGeeky/appmap_tracing_test.git
synced 2026-01-22 11:25:21 +01:00
Initial attempt to create Appmaps (currently manually but the supporting data structure is there)
This commit is contained in:
16
src/lib.rs
Normal file
16
src/lib.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::collections::HashMap;
|
||||
use std::fmt;
|
||||
use std::fmt::Debug;
|
||||
use std::time::Instant;
|
||||
use tracing::field::{Field, Visit};
|
||||
use tracing::span::{Attributes, Record};
|
||||
use tracing::{Id, Subscriber};
|
||||
use tracing_subscriber::layer::Context;
|
||||
use tracing_subscriber::Layer;
|
||||
pub mod appmap_definition;
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq)]
|
||||
pub struct AppMap {
|
||||
#[serde(flatten)]
|
||||
pub data: crate::appmap_definition::AppMapObject,
|
||||
}
|
||||
Reference in New Issue
Block a user