diff --git a/satrs-example/src/bin/simpleclient.rs b/satrs-example/src/bin/simpleclient.rs index 0b137c4..12e2b35 100644 --- a/satrs-example/src/bin/simpleclient.rs +++ b/satrs-example/src/bin/simpleclient.rs @@ -1,10 +1,7 @@ use satrs::pus::verification::RequestId; use satrs::spacepackets::ecss::tc::PusTcCreator; use satrs::spacepackets::ecss::tm::PusTmReader; -use satrs::{ - spacepackets::ecss::{PusPacket, WritablePusPacket}, - spacepackets::SpHeader, -}; +use satrs::{spacepackets::ecss::PusPacket, spacepackets::SpHeader}; use satrs_example::config::{OBSW_SERVER_ADDR, SERVER_PORT}; use std::net::{IpAddr, SocketAddr, UdpSocket}; use std::time::Duration; diff --git a/satrs-mib/Cargo.toml b/satrs-mib/Cargo.toml index d2093c2..13b54e2 100644 --- a/satrs-mib/Cargo.toml +++ b/satrs-mib/Cargo.toml @@ -24,6 +24,7 @@ optional = true [dependencies.satrs-shared] version = "0.2.2" +path = "../satrs-shared" features = ["serde"] [dependencies.satrs-mib-codegen] diff --git a/satrs-mib/codegen/Cargo.toml b/satrs-mib/codegen/Cargo.toml index fb4bbf8..124b767 100644 --- a/satrs-mib/codegen/Cargo.toml +++ b/satrs-mib/codegen/Cargo.toml @@ -29,6 +29,7 @@ trybuild = { version = "1", features = ["diff"] } [dev-dependencies.satrs-shared] version = "0.2.2" +path = "../../satrs-shared" [dev-dependencies.satrs-mib] path = ".." diff --git a/satrs-shared/Cargo.toml b/satrs-shared/Cargo.toml index 901a33d..02e988b 100644 --- a/satrs-shared/Cargo.toml +++ b/satrs-shared/Cargo.toml @@ -11,6 +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.15", git = "https://egit.irs.uni-stuttgart.de/rust/spacepackets.git", default-features = false } [dependencies.serde] version = "1" @@ -21,9 +22,6 @@ optional = true version = "1" optional = true -[dependencies.spacepackets] -version = "0.14" -default-features = false [features] serde = ["dep:serde", "spacepackets/serde"] diff --git a/satrs/Cargo.toml b/satrs/Cargo.toml index 7b623a3..8c1017d 100644 --- a/satrs/Cargo.toml +++ b/satrs/Cargo.toml @@ -13,12 +13,13 @@ keywords = ["no-std", "space", "aerospace"] categories = ["aerospace", "aerospace::space-protocols", "no-std", "hardware-support", "embedded"] [dependencies] -satrs-shared = { version = "0.2.2" } +satrs-shared = { version = "0.2.2", path = "../satrs-shared" } +spacepackets = { version = ">=0.14, <=0.15", git = "https://egit.irs.uni-stuttgart.de/rust/spacepackets.git", default-features = false } + delegate = ">0.7, <=0.13" paste = "1" derive-new = ">=0.6, <=0.7" num_enum = { version = ">0.5, <=0.7", default-features = false } -spacepackets = { version = "0.14", default-features = false } cobs = { version = "0.4", default-features = false, git = "https://github.com/jamesmunns/cobs.rs.git", branch = "main" } thiserror = { version = "2", default-features = false }