File tree Expand file tree Collapse file tree 5 files changed +1
-45
lines changed Expand file tree Collapse file tree 5 files changed +1
-45
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ colored = "3.0.0"
3434url = " 2.5.4"
3535serde_json = " 1.0.140"
3636dirs = " 6.0.0"
37- webpki = " 0.22.4 "
37+
3838
3939[dev-dependencies ]
4040assert_cmd = " 2.0.16"
Original file line number Diff line number Diff line change @@ -30,25 +30,6 @@ struct Config {
3030 no_color : bool ,
3131}
3232
33- // Wrapper type for webpki::Error to implement traits
34- #[ derive( Debug ) ]
35- struct WebPkiError ( webpki:: Error ) ;
36-
37- impl std:: fmt:: Display for WebPkiError {
38- fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
39- write ! ( f, "WebPkiError: {:?}" , self . 0 )
40- }
41- }
42-
43- impl std:: error:: Error for WebPkiError { }
44-
45- // Convert from webpki::Error to WebPkiError
46- impl From < webpki:: Error > for WebPkiError {
47- fn from ( error : webpki:: Error ) -> Self {
48- WebPkiError ( error)
49- }
50- }
51-
5233#[ tokio:: main]
5334async fn main ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
5435 let app_matches = parse_command_line ( ) ;
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ pub use crate::utils::dashboard;
1515pub use crate :: utils:: examples;
1616// Color formatting utilities
1717pub use crate :: utils:: color;
18- // WebPKI error wrapper
19- pub use crate :: utils:: webpki_error;
2018
2119/// Type alias for progress callback functions
2220///
Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ pub mod ssh_deploy;
2828pub mod svm_info;
2929
3030// External dependency wrappers
31- /// Wrapper for webpki::Error to implement std::error::Error trait
32- pub mod webpki_error;
3331
3432/// Loads a YAML configuration file and deserializes it into the specified type
3533///
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments