hypha: move components into separate crates

This commit is contained in:
Alex Zenla
2024-02-06 09:07:18 +00:00
parent 0c11744c50
commit e000ab2919
22 changed files with 101 additions and 27 deletions

14
shared/src/lib.rs Normal file
View File

@ -0,0 +1,14 @@
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug)]
pub struct LaunchNetwork {
pub link: String,
pub ipv4: String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct LaunchInfo {
pub network: Option<LaunchNetwork>,
pub env: Option<Vec<String>>,
pub run: Option<Vec<String>>,
}