docs: explain crate features
This commit is contained in:
parent
a7fca98939
commit
20f9336074
1 changed files with 10 additions and 1 deletions
11
src/lib.rs
11
src/lib.rs
|
@ -1,5 +1,14 @@
|
||||||
//! Gemini client and server implementaion in async Rust with Tokio and Rustls.
|
//! Gemini client and server implementaion in async Rust with Tokio and Rustls.
|
||||||
//! You probably need [`Client::builder()`]
|
//! You probably need [`Client::builder()`].
|
||||||
|
//!
|
||||||
|
//! # Features
|
||||||
|
//! - `file-sscv`: known_hosts file parser and
|
||||||
|
//! helper functions for verifying a self-signed certificate.
|
||||||
|
//! - `dane`: alias to `hickory`.
|
||||||
|
//! - `hickory`: custom DNS client, also required for
|
||||||
|
//! a DANE-based verification.
|
||||||
|
//! - `hickory-dot`: enables DNS-over-TLS.
|
||||||
|
//! - `hickory-doh`: enables DNS-over-HTTPS.
|
||||||
|
|
||||||
pub mod certs;
|
pub mod certs;
|
||||||
pub mod client;
|
pub mod client;
|
||||||
|
|
Loading…
Add table
Reference in a new issue