hypha: move components into separate crates

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

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
[package]
name = "hypha"
version.workspace = true
edition = "2021"
resolver = "2"
[dependencies]
serde = { workspace = true }
[lib]
path = "src/lib.rs"
+14
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>>,
}