Move to workspace

This commit is contained in:
SkyfallWasTaken 2024-07-09 20:46:45 +01:00
parent c20ee0e575
commit b729259092
8 changed files with 28 additions and 14 deletions

6
Cargo.lock generated
View file

@ -225,7 +225,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
[[package]] [[package]]
name = "dinopkg" name = "dinopkg-cli"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"clap", "clap",
@ -235,6 +235,10 @@ dependencies = [
"tokio", "tokio",
] ]
[[package]]
name = "dinopkg-package-json"
version = "0.1.0"
[[package]] [[package]]
name = "encoding_rs" name = "encoding_rs"
version = "0.8.34" version = "0.8.34"

View file

@ -1,11 +1,3 @@
[package] [workspace]
name = "dinopkg" resolver = "2"
version = "0.1.0" members = ["crates/*"]
edition = "2021"
[dependencies]
clap = { version = "4.5.9", features = ["derive"] }
color-eyre = "0.6.3"
owo-colors = "4.0.0"
reqwest = "0.12.5"
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }

View file

@ -0,0 +1,11 @@
[package]
name = "dinopkg-cli"
version = "0.1.0"
edition = "2021"
[dependencies]
clap = { version = "4.5.9", features = ["derive"] }
color-eyre = "0.6.3"
owo-colors = "4.0.0"
reqwest = "0.12.5"
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }

View file

@ -1,3 +1 @@
use super::Command;
pub async fn run(script_name: Option<String>) {} pub async fn run(script_name: Option<String>) {}

View file

@ -0,0 +1,6 @@
[package]
name = "dinopkg-package-json"
version = "0.1.0"
edition = "2021"
[dependencies]

View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}