Cargo Features

[dependencies]
cfdp-rs = { version = "0.1.0", default-features = false, features = ["std", "alloc", "serde", "defmt"] }
default = std

The std feature is set by default whenever cfdp-rs is added without default-features = false somewhere in the dependency tree.

std default = alloc, thiserror

Enables std of spacepackets

Affects dest::StdDestinationHandler, filestore::std_mod, cfdp-rs::dest, cfdp-rs::source, cfdp-rs::StdRemoteEntityConfigProvider, cfdp-rs::GenericSendError, cfdp-rs::PduSendProvider, cfdp-rs::std_mod

alloc std = hashbrown

Enables alloc of spacepackets

Affects cfdp-rs::filestore, cfdp-rs::VecRemoteEntityConfigProvider, cfdp-rs::alloc_mod, request::alloc_mod, user::OwnedMetadataRecvdParams

serde

Enables serde, serde of hashbrown ^0.14, serde of spacepackets

defmt

Enables defmt, defmt of spacepackets

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.

thiserror std
hashbrown alloc? serde?

Enables hashbrown ^0.14