xmpp-parsers: Don’t use anything from std

The remaining two were core::str::FromStr and
alloc::collections::BTreeMap.

Note that this doesn’t allow us to be no_std yet.

skip-changelog: This isn’t in any way user-visible, except that some
structs are now slightly smaller.
This commit is contained in:
Emmanuel Gil Peyrot 2025-01-25 20:35:47 +01:00 committed by Jonas Schäfer
commit 0adca163f8
18 changed files with 32 additions and 32 deletions

View file

@ -10,8 +10,8 @@ use crate::date::DateTime;
use crate::iq::{IqGetPayload, IqResultPayload};
use crate::ns;
use chrono::FixedOffset;
use core::str::FromStr;
use minidom::Element;
use std::str::FromStr;
use xso::error::{Error, FromElementError};
/// An entity time query.