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

# Autogenerated by pycargoebuild 0.17.2

EAPI=8

RUST_MIN_VER="1.98.0"

CRATES="
	ab_glyph@0.2.32
	ab_glyph_rasterizer@0.1.10
	accesskit@0.24.1
	accesskit_atspi_common@0.18.1
	accesskit_consumer@0.35.0
	accesskit_consumer@0.36.0
	accesskit_consumer@0.38.0
	accesskit_macos@0.26.3
	accesskit_unix@0.21.1
	accesskit_windows@0.32.1
	accesskit_winit@0.32.2
	adler2@2.0.1
	aead@0.5.2
	aead@0.6.1
	aes-gcm@0.11.1
	aes@0.8.4
	aes@0.9.3
	ahash@0.8.12
	aho-corasick@1.1.5
	alsa-sys@0.4.0
	alsa@0.11.0
	android-activity@0.6.1
	android-properties@0.2.2
	annotate-snippets@0.11.5
	anstream@1.0.0
	anstyle-parse@1.0.0
	anstyle-query@1.1.5
	anstyle-wincon@3.0.11
	anstyle@1.0.14
	anyhow@1.0.104
	apple-native-keyring-store@1.0.2
	arboard@3.7.0
	arrayref@0.3.9
	arrayvec@0.7.8
	as-raw-xcb-connection@1.0.1
	asn1-rs-derive@0.5.1
	asn1-rs-derive@0.6.0
	asn1-rs-impl@0.2.0
	asn1-rs@0.6.2
	asn1-rs@0.7.2
	async-broadcast@0.7.2
	async-channel@2.5.0
	async-executor@1.14.0
	async-io@2.6.0
	async-lock@3.4.2
	async-process@2.5.0
	async-recursion@1.1.1
	async-signal@0.2.14
	async-task@4.7.1
	async-trait@0.1.92
	atomic-waker@1.1.2
	atspi-common@0.13.0
	atspi-proxies@0.13.0
	atspi@0.29.0
	audio-core@0.2.1
	audioadapter-buffers@3.0.0
	audioadapter-sample@3.0.0
	audioadapter@3.0.0
	autocfg@1.5.1
	base64@0.22.1
	base64@0.23.1
	bindgen@0.72.1
	bit-set@0.10.0
	bit-vec@0.9.1
	bitflags@1.3.2
	bitflags@2.13.1
	block-buffer@0.10.4
	block-buffer@0.12.1
	block-padding@0.4.2
	block2@0.5.1
	block2@0.6.2
	block@0.1.6
	blocking@1.7.0
	bon-macros@3.10.0
	bon@3.10.0
	borrow-or-share@0.2.4
	buffa-build@0.9.2
	buffa-codegen@0.9.2
	buffa-descriptor@0.9.2
	buffa@0.9.2
	bumpalo@3.20.3
	bytecheck@0.8.3
	bytecheck_derive@0.8.3
	bytemuck@1.25.2
	bytemuck_derive@1.12.0
	byteorder-lite@0.1.0
	byteorder@1.5.0
	bytes@1.12.1
	calloop-wayland-source@0.3.0
	calloop-wayland-source@0.4.1
	calloop@0.13.0
	calloop@0.14.4
	castaway@0.2.4
	cbc@0.2.1
	cc@1.4.4
	ccm@0.5.0
	cexpr@0.6.0
	cfg-expr@0.20.10
	cfg-if@0.1.10
	cfg-if@1.0.4
	cfg_aliases@0.2.2
	cgl@0.3.2
	chacha20@0.10.2
	chrono@0.4.45
	cipher@0.4.4
	cipher@0.5.2
	clang-sys@1.9.1
	clap@4.6.7
	clap_builder@4.6.7
	clap_derive@4.6.7
	clap_lex@1.1.0
	clipboard-win@5.4.1
	cmake@0.1.58
	cmov@0.5.4
	cocoa-foundation@0.2.1
	cocoa@0.20.2
	codespan-reporting@0.13.1
	color@0.3.3
	color_quant@1.1.0
	colorchoice@1.0.5
	combine@4.6.8
	compact_str@0.10.0
	concat-string@1.0.1
	concurrent-queue@2.5.0
	const-oid@0.10.2
	cookie-factory@0.3.3
	core-foundation-sys@0.7.0
	core-foundation-sys@0.8.7
	core-foundation@0.10.1
	core-foundation@0.7.0
	core-foundation@0.9.4
	core-graphics-types@0.1.3
	core-graphics-types@0.2.0
	core-graphics@0.19.2
	core-graphics@0.23.2
	core-media-sys@0.1.2
	core-video-sys@0.1.4
	coreaudio-rs@0.14.2
	cpubits@0.1.1
	cpufeatures@0.2.17
	cpufeatures@0.3.1
	crc32c@0.6.8
	crc32fast@1.5.1
	crossbeam-channel@0.5.16
	crossbeam-utils@0.8.22
	crunchy@0.2.4
	crypto-common@0.1.7
	crypto-common@0.2.2
	ctr@0.10.1
	ctr@0.9.2
	ctutils@0.4.5
	cursor-icon@1.2.0
	curve25519-dalek-derive@0.1.1
	curve25519-dalek@5.0.0
	darling@0.21.3
	darling@0.24.1
	darling_core@0.21.3
	darling_core@0.24.1
	darling_macro@0.21.3
	darling_macro@0.24.1
	dasp_sample@0.11.0
	data-encoding@2.11.1
	data-url@0.3.2
	defmt-macros@1.1.1
	defmt-parser@1.0.0
	defmt@1.1.1
	der-parser@10.0.0
	der-parser@9.0.0
	deranged@0.5.8
	derive_more-impl@2.1.1
	derive_more@2.1.1
	diesel@2.3.14
	diesel_derives@2.3.9
	diesel_migrations@2.3.2
	diesel_table_macro_syntax@0.3.0
	digest@0.10.7
	digest@0.11.3
	directories@6.0.0
	dirs-sys@0.5.0
	dispatch2@0.3.1
	dispatch@0.2.0
	displaydoc@0.2.7
	dlib@0.5.3
	document-features@0.2.12
	downcast-rs@1.2.1
	downcast-rs@2.0.2
	dpi@0.1.2
	dsl_auto_type@0.2.0
	either@1.18.0
	emojis@0.9.1
	encoding_rs@0.8.35
	endi@1.1.1
	enum-map-derive@0.17.0
	enum-map@2.7.3
	enum-primitive-derive@0.3.0
	enumflags2@0.7.12
	enumflags2_derive@0.7.12
	enumn@0.1.14
	env_filter@2.0.0
	env_logger@0.11.11
	equivalent@1.0.2
	errno@0.3.14
	error-code@3.4.0
	euclid@0.22.14
	event-listener-strategy@0.5.4
	event-listener@5.4.2
	extended@0.1.0
	fallible-iterator@0.3.0
	fallible-streaming-iterator@0.1.9
	fastrand@2.5.0
	fax@0.2.7
	fdeflate@0.3.7
	fearless_simd@0.4.1
	fiat-crypto@0.3.0
	find-msvc-tools@0.1.11
	fixedbitset@0.5.7
	flate2@1.1.10
	float-cmp@0.9.0
	fluent-uri@0.4.1
	flume@0.11.1
	fnv@1.0.7
	foldhash@0.1.5
	foldhash@0.2.0
	font-types@0.12.4
	foreign-types-macros@0.2.4
	foreign-types-shared@0.1.1
	foreign-types-shared@0.3.1
	foreign-types@0.3.2
	foreign-types@0.5.0
	form_urlencoded@1.2.2
	fsevent-sys@4.1.0
	futures-channel@0.3.34
	futures-core@0.3.34
	futures-executor@0.3.34
	futures-io@0.3.34
	futures-lite@2.6.1
	futures-macro@0.3.34
	futures-sink@0.3.34
	futures-task@0.3.34
	futures-timer@3.0.4
	futures-util@0.3.34
	futures@0.3.34
	generic-array@0.14.7
	gethostname@1.1.0
	getrandom@0.2.17
	getrandom@0.3.4
	getrandom@0.4.3
	ghash@0.6.0
	gif@0.14.2
	gl_generator@0.14.0
	glifo@0.2.0
	glob@0.3.4
	gloo-timers@0.4.0
	glow@0.17.0
	glutin-winit@0.5.0
	glutin@0.32.3
	glutin_egl_sys@0.7.1
	glutin_glx_sys@0.6.1
	glutin_wgl_sys@0.6.1
	guillotiere@0.7.0
	half@2.7.1
	harfrust@0.12.0
	hashbrown@0.15.5
	hashbrown@0.16.1
	hashbrown@0.17.1
	hashlink@0.12.1
	heck@0.5.0
	hermit-abi@0.5.2
	hex@0.4.3
	hkdf@0.13.0
	hmac@0.12.1
	hmac@0.13.0
	http-body-util@0.1.5
	http-body@1.1.0
	http@1.5.0
	httparse@1.10.1
	hybrid-array@0.4.14
	hyper-rustls@0.27.9
	hyper-util@0.1.20
	hyper@1.11.1
	icu_collections@2.3.0
	icu_locale_core@2.3.0
	icu_normalizer@2.3.0
	icu_normalizer_data@2.3.0
	icu_properties@2.3.0
	icu_properties_data@2.3.0
	icu_provider@2.3.1
	ident_case@1.0.1
	idna@1.1.0
	idna_adapter@1.2.2
	image-webp@0.2.4
	image@0.25.10
	imagesize@0.13.0
	include-po@0.2.1
	indexmap@2.14.1
	inotify-sys@0.1.8
	inotify@0.11.5
	inout@0.1.4
	inout@0.2.2
	ipnet@2.12.2
	is-docker@0.2.0
	is-wsl@0.4.0
	is_terminal_polyfill@1.70.2
	itertools@0.13.0
	itertools@0.15.0
	itoa@1.0.18
	jiff-core@0.1.0
	jiff-static@0.2.38
	jiff-tzdb-platform@0.1.3
	jiff-tzdb@0.1.8
	jiff@0.2.38
	jni-macros@0.22.4
	jni-sys-macros@0.4.1
	jni-sys@0.3.1
	jni-sys@0.4.1
	jni@0.22.4
	jobserver@0.1.35
	js-sys@0.3.104
	keyboard-types@0.8.3
	keyring-core@1.0.1
	khronos_api@3.1.0
	kqueue-sys@1.1.2
	kqueue@1.2.1
	ksni@0.3.6
	kurbo@0.11.3
	kurbo@0.13.1
	lazy_static@1.5.0
	libc@0.2.191
	libloading@0.8.9
	libm@0.2.16
	libredox@0.1.21
	libspa-sys@0.10.1
	libspa@0.10.1
	libsqlite3-sys@0.38.2
	libwebp-sys2@0.1.11
	libwebp-sys2@0.2.0
	linebender_resource_handle@0.1.1
	linereader@0.4.0
	linux-raw-sys@0.12.1
	linux-raw-sys@0.4.15
	linuxvideo@0.3.5
	litemap@0.8.3
	litrs@1.0.0
	lock_api@0.4.14
	log@0.4.34
	lru-slab@0.1.3
	mac-usernotifications@0.3.1
	mach2@0.6.0
	malloc_buf@0.0.6
	md-5@0.10.6
	memchr@2.8.3
	memmap2@0.9.11
	memoffset@0.9.1
	metal@0.18.0
	migrations_internals@2.3.0
	migrations_macros@2.3.0
	mime@0.3.17
	mime_guess2@2.3.1
	minimal-lexical@0.2.1
	miniz_oxide@0.8.9
	miniz_oxide@0.9.1
	mio@1.2.2
	moxcms@0.8.1
	muda@0.20.0
	munge@0.4.7
	munge_macro@0.4.7
	naga-types@30.0.1
	naga@30.0.1
	nanorand@0.7.0
	nasm-rs@0.3.2
	ndk-context@0.1.1
	ndk-sys@0.6.0+11769913
	ndk@0.9.0
	nix@0.31.3
	nohash-hasher@0.2.0
	nokhwa-bindings-macos@0.2.4
	nokhwa-bindings-windows@0.4.6
	nokhwa-core@0.1.9
	nokhwa@0.10.11
	nom-language@0.1.0
	nom@7.1.3
	nom@8.0.0
	notify-types@2.1.0
	notify@8.2.0
	num-bigint@0.4.8
	num-complex@0.4.6
	num-conv@0.2.2
	num-derive@0.4.2
	num-integer@0.1.47
	num-iter@0.1.46
	num-rational@0.4.2
	num-traits@0.2.19
	num@0.4.3
	num_enum@0.7.6
	num_enum_derive@0.7.6
	objc-sys@0.3.5
	objc2-app-kit@0.2.2
	objc2-app-kit@0.3.2
	objc2-audio-toolbox@0.3.2
	objc2-avf-audio@0.3.2
	objc2-cloud-kit@0.2.2
	objc2-contacts@0.2.2
	objc2-core-audio-types@0.3.2
	objc2-core-audio@0.3.2
	objc2-core-data@0.2.2
	objc2-core-foundation@0.3.2
	objc2-core-graphics@0.3.2
	objc2-core-image@0.2.2
	objc2-core-location@0.2.2
	objc2-core-location@0.3.2
	objc2-encode@4.1.0
	objc2-foundation@0.2.2
	objc2-foundation@0.3.2
	objc2-io-surface@0.3.2
	objc2-link-presentation@0.2.2
	objc2-metal@0.2.2
	objc2-quartz-core@0.2.2
	objc2-security@0.3.2
	objc2-service-management@0.3.2
	objc2-symbols@0.2.2
	objc2-ui-kit@0.2.2
	objc2-ui-kit@0.3.2
	objc2-uniform-type-identifiers@0.2.2
	objc2-user-notifications@0.2.2
	objc2-user-notifications@0.3.2
	objc2@0.5.2
	objc2@0.6.5
	objc@0.2.7
	objc_exception@0.1.2
	ogg@0.9.2
	oid-registry@0.7.1
	oid-registry@0.8.1
	once_cell@1.21.4
	once_cell_polyfill@1.70.2
	open@5.4.5
	openh264-sys2@0.9.9
	openh264@0.9.9
	openssl-src@300.6.1+3.6.3
	openssl-sys@0.9.117
	option-ext@0.2.0
	opus@0.4.0
	opusic-sys@0.7.5
	orbclient@0.3.55
	ordered-stream@0.2.0
	os_pipe@1.2.3
	owned_ttf_parser@0.25.1
	parking@2.2.1
	parking_lot@0.12.5
	parking_lot_core@0.9.12
	paste@1.0.15
	pastey@0.2.3
	pem@3.0.6
	pem@4.0.0
	peniko@0.6.1
	percent-encoding@2.3.2
	petgraph@0.8.3
	phf@0.11.3
	phf@0.13.1
	phf_generator@0.11.3
	phf_generator@0.13.1
	phf_macros@0.11.3
	phf_macros@0.13.1
	phf_shared@0.11.3
	phf_shared@0.13.1
	pico-args@0.5.0
	pin-project-internal@1.1.13
	pin-project-lite@0.2.17
	pin-project@1.1.13
	piper@0.2.5
	pipewire-sys@0.10.1
	pipewire@0.10.1
	pkg-config@0.3.34
	plain@0.2.3
	png@0.17.16
	png@0.18.1
	polib@0.3.0
	polling@3.11.0
	pollster@0.4.0
	polycool@0.4.0
	polyval@0.7.3
	portable-atomic-util@0.2.7
	portable-atomic@1.15.0
	potential_utf@0.1.6
	powerfmt@0.2.0
	prettyplease@0.2.37
	prettyplease@0.3.0
	proc-macro-crate@3.5.0
	proc-macro2@1.0.107
	profiling@1.0.18
	ptr_meta@0.3.2
	ptr_meta_derive@0.3.2
	pulseaudio@0.3.2
	pxfm@0.1.30
	qrcode@0.14.1
	quick-error@2.0.1
	quick-xml@0.41.0
	quinn-proto@0.11.18
	quinn-udp@0.5.15
	quinn@0.11.12
	quote@1.0.47
	r-efi@5.3.0
	r-efi@6.0.0
	r2d2@0.8.10
	rancor@0.1.3
	rand@0.10.3
	rand@0.8.8
	rand_core@0.10.1
	rand_core@0.6.4
	rand_pcg@0.10.2
	rasterlottie@0.2.4
	raw-window-handle@0.6.2
	rcgen@0.14.10
	read-fonts@0.41.0
	redox_syscall@0.4.1
	redox_syscall@0.5.18
	redox_syscall@0.9.3
	redox_users@0.5.2
	ref-cast-impl@1.0.27
	ref-cast@1.0.27
	regex-automata@0.4.18
	regex-syntax@0.8.11
	regex@1.13.1
	rend@0.5.4
	renderdoc-sys@1.1.0
	reqwest@0.12.28
	resvg@0.45.1
	rfd@0.17.2
	rgb@0.8.53
	ring@0.17.14
	rkyv@0.8.18
	rkyv_derive@0.8.18
	ron@0.12.2
	roxmltree@0.20.0
	rsqlite-vfs@0.1.1
	rtc-crypto@0.21.0
	rtc-datachannel@0.21.0-beta.2
	rtc-dtls@0.21.0-beta.2
	rtc-sctp@0.21.0-beta.2
	rtc-shared@0.21.0-beta.2
	rtrb@0.3.5
	rubato@3.0.0
	rusqlite@0.40.2
	rustc-hash@1.1.0
	rustc-hash@2.1.3
	rustc_version@0.4.1
	rusticata-macros@4.1.0
	rustix@0.38.44
	rustix@1.1.4
	rustls-pki-types@1.15.1
	rustls-webpki@0.103.16
	rustls@0.23.46
	rustversion@1.0.23
	ryu@1.0.23
	safe_arch@1.2.0
	same-file@1.0.6
	sansio@1.0.1
	scheduled-thread-pool@0.2.7
	scoped-tls@1.0.1
	scopeguard@1.2.0
	sctk-adwaita@0.10.1
	secret-service@5.2.0
	security-framework-sys@2.17.0
	security-framework@3.7.0
	self_cell@1.3.0
	semver@1.0.28
	send_wrapper@0.6.0
	serde-big-array@0.5.1
	serde@1.0.229
	serde_core@1.0.229
	serde_derive@1.0.229
	serde_json@1.0.154
	serde_repr@0.1.21
	serde_spanned@1.1.1
	serde_urlencoded@0.7.1
	sha1@0.10.7
	sha1@0.11.0
	sha2@0.11.1
	shlex@1.3.0
	shlex@2.0.1
	signal-hook-registry@1.4.8
	simd-adler32@0.3.10
	simd_cesu8@1.2.0
	simdutf8@0.1.5
	simplecss@0.2.2
	siphasher@1.0.3
	skrifa@0.44.0
	slab@0.4.12
	slotmap@1.1.1
	smallvec@1.15.2
	smithay-client-toolkit@0.19.2
	smithay-client-toolkit@0.20.0
	smithay-clipboard@0.7.3
	smol_str@0.2.2
	smoothutf8@0.2.3
	socket2@0.6.5
	sonora-aec3@0.2.0
	sonora-agc2@0.2.0
	sonora-common-audio@0.2.0
	sonora-fft@0.2.0
	sonora-ns@0.2.0
	sonora-simd@0.2.0
	sonora@0.2.0
	spin@0.9.9
	sqlite-wasm-rs@0.5.5
	stable_deref_trait@1.2.1
	static_assertions@1.1.0
	strict-num@0.1.1
	strsim@0.11.1
	substring@1.4.5
	subtle@2.6.1
	svgtypes@0.15.3
	symphonia-bundle-mp3@0.5.5
	symphonia-codec-aac@0.5.5
	symphonia-codec-pcm@0.5.5
	symphonia-codec-vorbis@0.5.5
	symphonia-core@0.5.5
	symphonia-format-isomp4@0.5.5
	symphonia-format-ogg@0.5.5
	symphonia-format-riff@0.5.5
	symphonia-metadata@0.5.5
	symphonia-utils-xiph@0.5.5
	symphonia@0.5.5
	syn@2.0.119
	syn@3.0.4
	sync_wrapper@1.0.2
	synstructure@0.13.2
	sys-locale@0.3.2
	system-deps@7.0.8
	target-lexicon@0.13.5
	tempfile@3.27.0
	thiserror-impl@1.0.69
	thiserror-impl@2.0.20
	thiserror@1.0.69
	thiserror@2.0.20
	tiff@0.11.3
	time-core@0.1.9
	time-macros@0.2.32
	time@0.3.55
	tiny-skia-path@0.11.4
	tiny-skia-path@0.12.0
	tiny-skia@0.11.4
	tiny-skia@0.12.0
	tinystr@0.8.4
	tinyvec@1.13.3
	tokio-macros@2.7.2
	tokio-rustls@0.26.4
	tokio-util@0.7.19
	tokio-websockets@0.13.3
	tokio@1.53.3
	toml@0.9.12+spec-1.1.0
	toml@1.1.4+spec-1.1.0
	toml_datetime@0.7.5+spec-1.1.0
	toml_datetime@1.1.1+spec-1.1.0
	toml_edit@0.25.13+spec-1.1.0
	toml_parser@1.1.3+spec-1.1.0
	toml_writer@1.1.2+spec-1.1.0
	tower-http@0.6.11
	tower-layer@0.3.3
	tower-service@0.3.3
	tower@0.5.3
	tr@0.1.11
	tracing-attributes@0.1.31
	tracing-core@0.1.36
	tracing@0.1.44
	tray-icon@0.25.1
	tree_magic_mini@3.2.2
	try-lock@0.2.5
	ttf-parser@0.25.1
	type-map@0.5.1
	typed-path@0.12.3
	typeid@1.0.3
	typenum@1.20.1
	uds_windows@1.2.1
	unicase@2.9.0
	unicode-bidi@0.3.18
	unicode-general-category@1.1.0
	unicode-ident@1.0.24
	unicode-segmentation@1.13.3
	unicode-width@0.2.2
	unicode-xid@0.2.6
	universal-hash@0.6.1
	untrusted@0.9.0
	uoctl@1.0.1
	ureq-proto@0.6.5
	ureq@3.5.0
	url@2.5.8
	usvg@0.45.1
	utf8-zero@0.8.1
	utf8_iter@1.0.4
	utf8parse@0.2.2
	uuid@1.26.0
	vcpkg@0.2.15
	vello_common@0.1.0
	vello_cpu@0.1.0
	version-compare@0.2.1
	version_check@0.9.5
	visibility@0.1.1
	walkdir@2.5.0
	want@0.3.1
	wasi@0.11.1+wasi-snapshot-preview1
	wasip2@1.0.4+wasi-0.2.12
	wasm-bindgen-futures@0.4.77
	wasm-bindgen-macro-support@0.2.127
	wasm-bindgen-macro@0.2.127
	wasm-bindgen-shared@0.2.127
	wasm-bindgen@0.2.127
	wayland-backend@0.3.17
	wayland-client@0.31.15
	wayland-csd-frame@0.3.0
	wayland-cursor@0.31.14
	wayland-protocols-experimental@20250721.0.1
	wayland-protocols-misc@0.3.12
	wayland-protocols-plasma@0.3.12
	wayland-protocols-wlr@0.3.12
	wayland-protocols@0.32.13
	wayland-scanner@0.31.11
	wayland-sys@0.31.11
	web-sys@0.3.104
	web-time@1.1.0
	webbrowser@1.2.4
	webp-animation@0.10.0
	webpki-roots@1.0.10
	weezl@0.1.12
	wgpu-core-deps-windows-linux-android@30.0.1
	wgpu-core@30.0.1
	wgpu-hal@30.0.1
	wgpu-naga-bridge@30.0.1
	wgpu-types@30.0.1
	wgpu@30.0.1
	wide@1.7.0
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.11
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windowfunctions@0.1.1
	windows-collections@0.3.2
	windows-core@0.62.2
	windows-future@0.3.2
	windows-implement@0.60.2
	windows-interface@0.59.3
	windows-link@0.2.1
	windows-native-keyring-store@1.1.0
	windows-numerics@0.3.1
	windows-result@0.4.1
	windows-strings@0.5.1
	windows-sys@0.52.0
	windows-sys@0.60.2
	windows-sys@0.61.2
	windows-targets@0.52.6
	windows-targets@0.53.5
	windows-threading@0.2.1
	windows@0.62.2
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_gnullvm@0.53.1
	windows_aarch64_msvc@0.52.6
	windows_aarch64_msvc@0.53.1
	windows_i686_gnu@0.52.6
	windows_i686_gnu@0.53.1
	windows_i686_gnullvm@0.52.6
	windows_i686_gnullvm@0.53.1
	windows_i686_msvc@0.52.6
	windows_i686_msvc@0.53.1
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnu@0.53.1
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_gnullvm@0.53.1
	windows_x86_64_msvc@0.52.6
	windows_x86_64_msvc@0.53.1
	winnow@0.7.15
	winnow@1.0.4
	winresource@0.1.34
	wit-bindgen@0.57.1
	wl-clipboard-rs@0.9.3
	writeable@0.6.4
	x11-dl@2.21.0
	x11rb-protocol@0.13.2
	x11rb@0.13.2
	x25519-dalek@3.0.0
	x509-parser@0.16.0
	x509-parser@0.18.1
	xcursor@0.3.11
	xkbcommon-dl@0.4.2
	xkeysym@0.2.1
	xml-rs@0.8.29
	xmlwriter@0.1.0
	yasna@0.6.0
	yoke-derive@0.8.2
	yoke@0.8.3
	zbus-lockstep-macros@0.5.2
	zbus-lockstep@0.5.2
	zbus-secret-service-keyring-store@1.0.1
	zbus@5.19.0
	zbus_macros@5.19.0
	zbus_names@4.3.4
	zbus_xml@5.2.1
	zcheapstr@1.1.0
	zerocopy-derive@0.8.56
	zerocopy@0.8.56
	zerofrom-derive@0.1.7
	zerofrom@0.1.8
	zeroize@1.9.1
	zerotrie@0.2.5
	zerovec-derive@0.11.6
	zerovec@0.11.8
	zip@9.0.5
	zlib-rs@0.6.7
	zmij@1.0.23
	zopfli@0.8.3
	zune-core@0.5.3
	zune-jpeg@0.5.15
	zvariant@5.15.0
	zvariant_derive@5.15.0
	zvariant_utils@4.2.0
"

declare -A GIT_CRATES=(
	[cpal]='https://github.com/crmne/cpal;fcd8b6ebee9d822426fa8d6839cdd89af6e0d491;cpal-%commit%'
	[dpi]='https://github.com/crmne/winit;59ebfb727b8c83fcd28f8ca59c3733e32b4b4e9b;winit-%commit%/dpi'
	[ecolor]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/ecolor'
	[eframe]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/eframe'
	[egui-wgpu]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/egui-wgpu'
	[egui-winit]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/egui-winit'
	[egui]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/egui'
	[egui_extras]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/egui_extras'
	[egui_glow]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/egui_glow'
	[emath]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/emath'
	[epaint]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/epaint'
	[epaint_default_fonts]='https://github.com/crmne/egui;1cc61c8a83625855b08cb8fed912900cf3b01b70;egui-%commit%/crates/epaint_default_fonts'
	[fastframe-audio]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-audio'
	[fastframe-autostart]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-autostart'
	[fastframe-desktop]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-desktop'
	[fastframe-dirs]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-dirs'
	[fastframe-dock]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-dock'
	[fastframe-emoji]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-emoji'
	[fastframe-file]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-file'
	[fastframe-fonts]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-fonts'
	[fastframe-i18n]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-i18n'
	[fastframe-icons]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-icons'
	[fastframe-instance]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-instance'
	[fastframe-log]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-log'
	[fastframe-notifications]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-notifications'
	[fastframe-power]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-power'
	[fastframe-scroll]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-scroll'
	[fastframe-shell]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-shell'
	[fastframe-text]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-text'
	[fastframe-theme]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-theme'
	[fastframe-titlebar]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-titlebar'
	[fastframe-tray]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-tray'
	[fastframe-update]='https://github.com/crmne/fastframe;8faf6f99ba782b22916a118c77d1a25d97d1414f;fastframe-%commit%/crates/fastframe-update'
	[mp4]='https://github.com/crmne/mp4-rust;35560e94f5e871a2b2d88bfe964013b39af131e8;mp4-rust-%commit%'
	[rodio]='https://github.com/crmne/rodio;742090d57a4c83b23bd990ba0dcf939d09dbeb94;rodio-%commit%'
	[wacore-appstate]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/wacore/appstate'
	[wacore-binary]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/wacore/binary'
	[wacore-derive]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/wacore/derive'
	[wacore-libsignal]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/wacore/libsignal'
	[wacore-noise]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/wacore/noise'
	[wacore]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/wacore'
	[waproto]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/waproto'
	[whatsapp-rust-sqlite-storage]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/storages/sqlite-storage'
	[whatsapp-rust-tokio-transport]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/transports/tokio-transport'
	[whatsapp-rust-ureq-http-client]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%/http_clients/ureq-client'
	[whatsapp-rust]='https://github.com/crmne/whatsapp-rust;94f7c1376f8f6a77c55d85570a260600ad27de0b;whatsapp-rust-%commit%'
	[winit]='https://github.com/crmne/winit;59ebfb727b8c83fcd28f8ca59c3733e32b4b4e9b;winit-%commit%'
)

inherit cargo desktop optfeature xdg

DESCRIPTION="A native WhatsApp client built with Rust and egui"
HOMEPAGE="https://zapfast.rocks"
SRC_URI="
	https://github.com/crmne/zapfast/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
	CC0-1.0 CDLA-Permissive-2.0 ISC MIT MIT-0 MPL-2.0 Unicode-3.0
	Unlicense ZLIB
"
SLOT="0"
KEYWORDS="~amd64"

IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="
	dev-build/cmake
	dev-lang/perl
	llvm-core/clang
	test? ( media-fonts/liberation-fonts )
	virtual/pkgconfig
"
DEPEND="
	dev-libs/wayland
	media-libs/alsa-lib
	media-libs/libglvnd
	media-video/pipewire:=
	x11-libs/libX11
	x11-libs/libXcursor
	x11-libs/libXi
	x11-libs/libXrandr
	x11-libs/libxcb
	x11-libs/libxkbcommon[X]
"
RDEPEND="${DEPEND}"

src_configure() {
	export PKG_CONFIG_ALLOW_CROSS=1
	cargo_src_configure
}

src_prepare() {
	default

	local crate crate_patches crate_uri commit crate_dir host
	for crate in "${!GIT_CRATES[@]}"; do
		IFS=';' read -r crate_uri commit crate_dir host <<< "${GIT_CRATES[${crate}]}"
		: "${crate_dir:=${crate}-%commit%}"
		crate_patches+="${crate} = { path = \"${WORKDIR}/${crate_dir//%commit%/${commit}}\" };;"
	done
	printf -- "[patch.crates-io]\\n%s" "${crate_patches//;;/$'\n'}" \
		>> "${CARGO_HOME}/config.toml"
}

src_install() {
	cargo_src_install

	domenu packaging/applications/${PN}.desktop
	newicon docs/assets/images/logo.svg ${PN}.svg

	dodoc THIRD-PARTY-NOTICES.md README.md
}

pkg_postinst() {
	xdg_pkg_postinst

	optfeature "archive encryption key storage via Secret Service" virtual/secret-service
	optfeature "colour emoji in messages and reactions" media-fonts/noto-emoji
	optfeature "file picker for attachments" sys-apps/xdg-desktop-portal
}