sat-rs/satrs/Cargo.toml

132 lines
2.6 KiB
TOML
Raw Normal View History

[package]
name = "satrs"
2024-02-21 10:06:58 +01:00
version = "0.2.0-rc.0"
edition = "2021"
rust-version = "1.61"
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]
2023-08-28 18:26:11 +02:00
delegate = ">0.7, <=0.10"
paste = "1"
2024-02-12 16:55:19 +01:00
smallvec = "1"
crc = "3"
[dependencies.satrs-shared]
version = "0.1.3"
path = "../satrs-shared"
2023-08-16 19:28:28 +02:00
2023-02-15 11:05:32 +01:00
[dependencies.num_enum]
2023-08-28 18:26:11 +02:00
version = ">0.5, <=0.7"
2023-02-15 11:05:32 +01:00
default-features = false
[dependencies.dyn-clone]
version = "1"
optional = true
[dependencies.hashbrown]
2023-07-05 19:11:59 +02:00
version = "0.14"
optional = true
[dependencies.heapless]
version = "0.7"
optional = true
[dependencies.num-traits]
version = "0.2"
default-features = false
[dependencies.downcast-rs]
version = "1.2"
default-features = false
optional = true
[dependencies.bus]
version = "2.2"
optional = true
[dependencies.crossbeam-channel]
version= "0.5"
default-features = false
optional = true
2023-07-05 11:25:23 +02:00
[dependencies.thiserror]
version = "1"
optional = true
[dependencies.serde]
version = "1"
default-features = false
optional = true
2023-09-17 01:32:18 +02:00
[dependencies.socket2]
version = "0.5.4"
features = ["all"]
optional = true
2024-04-09 19:40:55 +02:00
[dependencies.mio]
version = "0.8"
features = ["os-poll", "net"]
optional = true
[dependencies.spacepackets]
# git = "https://egit.irs.uni-stuttgart.de/rust/spacepackets.git"
version = "0.11.0-rc.2"
2023-09-26 17:30:41 +02:00
default-features = false
2023-09-15 15:37:57 +02:00
[dependencies.cobs]
git = "https://github.com/robamu/cobs.rs.git"
2023-09-26 18:04:18 +02:00
version = "0.2.3"
2023-09-15 15:37:57 +02:00
branch = "all_features"
default-features = false
[dev-dependencies]
serde = "1"
2023-08-28 18:59:02 +02:00
zerocopy = "0.7"
once_cell = "1.13"
serde_json = "1"
2023-09-10 19:49:31 +02:00
rand = "0.8"
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",
"postcard/use-std",
"crossbeam-channel/std",
"serde/std",
"spacepackets/std",
"num_enum/std",
"thiserror",
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"]
defmt = ["spacepackets/defmt"]
test_util = []
doc-images = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"]