Switch allow→deny(missing_docs) for the whole crate.
This commit is contained in:
parent
3477117dea
commit
7f12d05fd2
45 changed files with 41 additions and 52 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue