Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ members = [
"crates/fbuild-config",
"crates/fbuild-paths",
"crates/fbuild-packages",
"crates/fbuild-packages-fetch",
"crates/fbuild-library",
"crates/fbuild-toolchain",
"crates/fbuild-serial",
"crates/fbuild-build",
"crates/fbuild-build-engine",
Expand Down
5 changes: 5 additions & 0 deletions ci/check_workspace_crates.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
"crates/fbuild-config",
"crates/fbuild-paths",
"crates/fbuild-packages",
# FastLED/fbuild#1008 Phase B: fetch-primitives + parallel library /
# toolchain crates behind the fbuild-packages facade.
"crates/fbuild-packages-fetch",
"crates/fbuild-library",
"crates/fbuild-toolchain",
"crates/fbuild-serial",
"crates/fbuild-build",
# FastLED/fbuild#1008: compile-parallelism split — shared build engine
Expand Down
5 changes: 5 additions & 0 deletions ci/hooks/crate_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
"crates/fbuild-config",
"crates/fbuild-paths",
"crates/fbuild-packages",
# FastLED/fbuild#1008 Phase B: fetch-primitives + parallel library /
# toolchain crates behind the fbuild-packages facade.
"crates/fbuild-packages-fetch",
"crates/fbuild-library",
"crates/fbuild-toolchain",
"crates/fbuild-serial",
"crates/fbuild-build",
# FastLED/fbuild#1008: compile-parallelism split of fbuild-build into a
Expand Down
39 changes: 39 additions & 0 deletions crates/fbuild-library/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[package]
name = "fbuild-library"
description = "Library resolution + management for fbuild (parallel with fbuild-toolchain). FastLED/fbuild#1008."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
# Not published to crates.io — internal compile-parallelism split. FastLED/fbuild#1008.
publish = false

[dependencies]
fbuild-packages-fetch = { path = "../fbuild-packages-fetch" }
fbuild-core = { path = "../fbuild-core" }
fbuild-paths = { path = "../fbuild-paths" }
fbuild-config = { path = "../fbuild-config" }
async-trait = { workspace = true }
tokio = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
tempfile = { workspace = true }
sha2 = { workspace = true }
flate2 = { workspace = true }
tar = { workspace = true }
zip = { workspace = true }
xz2 = { workspace = true }
bzip2 = { workspace = true }
zstd = { workspace = true }
semver = { workspace = true }
rusqlite = { workspace = true }
walkdir = { workspace = true }
prost = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }
axum = { workspace = true }
tokio = { workspace = true }
3 changes: 3 additions & 0 deletions crates/fbuild-library/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# fbuild-library

Extracted from `fbuild-packages` for compile parallelism (FastLED/fbuild#1008 Phase B). Re-exported by the `fbuild-packages` facade at unchanged paths.
8 changes: 8 additions & 0 deletions crates/fbuild-library/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//! Library resolution + management for fbuild (FastLED/fbuild#1008 Phase B).
//!
//! Re-exports the `fbuild-packages-fetch` base (primitives + Package traits) at
//! the crate root so `library`'s `crate::Package` / `crate::cache::…` paths
//! resolve unchanged. Re-exported by the `fbuild-packages` facade.
pub use fbuild_packages_fetch::*;

pub mod library;
38 changes: 38 additions & 0 deletions crates/fbuild-packages-fetch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[package]
name = "fbuild-packages-fetch"
description = "Fetch primitives (http, download, extract, cache, disk-cache) + Package/Toolchain/Framework base traits for fbuild. FastLED/fbuild#1008."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
# Not published to crates.io — internal compile-parallelism split. FastLED/fbuild#1008.
publish = false

[dependencies]
fbuild-core = { path = "../fbuild-core" }
fbuild-paths = { path = "../fbuild-paths" }
fbuild-config = { path = "../fbuild-config" }
async-trait = { workspace = true }
tokio = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
tempfile = { workspace = true }
sha2 = { workspace = true }
flate2 = { workspace = true }
tar = { workspace = true }
zip = { workspace = true }
xz2 = { workspace = true }
bzip2 = { workspace = true }
zstd = { workspace = true }
semver = { workspace = true }
rusqlite = { workspace = true }
walkdir = { workspace = true }
prost = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }
axum = { workspace = true }
tokio = { workspace = true }
3 changes: 3 additions & 0 deletions crates/fbuild-packages-fetch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# fbuild-packages-fetch

Extracted from `fbuild-packages` for compile parallelism (FastLED/fbuild#1008 Phase B). Re-exported by the `fbuild-packages` facade at unchanged paths.
Loading
Loading