@@ -46,9 +46,6 @@ pub(crate) enum Notification<'a> {
4646 /// utils::notifications by the time tar unpacking is called.
4747 SetDefaultBufferSize ( usize ) ,
4848 Error ( String ) ,
49- #[ cfg( feature = "curl-backend" ) ]
50- UsingCurl ,
51- UsingReqwest ,
5249 SetAutoInstall ( & ' a str ) ,
5350 SetDefaultToolchain ( Option < & ' a ToolchainName > ) ,
5451 SetOverrideToolchain ( & ' a Path , & ' a str ) ,
@@ -102,10 +99,7 @@ impl Notification<'_> {
10299 | DownloadDataReceived ( _, _)
103100 | DownloadFinished ( _)
104101 | DownloadFailed ( _)
105- | ResumingPartialDownload
106- | UsingReqwest => NotificationLevel :: Debug ,
107- #[ cfg( feature = "curl-backend" ) ]
108- UsingCurl => NotificationLevel :: Debug ,
102+ | ResumingPartialDownload => NotificationLevel :: Debug ,
109103 Error ( _) => NotificationLevel :: Error ,
110104 ToolchainDirectory ( _)
111105 | LookingForToolchain ( _)
@@ -224,9 +218,6 @@ impl Display for Notification<'_> {
224218 DownloadFinished ( _) => write ! ( f, "download finished" ) ,
225219 DownloadFailed ( _) => write ! ( f, "download failed" ) ,
226220 ResumingPartialDownload => write ! ( f, "resuming partial download" ) ,
227- #[ cfg( feature = "curl-backend" ) ]
228- UsingCurl => write ! ( f, "downloading with curl" ) ,
229- UsingReqwest => write ! ( f, "downloading with reqwest" ) ,
230221 SetAutoInstall ( auto) => write ! ( f, "auto install set to '{auto}'" ) ,
231222 SetDefaultToolchain ( None ) => write ! ( f, "default toolchain unset" ) ,
232223 SetDefaultToolchain ( Some ( name) ) => write ! ( f, "default toolchain set to '{name}'" ) ,
0 commit comments