CI: Add a test with no-default-features and ensure it passes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
34467dd4a6
commit
2e3004f89e
3 changed files with 9 additions and 2 deletions
|
|
@ -576,9 +576,11 @@ mod tests {
|
|||
.set_client(ClientType::Bot, "xmpp-rs")
|
||||
.set_website("https://gitlab.com/xmpp-rs/xmpp-rs")
|
||||
.set_default_nick("bot")
|
||||
.enable_feature(ClientFeature::Avatars)
|
||||
.enable_feature(ClientFeature::ContactList);
|
||||
|
||||
#[cfg(feature = "avatars")]
|
||||
let client_builder = client_builder.enable_feature(ClientFeature::Avatars);
|
||||
|
||||
let mut agent: Agent = client_builder.build_impl(client);
|
||||
|
||||
while let Some(events) = agent.wait_for_events().await {
|
||||
|
|
|
|||
Loading…
Reference in a new issue