-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
80 lines (63 loc) · 2.11 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "ublox-short-range-rs"
version = "0.1.1"
authors = ["The Factbird Team"]
description = "Driver crate for u-blox short range devices, implementation follows 'UBX-14044127 - R40'"
readme = "../README.md"
keywords = ["ublox", "wifi", "shortrange", "bluetooth"]
categories = ["embedded", "no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/FactbirdHQ/ublox-short-range-rs"
edition = "2021"
[lib]
name = "ublox_short_range"
doctest = false
[dependencies]
atat = { version = "0.24", features = ["derive", "bytes"] }
heapless = { version = "^0.8", features = ["serde"] }
serde = { version = "^1", default-features = false, features = ["derive"] }
ublox-sockets = { git = "https://github.com/FactbirdHQ/ublox-sockets", rev = "0b0d186", optional = true }
portable-atomic = "1.6"
log = { version = "^0.4", default-features = false, optional = true }
defmt = { version = "^0.3", optional = true }
embedded-hal = "1.0"
embassy-time = "0.4"
embassy-sync = "0.6"
embassy-futures = "0.1"
embedded-nal-async = { version = "0.8" }
futures-util = { version = "0.3.29", default-features = false }
embedded-io-async = "0.6"
embassy-net-ppp = { version = "0.2", optional = true }
embassy-net = { version = "0.6", features = [
"proto-ipv4",
"medium-ip",
], optional = true }
[features]
default = ["socket-tcp", "socket-udp"]
internal-network-stack = ["dep:ublox-sockets", "edm"]
edm = ["ublox-sockets?/edm"]
ipv6 = ["embassy-net?/proto-ipv6"]
# PPP mode requires UDP sockets enabled, to be able to do AT commands over UDP port 23
ppp = ["dep:embassy-net-ppp", "dep:embassy-net", "socket-udp"]
socket-tcp = ["ublox-sockets?/socket-tcp", "embassy-net?/tcp"]
socket-udp = ["ublox-sockets?/socket-udp", "embassy-net?/udp"]
defmt = [
"dep:defmt",
"heapless/defmt-03",
"atat/defmt",
"ublox-sockets?/defmt",
"embassy-net-ppp?/defmt",
"embassy-net?/defmt",
]
log = ["dep:log", "ublox-sockets?/log", "atat/log"]
# Supported Ublox modules
odin-w2xx = []
nina-w1xx = []
nina-b1xx = []
anna-b1xx = []
nina-b2xx = []
nina-b3xx = []
[workspace]
members = []
default-members = ["."]
exclude = ["examples"]