tokio_xmpp: add example to demonstrate stream management

This commit is contained in:
Jonas Schäfer 2024-08-29 12:55:29 +02:00
commit ce57ee4b38
2 changed files with 84 additions and 1 deletions

View file

@ -40,7 +40,7 @@ ktls = { version = "6", optional = true }
[dev-dependencies]
env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
# this is needed for echo-component example
tokio = { version = "1", features = ["test-util"] }
tokio = { version = "1", features = ["signal", "test-util"] }
tokio-xmpp = { path = ".", features = ["insecure-tcp"]}
[features]