2022-06-18 22:48:51 +02:00
|
|
|
[package]
|
|
|
|
name = "spacepackets"
|
2024-11-08 15:53:28 +01:00
|
|
|
version = "0.13.0"
|
2022-06-18 22:48:51 +02:00
|
|
|
edition = "2021"
|
2024-11-07 23:36:04 +01:00
|
|
|
rust-version = "1.81.0"
|
2022-06-18 22:48:51 +02:00
|
|
|
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
|
|
|
description = "Generic implementations for various CCSDS and ECSS packet standards"
|
|
|
|
homepage = "https://egit.irs.uni-stuttgart.de/rust/spacepackets"
|
|
|
|
repository = "https://egit.irs.uni-stuttgart.de/rust/spacepackets"
|
|
|
|
license = "Apache-2.0"
|
|
|
|
keywords = ["no-std", "space", "packets", "ccsds", "ecss"]
|
|
|
|
categories = ["aerospace", "aerospace::space-protocols", "no-std", "hardware-support", "embedded"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-01-09 23:49:17 +01:00
|
|
|
crc = "3"
|
2024-09-10 17:51:31 +02:00
|
|
|
delegate = ">=0.8, <=0.13"
|
2024-08-20 10:57:53 +02:00
|
|
|
paste = "1"
|
2023-07-10 10:25:11 +02:00
|
|
|
|
2023-08-28 18:45:24 +02:00
|
|
|
[dependencies.zerocopy]
|
2024-11-07 23:36:04 +01:00
|
|
|
version = "0.8"
|
2023-08-28 18:45:24 +02:00
|
|
|
features = ["derive"]
|
|
|
|
|
2023-07-10 10:25:11 +02:00
|
|
|
[dependencies.thiserror]
|
2024-11-07 23:36:04 +01:00
|
|
|
version = "2"
|
|
|
|
default-features = false
|
2023-02-05 01:15:34 +01:00
|
|
|
|
|
|
|
[dependencies.num_enum]
|
2023-08-28 18:36:00 +02:00
|
|
|
version = ">0.5, <=0.7"
|
2023-02-05 01:15:34 +01:00
|
|
|
default-features = false
|
2022-08-16 10:11:49 +02:00
|
|
|
|
|
|
|
[dependencies.serde]
|
2023-01-09 23:49:17 +01:00
|
|
|
version = "1"
|
2022-12-04 12:17:36 +01:00
|
|
|
optional = true
|
2022-08-16 10:11:49 +02:00
|
|
|
default-features = false
|
|
|
|
features = ["derive"]
|
|
|
|
|
2024-03-18 15:14:40 +01:00
|
|
|
[dependencies.time]
|
|
|
|
version = "0.3"
|
|
|
|
default-features = false
|
|
|
|
optional = true
|
|
|
|
|
2022-08-16 10:11:49 +02:00
|
|
|
[dependencies.chrono]
|
2022-11-30 01:05:37 +01:00
|
|
|
version = "0.4"
|
2022-08-16 10:11:49 +02:00
|
|
|
default-features = false
|
2024-03-18 15:14:40 +01:00
|
|
|
optional = true
|
2022-08-16 10:11:49 +02:00
|
|
|
|
|
|
|
[dependencies.num-traits]
|
|
|
|
version = "0.2"
|
|
|
|
default-features = false
|
2022-06-18 22:48:51 +02:00
|
|
|
|
2024-03-28 22:48:58 +01:00
|
|
|
[dependencies.defmt]
|
|
|
|
version = "0.3"
|
|
|
|
optional = true
|
|
|
|
|
2022-06-18 22:48:51 +02:00
|
|
|
[features]
|
2022-12-19 11:00:45 +01:00
|
|
|
default = ["std"]
|
2024-11-07 23:36:04 +01:00
|
|
|
std = ["alloc", "chrono/std", "chrono/clock", "thiserror/std"]
|
|
|
|
serde = ["dep:serde", "chrono?/serde"]
|
|
|
|
alloc = ["chrono?/alloc", "defmt?/alloc", "serde?/alloc"]
|
2024-03-18 15:14:40 +01:00
|
|
|
timelib = ["dep:time"]
|
2024-11-07 23:36:04 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
postcard = { version = "1", features = ["alloc"] }
|
|
|
|
chrono = "0.4"
|
2022-10-26 00:22:56 +02:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2024-01-31 14:56:41 +01:00
|
|
|
all-features = true
|
2024-06-25 16:07:07 +02:00
|
|
|
rustdoc-args = ["--generate-link-to-definition"]
|