Initial attempt to create Appmaps (currently manually but the supporting data structure is there)

This commit is contained in:
OMGeeky
2023-06-30 16:28:29 +02:00
commit b7f6bd1830
7 changed files with 407 additions and 0 deletions

16
src/lib.rs Normal file
View 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,
}