-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (60 loc) · 2.11 KB
/
Copy pathCargo.toml
File metadata and controls
65 lines (60 loc) · 2.11 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "mavlink-core"
version = "0.18.0"
authors = [
"Todd Stellanova",
"Michal Podhradsky",
"Kevin Mehall",
"Tim Ryan",
"Patrick José Pereira",
"Ibiyemi Abiodun",
]
description = "Implements the MAVLink data interchange format for UAVs."
readme = "../README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/mavlink/rust-mavlink"
edition.workspace = true
rust-version.workspace = true
keywords.workspace = true
categories.workspace = true
[dependencies]
arbitrary = { version = "1.4", optional = true, features = ["derive"] }
async-trait = { version = "0.1.18", optional = true }
byteorder = { workspace = true, default-features = false }
crc-fast = { workspace = true, default-features = false }
embedded-io = { version = "0.7", optional = true }
embedded-io-async = { version = "0.7", optional = true }
futures = { version = "0.3", default-features = false, optional = true }
rand = { version = "0.9", optional = true, default-features = false, features = ["std", "std_rng"] }
serde = { version = "1.0.115", optional = true, features = ["derive"] }
serde_arrays = { version = "0.2.0", optional = true }
serialport = { version = "4.7.2", default-features = false, optional = true }
sha2 = { version = "0.11", optional = true }
tokio = { version = "1.0", default-features = false, features = ["io-util", "net", "fs"], optional = true }
tokio-serial = { version = "5.4.4", default-features = false, optional = true }
[features]
default = [
"std",
"transport-tcp",
"transport-udp",
"transport-direct-serial",
"serde",
]
std = ["byteorder/std", "crc-fast/std"]
transport-udp = []
transport-tcp = []
transport-direct-serial = ["serialport"]
embedded = ["dep:embedded-io", "dep:embedded-io-async", "crc-fast/panic-handler"]
serde = ["dep:serde", "dep:serde_arrays"]
tokio = [
"dep:tokio",
"dep:async-trait",
"dep:tokio-serial",
"dep:futures",
]
mav2-message-signing = ["dep:sha2"]
arbitrary = ["dep:arbitrary", "dep:rand"]
[dev-dependencies]
tokio = { version = "1.0", default-features = false, features = ["io-util", "net", "fs", "macros", "rt"] }
[lints]
workspace = true