-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (37 loc) · 1.48 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "spacepacket"
description = "A CCSDS compliant spacepacket en/de-coder with CRC and Sink/Stream support."
homepage = "https://github.com/ASU-cubesat/spacepacket"
repository = "https://github.com/ASU-cubesat/spacepacket"
readme = "README.md"
version = "0.1.1"
edition = "2021"
rust-version = "1.63"
license-file = "LICENSE"
license = "MIT"
categories = [ "aerospace::space-protocols" ]
keywords = [ "ccsds", "bytes", "parser", "packets" ]
exclude = [ ".github" ]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
async-codec = [ "asynchronous-codec", "bytes" ]
tokio-codec = [ "bytes", "tokio-util/codec" ]
crc = [ "dep:crc" ]
tctm = [ "dep:lazy_static" ]
# docs.rs-specific configuration
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = [ "--cfg", "docsrs" ]
[dependencies]
asynchronous-codec = { version = "~0.6", optional = true }
byteorder = "~1.4"
bytes = { version = "~1.4", optional = true }
crc = { version = "3.0", optional = true }
lazy_static = { version = "1.5.0", optional = true }
tokio-util = { version = "~0.7", optional = true, features = [ "codec" ] }
[dev-dependencies]
rstest = "~0.15"
futures = "~0.3"
spacepacket = { path = ".", features = [ "async-codec", "crc", "tctm" ] }