2023-01-11 10:30:03 +01:00
|
|
|
[package]
|
|
|
|
name = "satrs-core"
|
2023-09-26 17:30:41 +02:00
|
|
|
version = "0.1.0-alpha.1"
|
2023-01-11 10:30:03 +01:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.61"
|
|
|
|
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
|
|
|
description = "Core components of the sat-rs framework to build software for remote systems"
|
2023-08-28 19:11:19 +02:00
|
|
|
homepage = "https://egit.irs.uni-stuttgart.de/rust/sat-rs"
|
|
|
|
repository = "https://egit.irs.uni-stuttgart.de/rust/sat-rs"
|
2023-01-11 10:30:03 +01:00
|
|
|
license = "Apache-2.0"
|
|
|
|
keywords = ["no-std", "space", "aerospace"]
|
|
|
|
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-08-28 18:26:11 +02:00
|
|
|
delegate = ">0.7, <=0.10"
|
2023-01-26 22:07:50 +01:00
|
|
|
paste = "1"
|
2023-09-26 17:30:41 +02:00
|
|
|
# TODO: Remove this as soon as the image including the description was moved to the satrs-book.
|
2023-01-11 10:30:03 +01:00
|
|
|
embed-doc-image = "0.1"
|
|
|
|
|
2023-08-16 19:28:28 +02:00
|
|
|
[dependencies.smallvec]
|
|
|
|
version = "1"
|
|
|
|
|
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
|
|
|
|
|
2023-08-05 18:51:50 +02:00
|
|
|
[dependencies.crc]
|
|
|
|
version = "3"
|
|
|
|
|
2023-01-11 10:30:03 +01:00
|
|
|
[dependencies.dyn-clone]
|
|
|
|
version = "1"
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.hashbrown]
|
2023-07-05 19:11:59 +02:00
|
|
|
version = "0.14"
|
2023-01-11 10:30:03 +01:00
|
|
|
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
|
|
|
|
|
2023-01-11 10:30:03 +01:00
|
|
|
[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
|
|
|
|
|
2023-01-11 10:30:03 +01:00
|
|
|
[dependencies.spacepackets]
|
2024-02-01 17:56:48 +01:00
|
|
|
version = "0.7.0"
|
2023-09-26 17:30:41 +02:00
|
|
|
default-features = false
|
2023-12-13 15:49:26 +01:00
|
|
|
# git = "https://egit.irs.uni-stuttgart.de/rust/spacepackets.git"
|
|
|
|
# rev = "297cfad22637d3b07a1b27abe56d9a607b5b82a7"
|
2023-01-11 10:30:03 +01:00
|
|
|
|
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
|
|
|
|
|
2023-01-11 10:30:03 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
serde = "1"
|
2023-08-28 18:59:02 +02:00
|
|
|
zerocopy = "0.7"
|
2023-01-11 10:30:03 +01:00
|
|
|
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"
|
2023-01-11 10:30:03 +01:00
|
|
|
|
|
|
|
[dev-dependencies.postcard]
|
2023-07-05 19:11:59 +02:00
|
|
|
version = "1"
|
2023-01-11 10:30:03 +01:00
|
|
|
|
|
|
|
[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",
|
|
|
|
"socket2"
|
2023-01-11 10:30:03 +01:00
|
|
|
]
|
|
|
|
alloc = [
|
2023-09-18 16:18:14 +02:00
|
|
|
"serde/alloc",
|
|
|
|
"spacepackets/alloc",
|
|
|
|
"hashbrown",
|
|
|
|
"dyn-clone",
|
|
|
|
"downcast-rs"
|
2023-01-11 10:30:03 +01:00
|
|
|
]
|
|
|
|
serde = ["dep:serde", "spacepackets/serde"]
|
|
|
|
crossbeam = ["crossbeam-channel"]
|
|
|
|
heapless = ["dep:heapless"]
|
|
|
|
doc-images = []
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
2024-01-31 15:19:18 +01:00
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"]
|