From 41e57a7942cfc4c753ab94acd280d33b1eded134 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 13 Mar 2024 13:21:17 +0100 Subject: [PATCH] make alloc_mod public --- satrs/src/pus/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/satrs/src/pus/mod.rs b/satrs/src/pus/mod.rs index 763f452..ffb9008 100644 --- a/satrs/src/pus/mod.rs +++ b/satrs/src/pus/mod.rs @@ -44,7 +44,7 @@ pub use alloc_mod::*; #[cfg(feature = "std")] pub use std_mod::*; -use self::verification::{FailParams, TcStateStarted, VerificationReportingProvider}; +use self::verification::{FailParams, TcStateStarted}; #[derive(Debug, PartialEq, Eq, Clone)] pub enum PusTmWrapper<'tm> { @@ -338,7 +338,7 @@ pub trait ReplyHandlerHook { } #[cfg(feature = "alloc")] -mod alloc_mod { +pub mod alloc_mod { use hashbrown::HashMap; use crate::TargetId; @@ -503,10 +503,10 @@ mod alloc_mod { ActiveRequestType: ActiveRequestProvider, ReplyType, > { - active_request_map: ActiveRequestMap, - verification_reporter: VerificationReporter, - fail_data_buf: alloc::vec::Vec, - current_time: UnixTimestamp, + pub active_request_map: ActiveRequestMap, + pub verification_reporter: VerificationReporter, + pub fail_data_buf: alloc::vec::Vec, + pub current_time: UnixTimestamp, pub user_hook: UserHook, phantom: PhantomData<(ActiveRequestType, ReplyType)>, }