Add AsyncServerConnector to AsyncClient to be able to support any stream
Unfortunately API breaking unless we do some export mangling
This commit is contained in:
parent
3d9bdd6fe2
commit
3cab603a4c
6 changed files with 86 additions and 57 deletions
|
|
@ -21,7 +21,7 @@ log = "0.4"
|
|||
reqwest = { version = "0.11.8", features = ["stream"] }
|
||||
tokio-util = { version = "0.7", features = ["codec"] }
|
||||
# same repository dependencies
|
||||
tokio-xmpp = { version = "3.4", path = "../tokio-xmpp" }
|
||||
tokio-xmpp = { version = "3.4", path = "../tokio-xmpp", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = { version = "0.10", default-features = false, features = ["auto-color", "humantime"] }
|
||||
|
|
@ -31,5 +31,7 @@ name = "hello_bot"
|
|||
required-features = ["avatars"]
|
||||
|
||||
[features]
|
||||
default = ["avatars"]
|
||||
default = ["avatars", "tls-native"]
|
||||
tls-native = ["tokio-xmpp/tls-native"]
|
||||
tls-rust = ["tokio-xmpp/tls-rust"]
|
||||
avatars = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue