From 46d096454324c51ddcd96bb4e806998ca948854f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 27 Nov 2025 12:43:04 +0100 Subject: [PATCH] do not build docs for deps --- .github/workflows/ci.yml | 2 +- satrs-shared/Cargo.toml | 3 ++- satrs/src/pool.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1392b5..16b7893 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly - - run: RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc -p satrs --all-features + - run: RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc -p satrs --all-features --no-deps clippy: name: Clippy diff --git a/satrs-shared/Cargo.toml b/satrs-shared/Cargo.toml index 8fecec4..5a2c5a0 100644 --- a/satrs-shared/Cargo.toml +++ b/satrs-shared/Cargo.toml @@ -11,7 +11,8 @@ license = "Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -spacepackets = { version = "0.17", default-features = false } +# spacepackets = { version = "0.17", default-features = false } +spacepackets = { version = "0.17", git = "https://egit.irs.uni-stuttgart.de/rust/spacepackets.git", default-features = false } serde = { version = "1", default-features = false, optional = true } defmt = {version = "1", optional = true } diff --git a/satrs/src/pool.rs b/satrs/src/pool.rs index ac86781..8cb5e96 100644 --- a/satrs/src/pool.rs +++ b/satrs/src/pool.rs @@ -175,7 +175,7 @@ pub enum PoolError { #[error("no data exists at address {0:?}")] DataDoesNotExist(PoolAddr), #[error("byte conversion error: {0}")] - ByteConversion(#[from] spacepackets::ByteConversionError), + ByteConversion(#[from] ByteConversionError), #[error("lock error")] LockError, /// Internal or configuration errors