feat: separate embedded logos client (#166)

* feat: separate embedded p2p delievery to its own crate

* feat: separate p2p config in its own crate

* chore: split embed module

* chore: refactor registry config

* feat: split logos chat crate

* chore: refactor
This commit is contained in:
kaichao
2026-07-09 15:12:58 +08:00
committed by GitHub
parent b19d0c6e67
commit 939a63e8bc
28 changed files with 274 additions and 226 deletions
+6 -6
View File
@@ -20,12 +20,12 @@ jobs:
- run: rustup update stable && rustup default stable
# hashgraph-like-consensus's build.rs shells out to protoc via prost-build.
- run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
# chat-cli pulls in components' embedded_p2p_delivery feature, whose
# build.rs links liblogosdelivery (built via Nix or LOGOS_DELIVERY_LIB_DIR).
# The smoketest job builds and exercises it under Nix; here we keep the
# toolchain-only job fast by skipping it.
- run: cargo build --verbose --workspace --exclude chat-cli
- run: cargo test --verbose --workspace --exclude chat-cli
# chat-cli and the embedded-logos-delivery crate link liblogosdelivery
# (built via Nix or LOGOS_DELIVERY_LIB_DIR). The smoketest job builds and
# exercises them under Nix; here we keep the toolchain-only job fast by
# skipping them.
- run: cargo build --verbose --workspace --exclude chat-cli --exclude embedded-logos-delivery
- run: cargo test --verbose --workspace --exclude chat-cli --exclude embedded-logos-delivery
clippy:
name: Clippy