Using both git2 and hyper: openssl linked more than once

前端 未结 1 1769
闹比i
闹比i 2021-01-13 19:09

I\'m trying to build something which is using both hyper and git2 at the same time. Now I\'ve got a problem with openssl being linked twice. A tip by shepmaster lead me to C

1条回答
  •  走了就别回头了
    2021-01-13 19:26

    The problem is the combination of params and openssl:

    [dependencies]
    openssl = "0.9.1"
    params = "0.5.0"
    

    params 0.5 requires multipart 0.8, with features server, but without default-features = false:

    [dependencies.multipart]
    features = ["server"]
    version = "0.8"
    

    That means multipart 0.8 will also require hyper 0.9. And hyper (using the default features) requires openssl 0.7.

    There is a ticket in hyper to switch to a newer openssl version.

    0 讨论(0)
提交回复
热议问题