1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#![deny(missing_docs)]
#![deny(clippy::all)]
#![deny(unsafe_code)]
pub(crate) mod document;
pub(crate) mod errors;
pub(crate) mod io;
pub use crate::{
document::Document, errors::IoError, errors::IoResult, io::base_cache_dir, io::is_stale,
};
#[cfg(feature = "http_client")]
pub use crate::io::download_if_not_stale;
#[macro_export]
macro_rules! __internal_dl_test {
($expr:expr) => {{
if cfg!(feature = "internal_dl_test") || option_env!("RUST_RELEASES_RUN_DL_TEST").is_some()
{
$expr
}
}};
}