Compare commits

..

No commits in common. "666196c103403289a6f2af9abd5f1d4d49c93887" and "42a43f175e792b3cab71595a23ef586f459dce07" have entirely different histories.

4 changed files with 6 additions and 8 deletions

View file

@ -35,8 +35,7 @@ hickory-client = { version = "0.24.1", optional = true }
tokio = { version = "1.39.2", features = ["macros", "rt-multi-thread"] }
[features]
file-sscv = ["file"]
file = ["dep:dashmap", "tokio/fs"]
file-sscv = ["dep:dashmap", "tokio/fs"]
dane = ["hickory"]
hickory = ["dep:hickory-client"]
@ -52,4 +51,4 @@ path = "examples/simple.rs"
[[example]]
name = "main"
path = "examples/main.rs"
required-features = ["file", "dane"]
required-features = ["file-sscv", "dane"]

View file

@ -1 +0,0 @@
pub mod sscv;

View file

@ -13,7 +13,7 @@ pub struct KnownHostsFile {
impl KnownHostsFile {
/// Read or create a known_hosts file at the given path.
/// Format of known_hosts is: _(fields are separated by any space sequence)_
/// ```text
/// ```
/// #host expires algo base64 fingerprint
/// dc09.ru 1722930541 sha512 dGVzdHRlc3R0ZXN0Cg
/// ```

View file

@ -3,8 +3,8 @@
pub mod fingerprint;
pub mod verifier;
#[cfg(feature = "file")]
pub mod file;
#[cfg(feature = "file-sscv")]
pub mod file_sscv;
#[cfg(feature = "hickory")]
pub mod dane;