ryra-core 0.9.0

Core library for ryra: config, registry, and service generation logic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::collections::BTreeMap;

use serde::{Deserialize, Serialize};

/// A single test assertion — used by both VM and live test runners.
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct TestDef {
    pub name: String,
    pub run: String,
    #[serde(default = "default_timeout")]
    pub timeout: u64,
    #[serde(default)]
    pub env: BTreeMap<String, String>,
}

fn default_timeout() -> u64 {
    30
}