mark few deps as optional, which is used only from some features#3774
mark few deps as optional, which is used only from some features#3774rami3l merged 2 commits intorust-lang:masterfrom
Conversation
|
Makes sense, thanks! Have you looked at whether there is CI coverage of the various possible feature sets? |
|
No, i didn't checked CI, only manually grepped sources for usage and tried to build with curl/reqwest backends. |
|
Yeah, I was wondering about the |
@djc It would surprise me if Turns out that's indeed not the case: |
|
I meant I was wondering if we have CI coverage of compiling with no default features. |
|
And the answer is no, because: #[cfg(all(not(feature = "reqwest-backend"), not(feature = "curl-backend")))]
compile_error!("Must enable at least one backend"); |
@djc That case has been explicitly excluded to prevent CI failure: Lines 193 to 195 in f26d16b Apart from that, our PS: You have probably misunderstood me: when I say |
No description provided.