bijux-dag-app 0.4.1

Application orchestration and response-shaping layer for Bijux DAG command surfaces.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::Serialize;

#[derive(Debug, Serialize)]
pub struct ImportCommandResponse {
    pub summary: String,
}

#[cfg(test)]
mod tests {
    use super::ImportCommandResponse;

    #[test]
    fn import_command_response_serializes_stably() {
        let response = ImportCommandResponse { summary: "verified".to_string() };
        let value = serde_json::to_value(&response).expect("serialize import response");
        assert_eq!(value["summary"], "verified");
    }
}