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

# Autogenerated by pycargoebuild 0.13.5

EAPI=8

CRATES="
	async-broadcast@0.7.2
	async-channel@2.5.0
	async-executor@1.13.3
	async-io@2.6.0
	async-lock@3.4.2
	async-process@2.5.0
	async-recursion@1.1.1
	async-signal@0.2.13
	async-task@4.7.1
	async-trait@0.1.89
	atomic-waker@1.1.2
	autocfg@1.5.0
	bitflags@2.10.0
	blocking@1.6.2
	bumpalo@3.19.1
	bytes@1.11.0
	cfg-if@1.0.4
	concurrent-queue@2.5.0
	crossbeam-utils@0.8.21
	endi@1.1.1
	enumflags2@0.7.12
	enumflags2_derive@0.7.12
	equivalent@1.0.2
	errno@0.3.14
	event-listener-strategy@0.5.4
	event-listener@5.4.1
	fastrand@2.3.0
	futures-core@0.3.31
	futures-io@0.3.31
	futures-lite@2.6.1
	futures-macro@0.3.31
	futures-task@0.3.31
	futures-util@0.3.31
	getrandom@0.3.4
	hashbrown@0.16.1
	hermit-abi@0.5.2
	hex@0.4.3
	indexmap@2.13.0
	js-sys@0.3.83
	libc@0.2.180
	linux-raw-sys@0.11.0
	lock_api@0.4.14
	logind-zbus@5.3.2
	memchr@2.7.6
	memoffset@0.9.1
	mio@1.1.1
	once_cell@1.21.3
	ordered-stream@0.2.0
	parking@2.2.1
	parking_lot@0.12.5
	parking_lot_core@0.9.12
	pin-project-lite@0.2.16
	pin-utils@0.1.0
	piper@0.2.4
	polling@3.11.0
	proc-macro-crate@3.4.0
	proc-macro2@1.0.105
	quote@1.0.43
	r-efi@5.3.0
	redox_syscall@0.5.18
	rustix@1.1.3
	rustversion@1.0.22
	scopeguard@1.2.0
	serde@1.0.228
	serde_core@1.0.228
	serde_derive@1.0.228
	serde_repr@0.1.20
	signal-hook-registry@1.4.8
	slab@0.4.11
	smallvec@1.15.1
	socket2@0.6.1
	syn@2.0.114
	tempfile@3.24.0
	tokio-macros@2.6.0
	tokio@1.49.0
	toml_datetime@0.7.5+spec-1.1.0
	toml_edit@0.23.10+spec-1.0.0
	toml_parser@1.0.6+spec-1.1.0
	tracing-attributes@0.1.31
	tracing-core@0.1.36
	tracing@0.1.44
	uds_windows@1.1.0
	unicode-ident@1.0.22
	uuid@1.19.0
	wasi@0.11.1+wasi-snapshot-preview1
	wasip2@1.0.1+wasi-0.2.4
	wasm-bindgen-macro-support@0.2.106
	wasm-bindgen-macro@0.2.106
	wasm-bindgen-shared@0.2.106
	wasm-bindgen@0.2.106
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-link@0.2.1
	windows-sys@0.60.2
	windows-sys@0.61.2
	windows-targets@0.53.5
	windows_aarch64_gnullvm@0.53.1
	windows_aarch64_msvc@0.53.1
	windows_i686_gnu@0.53.1
	windows_i686_gnullvm@0.53.1
	windows_i686_msvc@0.53.1
	windows_x86_64_gnu@0.53.1
	windows_x86_64_gnullvm@0.53.1
	windows_x86_64_msvc@0.53.1
	winnow@0.7.14
	wit-bindgen@0.46.0
	zbus@5.13.1
	zbus_macros@5.13.1
	zbus_names@4.3.1
	zvariant@5.9.1
	zvariant_derive@5.9.1
	zvariant_utils@3.3.0
"
RUST_MIN_VER="1.85.0"

inherit cargo

DESCRIPTION="Daemon that bridges freedesktop.org ScreenSaver inhibitions to systemd-inhibit"
HOMEPAGE="https://codeberg.org/Scrumplex/inhibridge"
SRC_URI="
	https://codeberg.org/Scrumplex/inhibridge/archive/${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"
S="${WORKDIR}/${PN}"

LICENSE="AGPL-3+"
# Dependent crate licenses
LICENSE+=" MIT Unicode-3.0"
SLOT="0"
KEYWORDS="~amd64"