From 7f301a0771b5bee8385f0518054a0d642dc91a0a Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 15 Dec 2023 17:21:23 +0100 Subject: [PATCH] only allow CFDP for alloc for now --- satrs-core/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/satrs-core/src/lib.rs b/satrs-core/src/lib.rs index 22699e0..061f728 100644 --- a/satrs-core/src/lib.rs +++ b/satrs-core/src/lib.rs @@ -20,6 +20,8 @@ extern crate downcast_rs; #[cfg(any(feature = "std", test))] extern crate std; +#[cfg(feature = "alloc")] +#[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] pub mod cfdp; pub mod encoding; pub mod error;