add aquatic_common_tcp crate, move common functionality there

This commit is contained in:
Joakim Frostegård 2020-07-02 16:34:36 +02:00
parent 1eaf2a0351
commit 2e53a2adc1
14 changed files with 163 additions and 127 deletions

11
Cargo.lock generated
View file

@ -54,6 +54,16 @@ dependencies = [
"rand",
]
[[package]]
name = "aquatic_common_tcp"
version = "0.1.0"
dependencies = [
"anyhow",
"aquatic_common",
"mio",
"native-tls",
]
[[package]]
name = "aquatic_http"
version = "0.1.0"
@ -61,6 +71,7 @@ dependencies = [
"anyhow",
"aquatic_cli_helpers",
"aquatic_common",
"aquatic_common_tcp",
"bendy",
"either",
"flume",