strip session-added comments
This commit is contained in:
@@ -16,7 +16,6 @@ pub struct ReqwestPosterFetcher {
|
||||
|
||||
impl ReqwestPosterFetcher {
|
||||
pub fn new(config: PosterFetcherConfig) -> anyhow::Result<Self> {
|
||||
// reqwest is built with rustls-no-provider; install ring so this works without bootstrap.
|
||||
let _ = rustls::crypto::ring::default_provider().install_default();
|
||||
let client = reqwest::Client::builder()
|
||||
.timeout(Duration::from_secs(config.timeout_seconds))
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
//! Fresh test binary, no bootstrap: constructing the client must not panic
|
||||
//! for lack of a rustls CryptoProvider.
|
||||
use poster_fetcher::{PosterFetcherConfig, ReqwestPosterFetcher};
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user