~whynothugo/vdirsyncer-rs

971cf7c459b8a7a91a310684d568adabbf8a179c — Hugo Osvaldo Barrera a month ago b9842cb
Run dav client examples as tests

Previously these performed service discovery, which required network
connectivity. The examples no longer perform service discovery, so are
safe to treat as doctests.
2 files changed, 2 insertions(+), 2 deletions(-)

M libdav/src/caldav.rs
M libdav/src/carddav.rs
M libdav/src/caldav.rs => libdav/src/caldav.rs +1 -1
@@ 19,7 19,7 @@ use crate::{CheckSupportError, FetchedResource};
///
/// Instances are usually created via [`CalDavClient::new`].
///
/// ```rust,no_run
/// ```rust
/// # use libdav::CalDavClient;
/// # use libdav::dav::WebDavClient;
/// use http::Uri;

M libdav/src/carddav.rs => libdav/src/carddav.rs +1 -1
@@ 19,7 19,7 @@ use crate::{CheckSupportError, FetchedResource};
///
/// Instances are usually created via [`CardDavClient::new`].
///
/// ```rust,no_run
/// ```rust
/// # use libdav::CardDavClient;
/// # use libdav::dav::WebDavClient;
/// use http::Uri;