cardamon 0.0.2

Cardamon is a tool to help development teams measure the power consumption and carbon emissions of their software.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod m20240822_095823_create_run_table;
pub mod m20240822_095830_create_metrics_table;
pub mod m20240822_095838_create_iteration_table;

pub use sea_orm_migration::prelude::*;

pub struct Migrator;

#[async_trait::async_trait]
impl MigratorTrait for Migrator {
    fn migrations() -> Vec<Box<dyn MigrationTrait>> {
        vec![
            Box::new(m20240822_095823_create_run_table::Migration),
            Box::new(m20240822_095830_create_metrics_table::Migration),
            Box::new(m20240822_095838_create_iteration_table::Migration),
        ]
    }
}