# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.1

EAPI=8

MY_PN="nginx-acme"

CRATES="
	aho-corasick@1.1.5
	allocator-api2@0.3.1
	annotate-snippets@0.11.5
	anstyle@1.0.14
	async-task@4.7.1
	atomic-waker@1.1.2
	base64@0.22.1
	bindgen@0.72.1
	bitflags@2.13.2
	bytes@1.12.1
	cc@1.10.0
	cexpr@0.6.0
	cfg-if@1.0.5
	clang-sys@1.9.1
	constcat@0.6.1
	dunce@1.0.5
	either@1.19.0
	errno@0.3.14
	find-msvc-tools@0.1.15
	foreign-types-shared@0.1.1
	foreign-types@0.3.2
	futures-core@0.3.34
	glob@0.3.4
	http-body-util@0.1.5
	http-body@1.1.0
	http-serde@2.1.1
	http@1.5.0
	httparse@1.10.1
	hyper@1.12.0
	iri-string@0.7.14
	itertools@0.13.0
	itoa@1.0.18
	libc@0.2.191
	libloading@0.8.9
	lock_api@0.4.14
	log@0.4.35
	memchr@2.8.3
	minimal-lexical@0.2.1
	nginx-sys@0.5.0
	ngx@0.5.1
	nom@7.1.3
	openssl-macros@0.1.1
	openssl-sys@0.9.118
	openssl@0.10.82
	pin-project-lite@0.2.17
	pkg-config@0.3.34
	prettyplease@0.2.37
	proc-macro2@1.0.107
	quote@1.0.47
	regex-automata@0.4.18
	regex-syntax@0.8.11
	regex@1.13.1
	rustc-hash@2.1.3
	scopeguard@1.2.0
	serde@1.0.229
	serde_core@1.0.229
	serde_derive@1.0.229
	serde_json@1.0.154
	shlex@1.3.0
	shlex@2.0.1
	siphasher@1.0.4
	smallvec@1.16.4
	syn@2.0.119
	syn@3.0.9
	thiserror-impl@2.0.21
	thiserror@2.0.21
	tokio@1.53.3
	try-lock@0.2.5
	unicode-ident@1.0.27
	unicode-width@0.2.3
	vcpkg@0.2.15
	want@0.3.2
	windows-link@0.2.1
	windows-sys@0.61.2
	zeroize@1.8.2
	zmij@1.0.23
"

RUST_MIN_VER="1.81.0"

inherit cargo nginx-module

DESCRIPTION="An NGINX module with the implementation of the ACMEv2 protocol"
HOMEPAGE="https://github.com/nginx/nginx-acme"
SRC_URI="https://github.com/nginx/nginx-acme/releases/download/v${PV}/${MY_PN}-${PV}.tar.gz
	${CARGO_CRATE_URIS}"

S="${WORKDIR}/${MY_PN}-${PV}"

LICENSE="Apache-2.0"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-3.0"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	$(ngx_gen_dep http_ssl)
"
RDEPEND="${DEPEND}"