Tag workloads

This commit is contained in:
Mubelotix
2025-08-25 11:50:27 +02:00
parent 8240b76267
commit 3a2ec5f576
29 changed files with 52 additions and 13 deletions

View File

@ -2,3 +2,4 @@ pub mod args;
pub mod assets;
pub mod client;
pub mod logs;
pub mod workload;

View File

@ -0,0 +1,10 @@
use serde::Deserialize;
use crate::{bench::BenchWorkload, test::TestWorkload};
#[derive(Deserialize)]
#[serde(tag = "type")]
pub enum Workload {
Bench(BenchWorkload),
Test(TestWorkload),
}