make alloc_mod public
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2024-03-13 13:21:17 +01:00
parent 300289608e
commit 41e57a7942
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -44,7 +44,7 @@ pub use alloc_mod::*;
#[cfg(feature = "std")] #[cfg(feature = "std")]
pub use std_mod::*; pub use std_mod::*;
use self::verification::{FailParams, TcStateStarted, VerificationReportingProvider}; use self::verification::{FailParams, TcStateStarted};
#[derive(Debug, PartialEq, Eq, Clone)] #[derive(Debug, PartialEq, Eq, Clone)]
pub enum PusTmWrapper<'tm> { pub enum PusTmWrapper<'tm> {
@ -338,7 +338,7 @@ pub trait ReplyHandlerHook<ActiveRequestType, ReplyType> {
} }
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]
mod alloc_mod { pub mod alloc_mod {
use hashbrown::HashMap; use hashbrown::HashMap;
use crate::TargetId; use crate::TargetId;
@ -503,10 +503,10 @@ mod alloc_mod {
ActiveRequestType: ActiveRequestProvider, ActiveRequestType: ActiveRequestProvider,
ReplyType, ReplyType,
> { > {
active_request_map: ActiveRequestMap, pub active_request_map: ActiveRequestMap,
verification_reporter: VerificationReporter, pub verification_reporter: VerificationReporter,
fail_data_buf: alloc::vec::Vec<u8>, pub fail_data_buf: alloc::vec::Vec<u8>,
current_time: UnixTimestamp, pub current_time: UnixTimestamp,
pub user_hook: UserHook, pub user_hook: UserHook,
phantom: PhantomData<(ActiveRequestType, ReplyType)>, phantom: PhantomData<(ActiveRequestType, ReplyType)>,
} }