Follow-up from PR #2208 (review comment by @thomas-zahner).
CookieJar::load in lychee-lib/src/types/cookies.rs still falls back to the legacy cookie store format via the deprecated ReqwestCookieStore::load_json. The new format has been the default for almost 2 years, so it's probably safe to drop support for the old format.
- Remove the legacy-format fallback branch and the
#[allow(deprecated)] usage of ReqwestCookieStore::load_json.
- Simplify
CookieJar::load to only support the current cookie_store::serde::json format.
- Update the doc comment that mentions the "legacy format".
This is a breaking change for anyone still using a cookie file in the old format, so it should be announced in the release notes.
Follow-up from PR #2208 (review comment by @thomas-zahner).
CookieJar::loadinlychee-lib/src/types/cookies.rsstill falls back to the legacy cookie store format via the deprecatedReqwestCookieStore::load_json. The new format has been the default for almost 2 years, so it's probably safe to drop support for the old format.#[allow(deprecated)]usage ofReqwestCookieStore::load_json.CookieJar::loadto only support the currentcookie_store::serde::jsonformat.This is a breaking change for anyone still using a cookie file in the old format, so it should be announced in the release notes.