refactor: move file_sscv into file::sscv, rename crate feature
This commit is contained in:
parent
719083bad2
commit
666196c103
4 changed files with 6 additions and 4 deletions
|
@ -35,7 +35,8 @@ hickory-client = { version = "0.24.1", optional = true }
|
|||
tokio = { version = "1.39.2", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
[features]
|
||||
file-sscv = ["dep:dashmap", "tokio/fs"]
|
||||
file-sscv = ["file"]
|
||||
file = ["dep:dashmap", "tokio/fs"]
|
||||
|
||||
dane = ["hickory"]
|
||||
hickory = ["dep:hickory-client"]
|
||||
|
@ -51,4 +52,4 @@ path = "examples/simple.rs"
|
|||
[[example]]
|
||||
name = "main"
|
||||
path = "examples/main.rs"
|
||||
required-features = ["file-sscv", "dane"]
|
||||
required-features = ["file", "dane"]
|
||||
|
|
1
src/certs/file/mod.rs
Normal file
1
src/certs/file/mod.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub mod sscv;
|
|
@ -3,8 +3,8 @@
|
|||
pub mod fingerprint;
|
||||
pub mod verifier;
|
||||
|
||||
#[cfg(feature = "file-sscv")]
|
||||
pub mod file_sscv;
|
||||
#[cfg(feature = "file")]
|
||||
pub mod file;
|
||||
|
||||
#[cfg(feature = "hickory")]
|
||||
pub mod dane;
|
||||
|
|
Loading…
Reference in a new issue