From 659023d289c127758b7ad77cf51912be1a27dd5e Mon Sep 17 00:00:00 2001 From: Mathias Date: Fri, 24 Mar 2023 12:12:22 +0100 Subject: [PATCH] Hide async behind feature flag --- ublox-cellular/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ublox-cellular/Cargo.toml b/ublox-cellular/Cargo.toml index 4b6ba0e..26ddba5 100644 --- a/ublox-cellular/Cargo.toml +++ b/ublox-cellular/Cargo.toml @@ -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" } @@ -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