From 826914da5431ea04d6b4b67b3e00a20f301ed3d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 15 Jan 2023 21:44:27 +0100 Subject: [PATCH] parsers, tokio-xmpp: remove unnecessary jid feature alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It can be done directly using `jid = { version = "*", features = ["stringprep"] }` even though jid is imported from another lib. Signed-off-by: Maxime “pep” Buquet --- parsers/Cargo.toml | 1 - tokio-xmpp/Cargo.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/parsers/Cargo.toml b/parsers/Cargo.toml index bc77193..bb0dd30 100644 --- a/parsers/Cargo.toml +++ b/parsers/Cargo.toml @@ -29,7 +29,6 @@ chrono = { version = "0.4.5", default-features = false, features = ["std"] } component = [] # Disable validation of unknown attributes. disable-validation = [] -serde = ["jid/serde"] [package.metadata.docs.rs] rustdoc-args = [ "--sort-modules-by-appearance", "-Zunstable-options" ] diff --git a/tokio-xmpp/Cargo.toml b/tokio-xmpp/Cargo.toml index 230c288..2f9b06f 100644 --- a/tokio-xmpp/Cargo.toml +++ b/tokio-xmpp/Cargo.toml @@ -38,4 +38,3 @@ rustc_version = "0.4" default = ["tls-native"] tls-rust = ["tokio-rustls", "webpki-roots"] tls-native = ["tokio-native-tls", "native-tls"] -serde = ["xmpp-parsers/serde"]