- Implemented functionality to fetch the latest k3d release tag from GitHub. - Added logic to determine the appropriate binary URL based on the current platform. - Implemented downloading and saving the binary to a specified directory. - Included unit tests to verify the download and installation process. - Added a `K3D_BIN_FILE_NAME` constant for clarity. - Added logging for better debugging.
33 lines
847 B
TOML
33 lines
847 B
TOML
[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"
|
|
regex = "1.11.1"
|
|
reqwest = { version = "0.12", features = ["stream"] }
|
|
#hyper-rustls = "0.27.5"
|
|
#hyper = { version = "1", features = [ "client" ] }
|
|
#hyper = { version = "1", features = ["full"] }
|
|
#http-body-util = "0.1"
|
|
#hyper-util = { version = "0.1", features = ["full"] }
|
|
url.workspace = true
|
|
sha2 = "0.10.8"
|
|
futures-util = "0.3.31"
|
|
#bytes = "1.10.1"
|
|
#serde_json = "1.0.133"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "1.4.1"
|