#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
#![warn(clippy::std_instead_of_core)]
#![warn(clippy::std_instead_of_alloc)]
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]
#[cfg(feature = "file")]
mod file;
#[cfg(feature = "file")]
mod hostname;
mod hyperlink;
#[cfg(feature = "file")]
pub use file::dir_to_url;
#[cfg(feature = "file")]
pub use file::file_to_url;
#[cfg(feature = "file")]
pub use file::path_to_url;
#[cfg(feature = "file")]
pub use file::Editor;
#[cfg(feature = "file")]
pub use file::ParseEditorError;
#[cfg(feature = "file")]
pub use hostname::hostname;
pub use hyperlink::Hyperlink;
#[doc = include_str!("../README.md")]
#[cfg(doctest)]
pub struct ReadmeDoctests;