Code Monkey home page Code Monkey logo

Comments (8)

Brooooooklyn avatar Brooooooklyn commented on May 28, 2024 3

I need this too.
Temporary workaround:

[replace]
"cookie:0.11.0" = { git = 'https://github.com/alexcrichton/cookie-rs.git' }

from cookie-rs.

SergioBenitez avatar SergioBenitez commented on May 28, 2024 3

0.12 has been released!

from cookie-rs.

colelawrence avatar colelawrence commented on May 28, 2024

I'm experiencing the same issue between rustls ^0.15 used by one dependency (depends on ring ^0.14) and actix-web ^0.7 which depends on cookie ^0.11 (ring ^0.13)

error: failed to select a version for `ring`.
    ... required by package `rustls v0.15.0`
    ... which is depended on by `http_req v0.4.6 (/Users/colelawrence/Desktop/playbar/password/http_req)`
    ... which is depended on by `password v0.1.0 (/Users/colelawrence/Desktop/playbar/password)`
    ... which is depended on by `playbar v0.1.0 (/Users/colelawrence/Desktop/playbar)`
versions that meet the requirements `^0.14` are: 0.14.6, 0.14.5, 0.14.4, 0.14.3, 0.14.2, 0.14.1, 0.14.0

the package `ring` links to the native library `ring-asm`, but it conflicts with a previous package which links to `ring-asm` as well:
package `ring v0.13.5`
    ... which is depended on by `cookie v0.11.0`
    ... which is depended on by `actix-web v0.7.18`
    ... which is depended on by `sj_ui v0.1.0 (/Users/colelawrence/Desktop/playbar/sj_ui)`
    ... which is depended on by `playbar v0.1.0 (/Users/colelawrence/Desktop/playbar)`

failed to select a version for `ring` which could resolve this conflict

from cookie-rs.

colelawrence avatar colelawrence commented on May 28, 2024

I need this too.
Temporary workaround:

[replace]
"cookie:0.11.0" = { git = 'https://github.com/alexcrichton/cookie-rs.git' }

I was able to make it work using the suggested replace!
I had to place the replace at my workspace root file, then I also added a specific revision.

[replace]
"cookie:0.11.0" = { git = 'https://github.com/alexcrichton/cookie-rs.git', rev = "c59d94e1492f2aa8ce0949335d494322ca25366e" }

from cookie-rs.

apiraino avatar apiraino commented on May 28, 2024

I need this, too :-) it also breaks latest jsonwebtoken (v6.0)

thanks

from cookie-rs.

SergioBenitez avatar SergioBenitez commented on May 28, 2024

On it.

from cookie-rs.

RohithCIS avatar RohithCIS commented on May 28, 2024

We need another update-deps. Breaks jsonwebtoken 7.1.0.

failed to select a version for ring
    ... required by package jsonwebtoken v7.1.0
versions that meet the requirements ^0.16.5 are: 0.16.13, 0.16.12, 0.16.11, 0.16.10, 0.16.9, 0.16.7, 0.16.6, 0.16.5

the package ring links to the native library ring-asm, but it conflicts with a previous package which links to ring-asm as well:
package ring v0.13.5
    ... which is depended on by cookie v0.11.2
    ... which is depended on by rocket_http v0.4.4
    ... which is depended on by rocket v0.4.4
    ... which is depended on by rocket_contrib v0.4.4
failed to select a version for ring which could resolve this conflict

from cookie-rs.

SergioBenitez avatar SergioBenitez commented on May 28, 2024

cookie is moving away from ring in 0.14, so this should be a mute issue soon, @RohithCIS.

from cookie-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.