wip: Started work on k3d crate

This commit is contained in:
2025-04-17 13:04:06 -04:00
parent 3f6f1fa0d4
commit 847d84b46f
7 changed files with 262 additions and 11 deletions

23
k3d/Cargo.toml Normal file
View File

@@ -0,0 +1,23 @@
[package]
name = "k3d-rs"
edition = "2021"
version.workspace = true
readme.workspace = true
license.workspace = true
[dependencies]
#serde = { version = "1.0.123", features = [ "derive" ] }
log = { workspace = true }
env_logger = { workspace = true }
#russh = { workspace = true }
#russh-keys = { workspace = true }
#thiserror = "1.0"
async-trait = { workspace = true }
tokio = { workspace = true }
octocrab = "0.44.0"
#serde_json = "1.0.133"
#tokio-util = { version = "0.7.13", features = [ "codec" ] }
#tokio-stream = "0.1.17"
[dev-dependencies]
pretty_assertions = "1.4.1"

12
k3d/src/lib.rs Normal file
View File

@@ -0,0 +1,12 @@
use std::path::PathBuf;
pub struct K3d {
}
impl K3d {
pub async fn download_latest_release(&self) -> Result<PathBuf, String> {
}
}