From 440e7571417a34628fcdd271409cfeaa4a15222f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 29 Oct 2025 16:37:41 +0100 Subject: [PATCH] updated dependencies --- justfile | 5 ++++- satrs-shared/Cargo.toml | 2 +- satrs-shared/src/lib.rs | 2 +- satrs/Cargo.toml | 6 +++--- satrs/src/lib.rs | 2 +- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/justfile b/justfile index ac898b6..7c4fa02 100644 --- a/justfile +++ b/justfile @@ -1,9 +1,12 @@ -all: check embedded test fmt clippy docs +all: check build embedded test fmt clippy docs check: cargo check cargo check -p satrs-example --no-default-features +build: + cargo build + test: cargo nextest run --all-features cargo test --doc --all-features diff --git a/satrs-shared/Cargo.toml b/satrs-shared/Cargo.toml index b6f63b1..a3161a6 100644 --- a/satrs-shared/Cargo.toml +++ b/satrs-shared/Cargo.toml @@ -11,7 +11,7 @@ license = "Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -spacepackets = { version = ">=0.14, <=0.16", default-features = false } +spacepackets = { version = ">=0.14, <=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-shared/src/lib.rs b/satrs-shared/src/lib.rs index 4fdba60..4f74ffb 100644 --- a/satrs-shared/src/lib.rs +++ b/satrs-shared/src/lib.rs @@ -1,4 +1,4 @@ //! This crates contains modules shared among other sat-rs framework crates. #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] pub mod res_code; diff --git a/satrs/Cargo.toml b/satrs/Cargo.toml index 03c81d2..9e53ad9 100644 --- a/satrs/Cargo.toml +++ b/satrs/Cargo.toml @@ -14,13 +14,13 @@ categories = ["aerospace", "aerospace::space-protocols", "no-std", "hardware-sup [dependencies] satrs-shared = { version = "0.2", path = "../satrs-shared" } -spacepackets = { version = "0.16", default-features = false } +spacepackets = { version = "0.17", git = "https://egit.irs.uni-stuttgart.de/rust/spacepackets.git", default-features = false } delegate = "0.13" paste = "1" derive-new = "0.7" num_enum = { version = "0.7", default-features = false } -cobs = { version = "0.5", default-features = false, features = ["alloc"] } +cobs = { version = "0.5", default-features = false } thiserror = { version = "2", default-features = false } hashbrown = { version = "0.16", optional = true } @@ -64,6 +64,7 @@ std = [ ] alloc = [ "serde/alloc", + "cobs/alloc", "spacepackets/alloc", "hashbrown", "dyn-clone", @@ -71,7 +72,6 @@ alloc = [ ] serde = ["dep:serde", "spacepackets/serde", "satrs-shared/serde"] crossbeam = ["crossbeam-channel"] -# heapless = ["dep:heapless", "static_cell"] defmt = ["dep:defmt", "spacepackets/defmt"] test_util = [] diff --git a/satrs/src/lib.rs b/satrs/src/lib.rs index 287a290..4d1b4f2 100644 --- a/satrs/src/lib.rs +++ b/satrs/src/lib.rs @@ -14,7 +14,7 @@ //! - The [pus] module which provides special support for projects using //! the [ECSS PUS C standard](https://ecss.nl/standard/ecss-e-st-70-41c-space-engineering-telemetry-and-telecommand-packet-utilization-15-april-2016/). #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(any(feature = "alloc", test))] extern crate alloc; #[cfg(feature = "alloc")] -- 2.43.0