AtherEnergy / rumqtt

Pure rust mqtt cilent
The Unlicense
203 stars 72 forks source link

Update dependencies #148

Closed mojzu closed 5 years ago

mojzu commented 5 years ago

After upgrading to the latest versions of Actix I was getting the following compilation error.

**error: failed to select a version for `rumqtt`.
    ... required by package `server_mqtt v0.1.0 (/home/sam/git/server_mqtt)`
versions that meet the requirements `*` are: 0.30.1, 0.30.0, 0.10.1, 0.10.0, 0.5.0, 0.3.0

the package `rumqtt` links to the native library `ring-asm`, but it conflicts with a previous package which links to `ring-asm` as well:
package `ring v0.14.6`
    ... which is depended on by `webpki v0.19.1`
    ... which is depended on by `rustls v0.15.2`
    ... which is depended on by `tokio-rustls v0.9.2`
    ... which is depended on by `actix-server-config v0.1.1`
    ... which is depended on by `actix-http v0.1.4`**

I created a fork and updated the crate versions which linked back to ring, and I am now able to compile successfully.

tekjar commented 5 years ago

Thanks :)

TotalKrill commented 5 years ago

This instead breaks compatibility with rocket v0.4.x, for the same reasons due to "ring-asm" versions

If there is a way to specify multiple versions of a dependency, that would be nice.