Skip to content

Commit

Permalink
Hide async behind feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasKoch committed Mar 24, 2023
1 parent 636a850 commit 659023d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ublox-cellular/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ doctest = false

[dependencies]
# atat = { version = "0.18", features = ["derive", "bytes"] }
atat = { path = "../../atat/atat", features = ["async", "derive", "defmt", "bytes"] }
atat = { path = "../../atat/atat", features = ["derive", "defmt", "bytes"] }
embedded-hal = "=1.0.0-alpha.9"
embedded-nal = "0.6"
fugit = { version = "0.3" }
Expand All @@ -37,6 +37,8 @@ defmt = { version = "^0.3", optional = true }
[features]
default = ["socket-udp", "socket-tcp"]

async = ["atat/async"]

# Use `defmt-impl to enable defmt based logging
defmt-impl = ["defmt", "ublox-sockets/defmt", "fugit/defmt", "atat/defmt", "heapless/defmt-impl"]
# Use `log-impl` to enable log based logging
Expand Down

0 comments on commit 659023d

Please sign in to comment.