fixes for no_std build
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2024-03-25 19:21:51 +01:00
parent 47b9bb1fb9
commit d45e0e932f
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -5,9 +5,6 @@ use crate::{
ComponentId, ComponentId,
}; };
use super::{ActivePusRequestStd, ActiveRequestProvider};
use delegate::delegate;
use satrs_shared::res_code::ResultU16; use satrs_shared::res_code::ResultU16;
#[cfg(feature = "std")] #[cfg(feature = "std")]
@ -144,7 +141,7 @@ pub mod std_mod {
use crate::{ use crate::{
pus::{ pus::{
verification::{self, TcStateToken}, verification::{self, TcStateToken},
DefaultActiveRequestMap, ActivePusRequestStd, ActiveRequestProvider, DefaultActiveRequestMap,
}, },
ComponentId, ComponentId,
}; };
@ -158,7 +155,7 @@ pub mod std_mod {
} }
impl ActiveRequestProvider for ActivePusActionRequestStd { impl ActiveRequestProvider for ActivePusActionRequestStd {
delegate! { delegate::delegate! {
to self.common { to self.common {
fn target_id(&self) -> ComponentId; fn target_id(&self) -> ComponentId;
fn token(&self) -> verification::TcStateToken; fn token(&self) -> verification::TcStateToken;