Upgrading ureq 0.12 to 1
Breaking0.12.1 → 1.5.5Breaking3New6Changed5Fixed11
3 breaking changes.
- You can now pass more kinds of data to the send method, and the library copies less data internally.
- The shortcut for making CONNECT requests is gone; use the general request method instead.
- The reader returned by into_reader() can now be sent across threads, but code that relied on the exact return type may need updating.
Adds chrono ^0.4.11, cookie_store ^0.12.0, env_logger ^0.8.1, log ^0.4.11, native-tls ^0.2, once_cell ^1, rayon ^1.3.0, rayon-core ^1.7.0, serde ^1, socks ^0.3.2.
Drops lazy_static.
Installs 144 packages in all (was 91).
Also installs aho-corasick, android_system_properties, atty, autocfg, byteorder, crossbeam-deque, crossbeam-epoch, crossbeam-utils, either, errno, fastrand, foreign-types, foreign-types-shared, futures-core, futures-task and 29 more.
Moves base64 0.11.0, 0.12.3 → 0.13.1, bitflags 1.3.2 → 2.13.2, cookie 0.13.3 → 0.14.4, core-foundation 0.7.0 → 0.10.1, 0.9.4, core-foundation-sys 0.7.0 → 0.8.7, idna 1.1.0 → 0.2.3, 1.1.0, openssl-probe 0.1.6 → 0.1.6, 0.2.2, rustls 0.17.0 → 0.19.1, rustls-native-certs 0.3.0 → 0.5.0, security-framework 0.4.4 → 2.11.1, 3.7.0, security-framework-sys 0.4.3 → 2.17.0, webpki-roots 0.19.0 → 0.21.1. Your build may pick other versions.
What you must change
Request.send()CONNECTinto_reader()ReadSend