Skip to main content

tokio_gemini/
lib.rs

1//! Gemini client and server implementaion in async Rust with Tokio and Rustls.
2//! You probably need [`Client::builder()`].
3//!
4//! # Features
5//! - `file-sscv`: known_hosts file parser and
6//!   helper functions for verifying a self-signed certificate.
7//! - `dane`: alias to `hickory`.
8//! - `hickory`: custom DNS client, also required for
9//!   a DANE-based verification.
10//! - `hickory-dot`: enables DNS-over-TLS.
11//! - `hickory-doh`: enables DNS-over-HTTPS.
12
13pub mod certs;
14pub mod client;
15pub mod error;
16pub mod into_url;
17pub mod status;
18
19#[cfg(feature = "hickory")]
20pub mod dns;
21
22pub use client::Client;
23pub use error::*;
24pub use status::*;