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

# Autogenerated by pycargoebuild 0.17.2

EAPI=8

CRATES="
"

inherit cargo

DESCRIPTION="Extensible HTTP reverse proxy"
HOMEPAGE="https://codeberg.org/sugar700/anville"
SRC_URI="
	https://codeberg.org/sugar700/anville/archive/v${PV}+tojiko.tar.gz -> ${P}.tar.gz
	https://codeberg.org/bwbuhse/buhserepo/releases/download/${P}/${P}-crates.tar.xz
"
RUST_MIN_VER="1.98"

S="${WORKDIR}/anville"

LICENSE="|| ( EUPL-1.2 )"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"

src_install() {
	# Target the specific sub-crate directory inside the workspace
	cargo_src_install --path anville
}