onur / acme-client

Yet another Let's Encrypt client and library written in Rust.
MIT License
224 stars 33 forks source link

deprecated dependency breaks build #48

Open ilka-schulz opened 2 years ago

ilka-schulz commented 2 years ago

A project with the dependency

acme-client = {version="0.5", default-features = false}

does not even compile:

$ cargo build
    Updating crates.io index
error: failed to select a version for the requirement `security-framework = "^0.1.9"`
candidate versions found which didn't match: 2.6.1, 2.6.0, 2.5.0, ...
location searched: crates.io index
required by package `native-tls v0.1.0`
    ... which satisfies dependency `native-tls = "^0.1"` of package `hyper-native-tls v0.2.0`
    ... which satisfies dependency `hyper-native-tls = "^0.2"` of package `reqwest v0.6.0`
    ... which satisfies dependency `reqwest = "^0.6"` of package `acme-client v0.5.0`
    ... which satisfies dependency `acme-client = "^0.5"` of package `warehouse v0.1.0 (/home/user/warehouse)`

This issue may be related to #43.

mu-arch commented 1 year ago

Any resolution or is the project dead?

ilka-schulz commented 1 year ago

Any resolution or is the project dead?

It is still dead and fails with the exact same error message (using newest version 0.5.3).

I personally retreated to using an nginx reverse proxy for TLS termination. It works like a charm with docker-compose and many virtual hosts.

mu-arch commented 1 year ago

I got it working using another project called acme-lib. but it's not as nice of an API as this.