sat-rs/satrs/Cargo.toml

86 lines
2.5 KiB
TOML
Raw Normal View History

[package]
name = "satrs"
2024-05-19 08:13:32 +02:00
version = "0.2.1"
edition = "2021"
2024-11-21 18:35:16 +01:00
rust-version = "1.82.0"
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
description = "A framework to build software for remote systems"
2024-02-12 17:29:48 +01:00
homepage = "https://absatsw.irs.uni-stuttgart.de/projects/sat-rs/"
2023-08-28 19:11:19 +02:00
repository = "https://egit.irs.uni-stuttgart.de/rust/sat-rs"
license = "Apache-2.0"
keywords = ["no-std", "space", "aerospace"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
categories = ["aerospace", "aerospace::space-protocols", "no-std", "hardware-support", "embedded"]
[dependencies]
satrs-shared = ">=0.1.3, <=0.2"
2024-11-08 16:33:45 +01:00
delegate = ">0.7, <=0.13"
paste = "1"
2024-11-08 16:33:45 +01:00
derive-new = ">=0.6, <=0.7"
2024-02-12 16:55:19 +01:00
smallvec = "1"
crc = "3"
num_enum = { version = ">0.5, <=0.7", default-features = false }
spacepackets = { version = "0.13", default-features = false }
cobs = { version = "0.3", default-features = false }
num-traits = { version = "0.2", default-features = false }
thiserror = { version = "2", default-features = false }
hashbrown = { version = ">=0.14, <=0.15", optional = true }
static_cell = { version = "2", optional = true }
dyn-clone = { version = "1", optional = true }
heapless = { version = "0.8", optional = true }
downcast-rs = { version = "2", default-features = false, optional = true }
bus = { version = "2.2", optional = true }
crossbeam-channel = { version = "0.5", default-features = false, optional = true }
serde = { version = "1", default-features = false, optional = true }
socket2 = { version = "0.5", features = ["all"], optional = true }
mio = { version = "1", features = ["os-poll", "net"], optional = true }
defmt = { version = "0.3", optional = true }
2024-04-24 18:36:00 +02:00
[dev-dependencies]
serde = "1"
2024-11-08 16:33:45 +01:00
zerocopy = "0.8"
2024-04-24 19:18:45 +02:00
once_cell = "1"
serde_json = "1"
2025-01-31 18:37:12 +01:00
rand = "0.9"
2023-11-24 15:02:22 +01:00
tempfile = "3"
[dev-dependencies.postcard]
2023-07-05 19:11:59 +02:00
version = "1"
[features]
default = ["std"]
std = [
2023-09-18 16:18:14 +02:00
"downcast-rs/std",
"alloc",
"bus",
"crossbeam-channel/std",
"serde/std",
"spacepackets/std",
"num_enum/std",
2024-11-08 16:33:45 +01:00
"thiserror/std",
2024-04-09 19:40:55 +02:00
"socket2",
"mio"
]
alloc = [
2023-09-18 16:18:14 +02:00
"serde/alloc",
"spacepackets/alloc",
"hashbrown",
"dyn-clone",
"downcast-rs"
]
2024-02-12 16:55:19 +01:00
serde = ["dep:serde", "spacepackets/serde", "satrs-shared/serde"]
crossbeam = ["crossbeam-channel"]
heapless = ["dep:heapless", "static_cell"]
2024-04-24 18:36:00 +02:00
defmt = ["dep:defmt", "spacepackets/defmt"]
test_util = []
[package.metadata.docs.rs]
all-features = true
2024-11-04 11:53:15 +01:00
rustdoc-args = ["--generate-link-to-definition"]
2025-01-23 17:19:26 +01:00
[[test]]
name = "event_test"
path = "tests/pus_events.rs"
required-features = ["test_util"]