Giter Club home page Giter Club logo

Comments (4)

edsky avatar edsky commented on August 17, 2024

我看你母语是中文,我就直接说中文吧,免得翻译。

x86_64-unknown-linux-musl 编译可以直接用openssl的vendored模式,不用修改任何东西,只需要你依赖就可以了
添加以下行到你的依赖即可

openssl = { version = "0.10", features = ["vendored"] }

如果有啥问题可以再次提出!

from aliyun_dns.

xen0n avatar xen0n commented on August 17, 2024

我看你母语是中文,我就直接说中文吧,免得翻译。

x86_64-unknown-linux-musl 编译可以直接用openssl的vendored模式,不用修改任何东西,只需要你依赖就可以了
添加以下行到你的依赖即可

openssl = { version = "0.10", features = ["vendored"] }

如果有啥问题可以再次提出!

构建可能可以通过,但这样做可能剥夺了我想最小化我的可执行文件大小的可能性。。。

from aliyun_dns.

edsky avatar edsky commented on August 17, 2024

那我加一个特征吧,你要透过哪个特征?最小化好像没有影响吧

from aliyun_dns.

xen0n avatar xen0n commented on August 17, 2024

那我加一个特征吧,你要透过哪个特征?

仿照 reqwest 处理即可

最小化好像没有影响吧

理想情况是当一个人选用 rustls 时,依赖图中就没有 openssl;反之亦然。能这样且使用姿势与 reqwest 类似就最好了。

from aliyun_dns.

Related Issues (2)

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.