forked from NationTech/harmony
wip: Started work on k3d crate
This commit is contained in:
23
k3d/Cargo.toml
Normal file
23
k3d/Cargo.toml
Normal 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
12
k3d/src/lib.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub struct K3d {
|
||||
}
|
||||
|
||||
impl K3d {
|
||||
pub async fn download_latest_release(&self) -> Result<PathBuf, String> {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user