Skip to content

Commit

Permalink
wip: reorganize crates (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
cilki committed Nov 24, 2023
1 parent bfc5acd commit 02fdbd0
Show file tree
Hide file tree
Showing 87 changed files with 20 additions and 72 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ strip = true
[workspace]
members = [
"goldboot",
"goldboot-foundry",
"goldboot-image",
"goldboot-linux",
"goldboot-registry",
"goldboot-repository",
]
28 changes: 0 additions & 28 deletions goldboot-foundry/Cargo.toml

This file was deleted.

24 changes: 0 additions & 24 deletions goldboot-linux/Cargo.toml

This file was deleted.

3 changes: 0 additions & 3 deletions goldboot-linux/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions goldboot-linux/goldboot.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "goldboot-repository"
name = "goldboot-uefi"
version = "0.1.0"
edition = "2021"

Expand Down
3 changes: 3 additions & 0 deletions goldboot-uefi/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}
15 changes: 14 additions & 1 deletion goldboot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,44 @@ homepage = "https://goldboot.org"
repository = "https://github.com/goldboot/goldboot/"

[dependencies]
block-utils = "0.11.1"
chrono = "0.4.31"
clap = { version = "4.4.7", features = ["derive"] }
console = "0.15.7"
dialoguer = "0.11.0"
env_logger = "0"
fossable = "0.1.0"
gdk4 = "0.7.3"
gdk-pixbuf = "0.18.3"
glib-macros = "0.18.3"
goldboot-image = { path="../goldboot-image", version = "0.0.1" }
gtk4 = "0.7.3"
hex = "0.4.3"
indicatif = "0.17.7"
log = { version = "0.4.20", default-features = false }
png = "0.17.10"
rand = "0.8.5"
regex = "1.10.2"
reqwest = { version = "0.11.22", features = ["stream", "blocking", "json"] }
rust-embed = "8.0.0"
ron = "0.8.1"
serde = { version = "1.0.190", features = ["derive"] }
serde_win_unattend = "0.1.0"
sha1 = "0.10.6"
sha2 = "0.10.8"
simple-error = "0.3.0"
ssh2 = { version = "0.9.4", features = ["vendored-openssl"] }
strum = { version = "0.25.0", features = ["derive"] }
tempfile = "3.8.1"
ubyte = "0.10.4"
url = { version = "2.4.1", features = ["serde"] }
validator = { version = "0.16.1", features = ["derive"] }
vnc = "0.4.0"
whoami = "1.4.1"
zstd = "0.13.0"

[dev-dependencies]
test-env-log = "0"
env_logger = "0"

[features]
gui = ["dep:gtk4", "dep:glib-macros", "dep:gdk4", "dep:gdk-pixbuf", "dep:block-utils"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Default for ArchLinux {
}
}

impl super::Cast for ArchLinux {
impl ImageMold for ArchLinux {
fn metadata() -> TemplateMetadata {
TemplateMetadata {
id: TemplateId::ArchLinux,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct TemplateMetadata {
///
/// This term comes from metallurgy where casting means to pour molten metal into
/// a mold, producing a solidified object in the shape of the mold.
pub trait Cast {
pub trait ImageMold: Default + Serialize + PromptMut {
/// Cast an image from the mold.
fn cast(&self, context: &FoundryWorker) -> Result<(), Box<dyn Error>>;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 02fdbd0

Please sign in to comment.