-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (53 loc) · 1.52 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (53 loc) · 1.52 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
[package]
name = "fiber_app"
version = "0.1.0"
edition = "2021"
[dependencies]
rppal = "0.22.1"
embedded-graphics = "0.8.1"
i2cdev = "0.6"
serialport = { version = "4", default-features = false }
anyhow = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
qrcode = "0.14"
rusqlite = { version = "0.30", features = ["bundled-sqlcipher", "chrono"] }
crossbeam = "0.8"
# MQTT dependencies
rumqttc = "0.24"
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
chrono = { version = "0.4", features = ["serde"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "sync", "time", "macros", "io-util", "process", "fs"] }
rand = "0.8"
# Cryptography dependencies (Ed25519 signatures for EU MDR compliance)
ed25519-dalek = { version = "2.1", features = ["std", "rand_core"] }
base64 = "0.21"
hex = "0.4"
# UUID generation for challenge_id
uuid = { version = "1.6", features = ["v4", "fast-rng", "serde"] }
# Replay protection (LRU cache for nonce tracking)
lru = "0.12"
# Pairing protocol encryption
aes-gcm = "0.10"
pbkdf2 = "0.12"
sha2 = "0.10"
hmac = "0.12"
# BLE GATT server (in-app, replaces ble-fiber Yocto recipe)
bluer = { version = "0.17", features = ["full"] }
tokio-util = { version = "0.7", features = ["rt"] }
futures = "0.3"
regex = "1.10"
subtle = "2.5" # timing-safe equality for PIN comparison
ctrlc = "3.4"
libc = "0.2"
[features]
default = []
dev-platform = []
[[bin]]
name = "fiber_app"
path = "src/main.rs"
[lib]
name = "fiber_app"
path = "src/lib.rs"
[dev-dependencies]
tempfile = "3"