updated dependencies

This commit is contained in:
Robin Mueller
2025-10-29 16:37:41 +01:00
parent 02aa825783
commit 440e757141
5 changed files with 10 additions and 7 deletions

View File

@@ -1,9 +1,12 @@
all: check embedded test fmt clippy docs all: check build embedded test fmt clippy docs
check: check:
cargo check cargo check
cargo check -p satrs-example --no-default-features cargo check -p satrs-example --no-default-features
build:
cargo build
test: test:
cargo nextest run --all-features cargo nextest run --all-features
cargo test --doc --all-features cargo test --doc --all-features

View File

@@ -11,7 +11,7 @@ license = "Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [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 } serde = { version = "1", default-features = false, optional = true }
defmt = {version = "1", optional = true } defmt = {version = "1", optional = true }

View File

@@ -1,4 +1,4 @@
//! This crates contains modules shared among other sat-rs framework crates. //! This crates contains modules shared among other sat-rs framework crates.
#![no_std] #![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
pub mod res_code; pub mod res_code;

View File

@@ -14,13 +14,13 @@ categories = ["aerospace", "aerospace::space-protocols", "no-std", "hardware-sup
[dependencies] [dependencies]
satrs-shared = { version = "0.2", path = "../satrs-shared" } 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" delegate = "0.13"
paste = "1" paste = "1"
derive-new = "0.7" derive-new = "0.7"
num_enum = { version = "0.7", default-features = false } 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 } thiserror = { version = "2", default-features = false }
hashbrown = { version = "0.16", optional = true } hashbrown = { version = "0.16", optional = true }
@@ -64,6 +64,7 @@ std = [
] ]
alloc = [ alloc = [
"serde/alloc", "serde/alloc",
"cobs/alloc",
"spacepackets/alloc", "spacepackets/alloc",
"hashbrown", "hashbrown",
"dyn-clone", "dyn-clone",
@@ -71,7 +72,6 @@ alloc = [
] ]
serde = ["dep:serde", "spacepackets/serde", "satrs-shared/serde"] serde = ["dep:serde", "spacepackets/serde", "satrs-shared/serde"]
crossbeam = ["crossbeam-channel"] crossbeam = ["crossbeam-channel"]
# heapless = ["dep:heapless", "static_cell"]
defmt = ["dep:defmt", "spacepackets/defmt"] defmt = ["dep:defmt", "spacepackets/defmt"]
test_util = [] test_util = []

View File

@@ -14,7 +14,7 @@
//! - The [pus] module which provides special support for projects using //! - 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/). //! 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] #![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
#[cfg(any(feature = "alloc", test))] #[cfg(any(feature = "alloc", test))]
extern crate alloc; extern crate alloc;
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]