Giter Club home page Giter Club logo

Comments (16)

AlbanMinassian avatar AlbanMinassian commented on May 4, 2024

info only : https://docs.rs/tokio-rustls/0.5.0/tokio_rustls

from actix-web.

fafhrd91 avatar fafhrd91 commented on May 4, 2024

I can not add rustls support at the moment. all packages needs to depend on same ring package

from actix-web.

mssun avatar mssun commented on May 4, 2024

all packages needs to depend on same ring package

What does it mean? I also hope to see rustls support. I understand rustls depends on ring internally.

from actix-web.

fafhrd91 avatar fafhrd91 commented on May 4, 2024

rustls depends on ring ^0.13.0-alpha
cookie depends on ring 0.12.1

I think it is not possible to compile two different ring dependency

from actix-web.

mssun avatar mssun commented on May 4, 2024

Correct me if I'm wrong. I remember that cargo can compile with two different version crates. But probably have two copies of library code?

Also, the master cookie support ring ^0.13.0-alpha in Jan. https://github.com/alexcrichton/cookie-rs/blob/master/Cargo.toml#L20

from actix-web.

fafhrd91 avatar fafhrd91 commented on May 4, 2024

cargo can, but ring uses asm which is the problem. I don't think alpha dependency is good idea

from actix-web.

mssun avatar mssun commented on May 4, 2024

I see. Thank you so much!

from actix-web.

DemiMarie avatar DemiMarie commented on May 4, 2024

from actix-web.

fafhrd91 avatar fafhrd91 commented on May 4, 2024

from actix-web.

DemiMarie avatar DemiMarie commented on May 4, 2024

from actix-web.

fafhrd91 avatar fafhrd91 commented on May 4, 2024

choice is yours.

as a maintainer of the actix project i chose not to integrate with rustls at this stage.

from actix-web.

Tommoa avatar Tommoa commented on May 4, 2024

One option to solve the issue of differing ring dependencies is to use rustls 0.11 and tokio-rustls 0.4. Both of them use ring 0.12.1.

from actix-web.

hayd avatar hayd commented on May 4, 2024

Multiple ring versions should work together after briansmith/ring#619 is merged.

from actix-web.

ctz avatar ctz commented on May 4, 2024

This should now be unblocked by https://crates.io/crates/rustls/0.13.0 which depends on the latest ring release without the single-version constraint. Please do let me know if I can help 👍

from actix-web.

DoumanAsh avatar DoumanAsh commented on May 4, 2024

We do have cookie that uses ring 0.12 also though

Hopefully after 0.13 stable ring we get new version of cookie rwf2/cookie-rs#106

from actix-web.

fafhrd91 avatar fafhrd91 commented on May 4, 2024

fixed by #427

from actix-web.

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.