diff --git a/Cargo.toml b/Cargo.toml index ae0f070..d7530ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,21 +13,17 @@ categories = ["aerospace", "aerospace::space-protocols", "no-std", "hardware-sup [dependencies] num = "0.4" -serde = "1.0.137" +serde = "1.0.142" zerocopy = "0.6.1" crc = "3.0.0" delegate = "0.7.0" -chrono = "0.4.19" - -[dependencies.heapless] -version = "0.7.14" -optional = true +chrono = "0.4.20" [dev-dependencies.postcard] version = "0.7.3" features = ["use-std"] [features] -default = ["heapless", "alloc"] +default = ["alloc"] std = ["postcard/use-std"] alloc = ["serde/alloc"] diff --git a/README.md b/README.md index 1862e3a..e591ce7 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,12 @@ Currently, this includes the following components: [CCSDS Blue Book 133.0-B-2](https://public.ccsds.org/Pubs/133x0b2e1.pdf) - PUS Telecommand and PUS Telemetry implementation according to the [ECSS-E-ST-70-41C standard](https://ecss.nl/standard/ecss-e-st-70-41c-space-engineering-telemetry-and-telecommand-packet-utilization-15-april-2016/). +- CDS Short Time Code implementations according to + [CCSDS CCSDS 301.0-B-4](https://public.ccsds.org/Pubs/301x0b4e1.pdf) + +This package is suitable for `no_std` environments. + +It features optional support for the `alloc` crate and also offers support +for `serde`. The Space Paccket, PUS TM and TC implementations derive +the `serde` `Serialize` and `Deserialize` trait. This allows serializing and +deserializing them with an appropriate `serde` provider like `postcard`.