File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 63
63
//! * `async-https-rustls-manual-roots` enables [`reqwest`], the async client with support for
64
64
//! proxying and TLS (SSL) using the `rustls` TLS backend without using its the default root
65
65
//! certificates.
66
-
66
+ //!
67
+ //! [`dont remove this line or cargo doc will break`]: https://example.com
68
+ #![ cfg_attr( not( feature = "minreq" ) , doc = "[`minreq`]: https://docs.rs/minreq" ) ]
69
+ #![ cfg_attr( not( feature = "reqwest" ) , doc = "[`reqwest`]: https://docs.rs/reqwest" ) ]
67
70
#![ allow( clippy:: result_large_err) ]
68
71
69
72
use std:: collections:: HashMap ;
@@ -87,7 +90,7 @@ pub use blocking::BlockingClient;
87
90
pub use r#async:: AsyncClient ;
88
91
89
92
/// Response status codes for which the request may be retried.
90
- const RETRYABLE_ERROR_CODES : [ u16 ; 3 ] = [
93
+ pub const RETRYABLE_ERROR_CODES : [ u16 ; 3 ] = [
91
94
429 , // TOO_MANY_REQUESTS
92
95
500 , // INTERNAL_SERVER_ERROR
93
96
503 , // SERVICE_UNAVAILABLE
You can’t perform that action at this time.
0 commit comments