Separate the async bluetooth handling from networking code.

They're not at all related, besides both being asynchronous. This change adds
a little extra code in response_async(), but makes this code more readable
and reduces the unnecessary indirection.

This change also makes the build system slightly more parallel, by dropping
the dependency on bluetooth_traits from net_traits.
This commit is contained in:
Ms2ger 2016-12-21 14:39:10 +01:00
parent c2e4e4295e
commit 7af7a10e7e
6 changed files with 25 additions and 34 deletions

View file

@ -10,7 +10,6 @@ name = "net_traits"
path = "lib.rs"
[dependencies]
bluetooth_traits = {path = "../bluetooth_traits"}
msg = {path = "../msg"}
ipc-channel = "0.5"
heapsize = "0.3.0"