From 7f12d05fd2e4b175c7a533703746d6d7bc8f9333 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 8 Aug 2018 18:48:05 +0200 Subject: [PATCH] =?UTF-8?q?Switch=20allow=E2=86=92deny(missing=5Fdocs)=20f?= =?UTF-8?q?or=20the=20whole=20crate.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/attention.rs | 2 -- src/bind.rs | 2 ++ src/blocking.rs | 2 -- src/bookmarks.rs | 2 -- src/caps.rs | 2 ++ src/chatstates.rs | 2 -- src/component.rs | 2 -- src/data_forms.rs | 2 ++ src/delay.rs | 2 -- src/disco.rs | 2 -- src/ecaps2.rs | 2 -- src/error.rs | 2 -- src/forwarding.rs | 2 -- src/hashes.rs | 2 ++ src/ibb.rs | 2 -- src/ibr.rs | 2 ++ src/idle.rs | 2 -- src/iq.rs | 2 ++ src/jingle.rs | 2 ++ src/jingle_ft.rs | 2 ++ src/jingle_ibb.rs | 2 -- src/jingle_message.rs | 2 ++ src/jingle_s5b.rs | 2 ++ src/lib.rs | 2 ++ src/mam.rs | 2 -- src/media_element.rs | 2 -- src/message.rs | 2 ++ src/message_correct.rs | 2 -- src/mood.rs | 2 -- src/muc/mod.rs | 2 ++ src/nick.rs | 2 -- src/ns.rs | 5 +++++ src/ping.rs | 2 -- src/presence.rs | 2 ++ src/pubsub/mod.rs | 2 -- src/receipts.rs | 2 -- src/roster.rs | 2 -- src/rsm.rs | 2 -- src/sasl.rs | 2 -- src/sm.rs | 2 ++ src/stanza_error.rs | 2 ++ src/stanza_id.rs | 2 -- src/stream.rs | 2 ++ src/version.rs | 2 -- src/websocket.rs | 2 ++ 45 files changed, 41 insertions(+), 52 deletions(-) diff --git a/src/attention.rs b/src/attention.rs index 59f8aa7ac44e24fe62814c088a25b27a114d5f46..7b4226fb974e1b57e63c3278b01eabd5d0741ce5 100644 --- a/src/attention.rs +++ b/src/attention.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - generate_empty_element!( /// Requests the attention of the recipient. Attention, "attention", ATTENTION diff --git a/src/bind.rs b/src/bind.rs index 97a75aa3e750514a60fc8a43b415fbacad36b3f6..7329ed6144b36cc00655b14f0d5653b310c88cc2 100644 --- a/src/bind.rs +++ b/src/bind.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use std::str::FromStr; use try_from::TryFrom; diff --git a/src/blocking.rs b/src/blocking.rs index 889b7c7eb80306dc0e1b8c30849a27b6fa836e1f..6b6894c9ad5c14e68c1321d7ad4114b8395c94e2 100644 --- a/src/blocking.rs +++ b/src/blocking.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use try_from::TryFrom; use jid::Jid; diff --git a/src/bookmarks.rs b/src/bookmarks.rs index 26893c5ac6bcf6c0cae45f148879b0505cb9bc06..11b4a42131af17549f18115bf90e1d8beac4da30 100644 --- a/src/bookmarks.rs +++ b/src/bookmarks.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use jid::Jid; generate_attribute!( diff --git a/src/caps.rs b/src/caps.rs index cfafef7e3cbdfc469bcf46f64095062bf3e8f5a4..bf063151b77aa23f72ef69b1e49f55d0fdc488af 100644 --- a/src/caps.rs +++ b/src/caps.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use disco::{Feature, Identity, DiscoInfoResult, DiscoInfoQuery}; diff --git a/src/chatstates.rs b/src/chatstates.rs index d341975fae318176ae740f3b06b2f301b6d3a527..339ed2b534a094d5aa7e8bbdc527ea577c7e6008 100644 --- a/src/chatstates.rs +++ b/src/chatstates.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - generate_element_enum!( /// Enum representing chatstate elements part of the /// `http://jabber.org/protocol/chatstates` namespace. diff --git a/src/component.rs b/src/component.rs index 31c54d4fd1506b607168604824c732edf22ff95e..27229f25aaeab1bc8befc999a83a11f5c5561b32 100644 --- a/src/component.rs +++ b/src/component.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use helpers::PlainText; use sha1::Sha1; use digest::Digest; diff --git a/src/data_forms.rs b/src/data_forms.rs index 2a249c2860ae56624a0ffaa463d1435be008fe1f..c895e488d4d0689796ad277befeb7289f3745b6c 100644 --- a/src/data_forms.rs +++ b/src/data_forms.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use minidom::Element; diff --git a/src/delay.rs b/src/delay.rs index 0437ea11b32720cecec5f7ec1e90d70f8bab12f3..21450da0382225a7d2b950434087ec4ba45e6ced 100644 --- a/src/delay.rs +++ b/src/delay.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use date::DateTime; use jid::Jid; diff --git a/src/disco.rs b/src/disco.rs index b6b653c59f865dfd58d4863877dea230f196c0a6..59166eb82bd2d3db50663a287edccbdb5074b9d3 100644 --- a/src/disco.rs +++ b/src/disco.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use try_from::TryFrom; use minidom::Element; diff --git a/src/ecaps2.rs b/src/ecaps2.rs index 975c08d334e8ae75388b51e52db4fc79b7122919..4e40484d581f4148f082d5e946afe3938d698099 100644 --- a/src/ecaps2.rs +++ b/src/ecaps2.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use disco::{Feature, Identity, DiscoInfoResult, DiscoInfoQuery}; use data_forms::DataForm; use hashes::{Hash, Algo}; diff --git a/src/error.rs b/src/error.rs index 05d1ff7a732ccde625cc0d1394d2ec8fbc2986c5..36bd03471a344f68c719295992974f573c8aa1de 100644 --- a/src/error.rs +++ b/src/error.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use std::convert::From; use std::num; use std::string; diff --git a/src/forwarding.rs b/src/forwarding.rs index faf669ee8346f63438bd1a24bb1e45cb84bb7509..b65b450367bf195ed29ce2135fc7f62088792812 100644 --- a/src/forwarding.rs +++ b/src/forwarding.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#[deny(missing_docs)] - use delay::Delay; use message::Message; diff --git a/src/hashes.rs b/src/hashes.rs index eb5a536867279274680cc2c80dbb0bbd4ca61768..e342e3d421c8a6fc3cc667df1381e89a4b6febbd 100644 --- a/src/hashes.rs +++ b/src/hashes.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use std::str::FromStr; use minidom::IntoAttributeValue; diff --git a/src/ibb.rs b/src/ibb.rs index da4f925606963d7ad21b5aa5c37cf06284b4e556..bede2f0b8ba148a57524621f775ca04370e5665b 100644 --- a/src/ibb.rs +++ b/src/ibb.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use helpers::Base64; use iq::IqSetPayload; diff --git a/src/ibr.rs b/src/ibr.rs index 6964755c822c8ac876c634276db6eff59130e8b6..750b3e2869f251d6e60ae54e22d13cddcac858a6 100644 --- a/src/ibr.rs +++ b/src/ibr.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use std::collections::HashMap; use try_from::TryFrom; diff --git a/src/idle.rs b/src/idle.rs index e8fb05bc4feed1747aa801a78f76bafee51b5822..f96dadb5e5047e5d6ee97972a1c5d794838e438e 100644 --- a/src/idle.rs +++ b/src/idle.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use date::DateTime; generate_element!( diff --git a/src/iq.rs b/src/iq.rs index e695dc3e9a50e0a48a363180923d1e4232d6c260..49bdc9b7e62bcdf82edd4ed057fa5ac40b4f0993 100644 --- a/src/iq.rs +++ b/src/iq.rs @@ -5,6 +5,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use minidom::Element; diff --git a/src/jingle.rs b/src/jingle.rs index 1600fed1824a20dd7324e5a4eddf0437681c9a0c..264aa1820bef2b935c7df7e7c82b4f599718b2b6 100644 --- a/src/jingle.rs +++ b/src/jingle.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use std::str::FromStr; diff --git a/src/jingle_ft.rs b/src/jingle_ft.rs index 4cb0fa52365d350bcc729cef354947dab1a8c573..75656e5043ca6c5f8528c674935fcfc22f4ad83b 100644 --- a/src/jingle_ft.rs +++ b/src/jingle_ft.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use std::str::FromStr; diff --git a/src/jingle_ibb.rs b/src/jingle_ibb.rs index a36f06185b321fac302b66250f1d57512b45c276..7438133c56681055a5d52236bb01fe7564324afd 100644 --- a/src/jingle_ibb.rs +++ b/src/jingle_ibb.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use ibb::{Stanza, StreamId}; generate_element!( diff --git a/src/jingle_message.rs b/src/jingle_message.rs index 268d93a4e6072636576a30bf74b293dd1149bbf5..9d477a69bff4f21e6f1e302343d36a06a4de21b3 100644 --- a/src/jingle_message.rs +++ b/src/jingle_message.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use minidom::Element; diff --git a/src/jingle_s5b.rs b/src/jingle_s5b.rs index 7456ff879ed27db8c013590d3de25ae476a3cf8f..92627d3b726b4b0d59782c9b1a93b4b7d52da4d0 100644 --- a/src/jingle_s5b.rs +++ b/src/jingle_s5b.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use std::net::IpAddr; diff --git a/src/lib.rs b/src/lib.rs index 82094267787bf3b64f9575ac2e8a2832386bac57..54994e19ecadd6053b16bd3f7075362246809cfa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,6 +22,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![deny(missing_docs)] + extern crate minidom; extern crate jid; extern crate base64; diff --git a/src/mam.rs b/src/mam.rs index efc62135ab4493536190162dbe00e7549ba56c66..ad4eb92e7ad28334ab429da45073b007fc9deb00 100644 --- a/src/mam.rs +++ b/src/mam.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use try_from::TryFrom; use minidom::Element; diff --git a/src/media_element.rs b/src/media_element.rs index 52a45b5cc272d22d8ca7a66ab1448ff5b1120f48..7ad264b2251d6c184c380893275081a062a27c1b 100644 --- a/src/media_element.rs +++ b/src/media_element.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use helpers::TrimmedPlainText; generate_element!( diff --git a/src/message.rs b/src/message.rs index f103ba8e5dd1bc5147e965064d01d31b689b7fd4..f19911ea3db8ba85b34d376c43680a39753c2b00 100644 --- a/src/message.rs +++ b/src/message.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use std::collections::BTreeMap; diff --git a/src/message_correct.rs b/src/message_correct.rs index 3dbd51201ed30cbf4ddc48c6ab083710ffea93e2..6ff06bc3f1242b138cb71268624005015d3f39d7 100644 --- a/src/message_correct.rs +++ b/src/message_correct.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - generate_element!( /// Defines that the message containing this payload should replace a /// previous message, identified by the id. diff --git a/src/mood.rs b/src/mood.rs index b8a3ef9078ddaf40c09caf6d8c840ecdaaf16dc2..8612a42c18caa9511169b73c89ed5d831eaacc9b 100644 --- a/src/mood.rs +++ b/src/mood.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - generate_element_enum!( /// Enum representing all of the possible values of the XEP-0107 moods. MoodEnum, "mood", MOOD, { diff --git a/src/muc/mod.rs b/src/muc/mod.rs index 80d61d88b2066769c909c56d899683a2058c682f..77b59aded8500356994f2b11a252af3f768a4323 100644 --- a/src/muc/mod.rs +++ b/src/muc/mod.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + pub mod muc; pub mod user; diff --git a/src/nick.rs b/src/nick.rs index 2f13b6c617fda2f2170c591373ddb279fbcf2d8c..9844e9318c8670319e3f032e9717c10d9ffbfade 100644 --- a/src/nick.rs +++ b/src/nick.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - generate_elem_id!( /// Represents a global, memorable, friendly or informal name chosen by a user. Nick, "nick", NICK diff --git a/src/ns.rs b/src/ns.rs index b561e56f3c9d4ac8b315224183b3f6c36a580d73..658428f9cdcd5d681bc81ff6621f374796bc445c 100644 --- a/src/ns.rs +++ b/src/ns.rs @@ -155,7 +155,12 @@ pub const ECAPS2: &str = "urn:xmpp:caps"; /// XEP-0390: Entity Capabilities 2.0 pub const ECAPS2_OPTIMIZE: &str = "urn:xmpp:caps:optimize"; +/// Alias for the main namespace of the stream, that is "jabber:client" when +/// the component feature isn’t enabled. #[cfg(not(feature = "component"))] pub const DEFAULT_NS: &str = JABBER_CLIENT; + +/// Alias for the main namespace of the stream, that is +/// "jabber:component:accept" when the component feature is enabled. #[cfg(feature = "component")] pub const DEFAULT_NS: &str = COMPONENT_ACCEPT; diff --git a/src/ping.rs b/src/ping.rs index 845ec1890e15f4aa40c0526f7469fd464aa1b503..0af81c0da3f2b06cd4a0e68be9c9a7b63820c4c7 100644 --- a/src/ping.rs +++ b/src/ping.rs @@ -5,8 +5,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use iq::IqGetPayload; generate_empty_element!( diff --git a/src/presence.rs b/src/presence.rs index 9eba1987595e63590610c0b16dd2a47e26ea8322..639bf04632c5efc58c340c4036d054f300bfa4e3 100644 --- a/src/presence.rs +++ b/src/presence.rs @@ -5,6 +5,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use std::str::FromStr; use std::collections::BTreeMap; diff --git a/src/pubsub/mod.rs b/src/pubsub/mod.rs index 5cf00d5c050e93871aa8260ec2460afb3a33fcf2..a8af5c5ad067e8cd976ae279e02a291eef3ade62 100644 --- a/src/pubsub/mod.rs +++ b/src/pubsub/mod.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -//#![deny(missing_docs)] - /// The `http://jabber.org/protocol/pubsub#event` protocol. pub mod event; diff --git a/src/receipts.rs b/src/receipts.rs index 9b287a6e738c28209e84fec9714ebd91ccce2dc3..10c0e51c64b23b2b4753fdc1ca2133d4b6bf01fe 100644 --- a/src/receipts.rs +++ b/src/receipts.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - generate_empty_element!( /// Requests that this message is acked by the final recipient once /// received. diff --git a/src/roster.rs b/src/roster.rs index 66a618822e28204d9533a6fc21cb4a9df3b0999b..0bb743932007edd30a7881c3123d323c388f040d 100644 --- a/src/roster.rs +++ b/src/roster.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use jid::Jid; use iq::{IqGetPayload, IqSetPayload, IqResultPayload}; diff --git a/src/rsm.rs b/src/rsm.rs index f44acc438a369f571fe8c7e47bd2044700e8ff5e..d16751a1f6890e910d74edd25072e87bb18d6369 100644 --- a/src/rsm.rs +++ b/src/rsm.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use try_from::TryFrom; use minidom::Element; diff --git a/src/sasl.rs b/src/sasl.rs index 495f49e91eb51b88c305b6eb22b3a935727e5619..f27167b1fdaaff082b22af98f3ecad9a8318c17d 100644 --- a/src/sasl.rs +++ b/src/sasl.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use std::collections::BTreeMap; use try_from::TryFrom; diff --git a/src/sm.rs b/src/sm.rs index 20e9fc6183cfaabefc131751e70d27f2c9d10896..1fb2b9465b22c25533a1fb4df234fa42824000c5 100644 --- a/src/sm.rs +++ b/src/sm.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use stanza_error::DefinedCondition; generate_element!( diff --git a/src/stanza_error.rs b/src/stanza_error.rs index 46496c910236a4f6e1b51545e4834f9be039dc6d..85396cac5465a867c508bed3c2addf3842c51cbe 100644 --- a/src/stanza_error.rs +++ b/src/stanza_error.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use try_from::TryFrom; use std::collections::BTreeMap; diff --git a/src/stanza_id.rs b/src/stanza_id.rs index dc62688818d1f8c39ce0649579b71fe1eab065cd..07815107c6c9738920e238a0c888cea8a9fe557c 100644 --- a/src/stanza_id.rs +++ b/src/stanza_id.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use jid::Jid; generate_element!( diff --git a/src/stream.rs b/src/stream.rs index aa48ad9f29ebcd97db28cd3098b436c6dcebfa6a..019a873f24648f8793945ff8b3f1180c42a3cd14 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use jid::Jid; generate_element!(Stream, "stream", STREAM, diff --git a/src/version.rs b/src/version.rs index 02979f3aae8050c141aab2076ee41be44e2b3bc4..4354df50d282cf7a14a365f201f6a6972e5647b1 100644 --- a/src/version.rs +++ b/src/version.rs @@ -4,8 +4,6 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -#![deny(missing_docs)] - use iq::{IqGetPayload, IqResultPayload}; generate_empty_element!( diff --git a/src/websocket.rs b/src/websocket.rs index 78d0cada5a8ed3dfba02aefc568f65466f839f74..2f99e317bd9b37c6a55c1f03bf681b5b71090826 100644 --- a/src/websocket.rs +++ b/src/websocket.rs @@ -4,6 +4,8 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#![allow(missing_docs)] + use jid::Jid; generate_element!(Open, "open", WEBSOCKET,