Comments (6)
Fixed in 2.11.0!
from minreq.
That is correct, apparently. I had assumed that you could just have a few distinct versions of a crate, but apparently e.g. having minreq = "2.9.0"
and log = "0.4.20"
in one Cargo.toml will break.
That said, I think I will wait for someone to complain with a specific use-case before dropping the maximum requirements. It's just two crates, which were already quite stable at their respective maximum versions, and the current pinned versions allow this crate to be very straightforwardly msrv-compliant. I will add a note about bumping the MSRV to make this a non-issue in 3.0.0 however. At least until some dependency starts requiring Rust 1.90 or something, I guess 😁
from minreq.
Not sure if exactly part of this issue, but with the bitcoindevkit/bdk project I just found that minreq
2.9.0 breaks our MSRV of 1.57.0 because we're unable to pin the version of rustls
to 0.21.1, I'm getting the below error. But if I first pin minreq
to 2.8.0 everything works fine.
cargo update -p rustls:0.21.6 --precise "0.21.1"
Updating crates.io index
error: failed to select a version for the requirement `rustls = "^0.21.6"`
candidate versions found which didn't match: 0.21.1
location searched: crates.io index
required by package `minreq v2.9.0`
... which satisfies dependency `minreq = "^2.6.0"` (locked to 2.9.0) of package `bitcoind v0.32.0`
... which satisfies dependency `bitcoind = "^0.32.0"` (locked to 0.32.0) of package `bdk_bitcoind_rpc v0.1.0 (/Users/steve/git/notmandatory/bdk/crates/bitcoind_rpc)`
... which satisfies path dependency `bdk_bitcoind_rpc` (locked to 0.1.0) of package `example_rpc v0.1.0 (/Users/steve/git/notmandatory/bdk/example-crates/example_rpc)`
from minreq.
Not really related to this issue, but loosening the requirement from 0.21.6 to 0.21.1 didn't seem to cause any problems, so I released that as 2.9.1.
from minreq.
Hello. I've ran into a version conflict when developing a simple Tauri app:
$ npm run tauri dev
> tauri
> tauri dev
Updating crates.io index
Info Watching /mnt/share/prj/myapp/myapp-electron-poc/tauri/src-tauri for changes...
error: failed to select a version for `log`.
... required by package `minreq v2.10.0`
... which satisfies dependency `minreq = "^2.10.0"` of package `jams_electron_poc v0.0.1 (/mnt/share/prj/myapp/myapp-electron-poc/rust)`
... which satisfies path dependency `jams_electron_poc` of package `app v0.1.0 (/mnt/share/prj/myapp/myapp-electron-poc/tauri/src-tauri)`
versions that meet the requirements `>=0.4.0, <0.4.19` are: 0.4.18, 0.4.17, 0.4.16, 0.4.15, 0.4.14, 0.4.13, 0.4.11, 0.4.8, 0.4.7, 0.4.6, 0.4.5, 0.4.4, 0.4.3, 0.4.2, 0.4.1, 0.4.0
all possible versions conflict with previously selected packages.
previously selected package `log v0.4.20`
... which satisfies dependency `log = "=0.4.20"` of package `app v0.1.0 (/mnt/share/prj/myapp/myapp-electron-poc/tauri/src-tauri)`
failed to select a version for `log` which could resolve this conflict
from minreq.
Fair enough, I'll remove the pins. I'll do it in a minor version though, as someone might be depending on 2.9 working with the MSRV out-of-the-box.
from minreq.
Related Issues (20)
- Bug: 404 NOT FOUND !!! HOT 6
- Feature Request: compression support
- Ability to accept self-signed certificates HOT 1
- How to specify client cert for two-way SSL? HOT 1
- Make `with_headers` in `Request` struct
- 设置Host头错误 HOT 1
- no method named `json` HOT 2
- Implement persistent connections? HOT 4
- 要怎么 发送和读取 HTTP的协议版本 HOT 1
- How I can send files with minreq? :( HOT 1
- No field 'status_code' on type 'Result<Response, minreq::Error>' HOT 2
- 在DllMain里面调用send会卡死 HOT 2
- Help download speed very low HOT 5
- "This app is not available on your PC" when compiling for release HOT 4
- 能否支持http代理 HOT 2
- Syn v2 release breaking MSRV? HOT 1
- proxy env not work HOT 2
- add async support HOT 4
- migrate from `webpki` to `rustls-webpki` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minreq.