acme-client icon indicating copy to clipboard operation
acme-client copied to clipboard

deprecated dependency breaks build

Open ilka-schulz opened this issue 3 years ago • 3 comments
trafficstars

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.

ilka-schulz avatar Aug 18 '22 08:08 ilka-schulz

Any resolution or is the project dead?

mu-arch avatar Jan 02 '23 11:01 mu-arch

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.

ilka-schulz avatar Jan 02 '23 18:01 ilka-schulz

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

mu-arch avatar Jan 02 '23 18:01 mu-arch