forked from meshtastic/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (50 loc) · 1.58 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "meshtastic"
description = "A Rust library for communicating with and configuring Meshtastic devices."
homepage = "https://meshtastic.org/"
repository = "https://github.com/meshtastic/rust"
keywords = ["meshtastic", "mesh", "lora", "tcp", "serial"]
categories = ["embedded", "config", "encoding"]
authors = ["Adam McQuilkin"]
readme = "README.md"
license = "GPL-3.0"
version = "0.1.6"
edition = "2021"
[lib]
doctest = false
[features]
default = ["serde"]
serde = ["dep:serde", "dep:serde_json"]
ts-gen = ["serde", "dep:specta"]
bluetooth-le = ["dep:uuid","dep:btleplug"]
[[example]]
name = "basic_serial"
[[example]]
name = "basic_tcp"
[[example]]
name = "message_filtering"
[[example]]
name = "generate_typescript_types"
required-features = ["ts-gen"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
prost-build = "0.11.1"
protoc-bin-vendored = "3.0.0"
walkdir = "2.3.2"
[dependencies]
futures-util = "0.3.28"
rand = "0.8.5"
tokio = { version = "1.32.0", features = ["full"] }
tokio-serial = "5.4.4"
tokio-util = "0.7.8"
prost = "0.11.0"
log = "0.4.20"
specta = { git = "https://github.com/ajmcquilkin/specta.git", rev = "6a8731d", optional = true, features = ["chrono"], version = "=1.0.3" }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
thiserror = "1.0.48"
uuid = { version = "1.6.1", optional = true }
btleplug = { version = "0.11.5", optional = true }
[dev-dependencies]
fern = { version = "0.6.2", features = ["colored"] }
humantime = "2.1.0"