jid: Bump to edition 2024
This commit is contained in:
parent
7f1dc96fac
commit
09cd01424a
3 changed files with 4 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ documentation = "https://docs.rs/jid"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
keywords = ["xmpp", "jid"]
|
keywords = ["xmpp", "jid"]
|
||||||
license = "MPL-2.0"
|
license = "MPL-2.0"
|
||||||
edition = "2021"
|
edition = "2024"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
gitlab = { repository = "xmpp-rs/xmpp-rs" }
|
gitlab = { repository = "xmpp-rs/xmpp-rs" }
|
||||||
|
|
|
||||||
|
|
@ -57,12 +57,12 @@ use idna::uts46::{AsciiDenyList, DnsLength, Hyphens, Uts46};
|
||||||
use stringprep::{nameprep, nodeprep, resourceprep};
|
use stringprep::{nameprep, nodeprep, resourceprep};
|
||||||
|
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
|
use serde::{Deserialize, Deserializer, Serialize, Serializer, de};
|
||||||
|
|
||||||
#[cfg(feature = "quote")]
|
#[cfg(feature = "quote")]
|
||||||
use proc_macro2::TokenStream;
|
use proc_macro2::TokenStream;
|
||||||
#[cfg(feature = "quote")]
|
#[cfg(feature = "quote")]
|
||||||
use quote::{quote, ToTokens};
|
use quote::{ToTokens, quote};
|
||||||
|
|
||||||
#[cfg(feature = "minidom")]
|
#[cfg(feature = "minidom")]
|
||||||
use minidom::{IntoAttributeValue, Node};
|
use minidom::{IntoAttributeValue, Node};
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@ use core::str::FromStr;
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
use crate::{domain_check, node_check, resource_check};
|
|
||||||
use crate::{BareJid, Error, Jid};
|
use crate::{BareJid, Error, Jid};
|
||||||
|
use crate::{domain_check, node_check, resource_check};
|
||||||
|
|
||||||
macro_rules! def_part_parse_doc {
|
macro_rules! def_part_parse_doc {
|
||||||
($name:ident, $other:ident, $more:expr) => {
|
($name:ident, $other:ident, $more:expr) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue