Closed qryxip closed 4 years ago
Work in progress.
This PR replaces reqwest with ureq.
reqwest
ureq
I used cookie_store::CookieStore directly and asserted that ureq/cookie is surely disabled in the following way, as ureq::Agent::set_cookie does not seem to work properly.
cookie_store::CookieStore
ureq/cookie
ureq::Agent::set_cookie
use ureq::Agent; const _ASSERT_THE_UREQ_COOKIE_FEATURE_IS_DISABLED: () = { enum AssertTheAssocFnAgentCookieIsNotImplemented {} trait AgentExt { fn cookie(&self) -> AssertTheAssocFnAgentCookieIsNotImplemented { unreachable!(); } } impl AgentExt for Agent {} let _: fn(&Agent) -> AssertTheAssocFnAgentCookieIsNotImplemented = Agent::cookie; };
Work in progress.This PR replaces
reqwest
withureq
.I used
cookie_store::CookieStore
directly and asserted thatureq/cookie
is surely disabled in the following way, asureq::Agent::set_cookie
does not seem to work properly.