Cargo Features
[dependencies]
satrs-core = { version = "0.1.0-alpha.3", default-features = false, features = ["std", "alloc", "serde", "crossbeam", "heapless", "doc-images"] }
- default = std
-
The
std
feature is set by default wheneversatrs-core
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, bus, socket2, thiserror
-
Enables use-std of postcard, std of serde and spacepackets ^0.9.0 and std of crossbeam-channel, downcast-rs, and num_enum
crossbeam-channel:
Enable to use APIs that require
std
. This is enabled by default.NOTE: Disabling
std
feature is not supported yet.Affects
filestore::stdmod
,cfdp::dest
,cfdp::source
,cfdp::StdCheckTimer
,cfdp::StdRemoteEntityConfigProvider
,event_man::EventManagerWithMpscQueue
,event_man::stdmod
,hal::std
,satrs-core::executable
,pus::event_srv
,pus::scheduler_srv
,pus::test
,pus::std_mod
,seq_count::stdmod
,tm_helper::std_mod
… - alloc std = downcast-rs, dyn-clone, hashbrown
-
Enables alloc of serde and spacepackets ^0.9.0
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.
Affects
cfdp::filestore
,cfdp::CheckTimerCreator
,user::OwnedMetadataRecvdParams
,satrs-core::cfdp
,satrs-core::event_man
,objects::alloc_mod
,objects::alloc_mod.ObjectManager
,pool::PoolProvider.read_as_vec
,event_man::alloc_mod
,scheduler::alloc_mod
,seq_count::SequenceCountProvider
,tmtc::ccsds_distrib
,tmtc::pus_distrib
,tmtc::ReceivesTc
,tmtc::TmPacketSource
… - serde alloc? std
-
Enables serde, serde of spacepackets ^0.9.0
- crossbeam = crossbeam-channel
- heapless
-
Enables heapless ^0.7
Affects
event_man::heapless_mod
… - doc-images
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.