@@ -46,9 +46,6 @@ pub(crate) enum Notification<'a> {
46
46
/// utils::notifications by the time tar unpacking is called.
47
47
SetDefaultBufferSize ( usize ) ,
48
48
Error ( String ) ,
49
- #[ cfg( feature = "curl-backend" ) ]
50
- UsingCurl ,
51
- UsingReqwest ,
52
49
SetAutoInstall ( & ' a str ) ,
53
50
SetDefaultToolchain ( Option < & ' a ToolchainName > ) ,
54
51
SetOverrideToolchain ( & ' a Path , & ' a str ) ,
@@ -102,10 +99,7 @@ impl Notification<'_> {
102
99
| DownloadDataReceived ( _, _)
103
100
| DownloadFinished ( _)
104
101
| DownloadFailed ( _)
105
- | ResumingPartialDownload
106
- | UsingReqwest => NotificationLevel :: Debug ,
107
- #[ cfg( feature = "curl-backend" ) ]
108
- UsingCurl => NotificationLevel :: Debug ,
102
+ | ResumingPartialDownload => NotificationLevel :: Debug ,
109
103
Error ( _) => NotificationLevel :: Error ,
110
104
ToolchainDirectory ( _)
111
105
| LookingForToolchain ( _)
@@ -224,9 +218,6 @@ impl Display for Notification<'_> {
224
218
DownloadFinished ( _) => write ! ( f, "download finished" ) ,
225
219
DownloadFailed ( _) => write ! ( f, "download failed" ) ,
226
220
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" ) ,
230
221
SetAutoInstall ( auto) => write ! ( f, "auto install set to '{auto}'" ) ,
231
222
SetDefaultToolchain ( None ) => write ! ( f, "default toolchain unset" ) ,
232
223
SetDefaultToolchain ( Some ( name) ) => write ! ( f, "default toolchain set to '{name}'" ) ,
0 commit comments