sat-rs/satrs/Cargo.toml

135 lines
2.6 KiB
TOML
Raw Normal View History

[package]
name = "satrs"
2024-05-19 08:13:32 +02:00
version = "0.2.1"
edition = "2021"
2024-04-17 18:10:32 +02:00
rust-version = "1.71.1"
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"
derive-new = "0.6"
2024-02-12 16:55:19 +01:00
smallvec = "1"
crc = "3"
[dependencies.satrs-shared]
2024-04-17 10:01:46 +02:00
version = ">=0.1.3, <0.2"
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
2024-04-17 15:17:46 +02:00
[dependencies.spacepackets]
version = "0.11"
default-features = false
[dependencies.cobs]
git = "https://github.com/robamu/cobs.rs.git"
version = "0.2.3"
branch = "all_features"
default-features = false
[dependencies.num-traits]
version = "0.2"
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.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
2024-04-24 18:36:00 +02:00
[dependencies.defmt]
version = "0.3"
optional = true
[dev-dependencies]
serde = "1"
2023-08-28 18:59:02 +02:00
zerocopy = "0.7"
2024-04-24 19:18:45 +02:00
once_cell = "1"
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"]
2024-04-24 18:36:00 +02:00
defmt = ["dep:defmt", "spacepackets/defmt"]
test_util = []
doc-images = []
[package.metadata.docs.rs]
all-features = true
2024-04-17 20:41:30 +02:00
rustdoc-args = ["--cfg", "docs_rs", "--generate-link-to-definition"]