Add tests for crate exports ; add structure to imports/exports
This commit is contained in:
parent
1b4a307919
commit
7991cef904
7 changed files with 77 additions and 32 deletions
|
|
@ -293,3 +293,22 @@ pub mod fast;
|
|||
|
||||
/// XEP-0490: Message Displayed Synchronization
|
||||
pub mod message_displayed;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn reexports() {
|
||||
#[allow(unused_imports)]
|
||||
use crate::blake2;
|
||||
#[allow(unused_imports)]
|
||||
use crate::jid;
|
||||
#[allow(unused_imports)]
|
||||
use crate::minidom;
|
||||
#[allow(unused_imports)]
|
||||
use crate::sha1;
|
||||
#[allow(unused_imports)]
|
||||
use crate::sha2;
|
||||
#[allow(unused_imports)]
|
||||
use crate::sha3;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue