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

# Autogenerated by pycargoebuild 0.15.1

EAPI=8

CRATES="
	addr2line@0.25.1
	adler2@2.0.1
	aes@0.8.4
	ahash@0.8.12
	aho-corasick@1.1.4
	aligned-vec@0.6.4
	aligned@0.4.3
	alloca@0.4.0
	allocator-api2@0.2.21
	android_system_properties@0.1.5
	anes@0.1.6
	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.102
	ar_archive_writer@0.5.1
	arbitrary@1.4.2
	arc-swap@1.9.1
	arg_enum_proc_macro@0.3.4
	arrayref@0.3.9
	arrayvec@0.7.6
	as-raw-xcb-connection@1.0.1
	as-slice@0.2.1
	ash@0.38.0+1.3.281
	ashpd@0.13.11
	async-broadcast@0.7.2
	async-channel@1.9.0
	async-channel@2.5.0
	async-compression@0.4.42
	async-executor@1.14.0
	async-fs@2.2.0
	async-global-executor@2.4.1
	async-io@2.6.0
	async-lock@3.4.2
	async-net@2.0.0
	async-process@2.5.0
	async-recursion@1.1.1
	async-signal@0.2.14
	async-std@1.13.2
	async-tar@0.5.1
	async-task@4.7.1
	async-trait@0.1.89
	async_zip@0.0.18
	atomic-waker@1.1.2
	atomic@0.5.3
	autocfg@1.5.1
	av-scenechange@0.14.1
	av1-grain@0.2.5
	avif-serialize@0.8.9
	backtrace@0.3.76
	base64@0.22.1
	bit-set@0.8.0
	bit-set@0.9.1
	bit-vec@0.8.0
	bit-vec@0.9.1
	bit_field@0.10.3
	bitflags@1.3.2
	bitflags@2.11.1
	bitstream-io@4.10.0
	block-buffer@0.10.4
	block-padding@0.3.3
	block2@0.6.2
	block@0.1.6
	blocking@1.6.2
	bstr@1.12.1
	built@0.8.1
	bumpalo@3.20.3
	bytemuck@1.25.0
	bytemuck_derive@1.10.2
	byteorder-lite@0.1.0
	byteorder@1.5.0
	bytes@1.11.1
	bytesize@2.3.1
	bzip2@0.6.1
	calloop-wayland-source@0.4.1
	calloop@0.14.4
	cast@0.3.0
	cbc@0.1.2
	cbindgen@0.29.2
	cc@1.2.62
	cfg-if@1.0.4
	cfg_aliases@0.2.1
	cgl@0.3.2
	chacha20@0.10.0
	chrono@0.4.44
	ciborium-io@0.2.2
	ciborium-ll@0.2.2
	ciborium@0.2.2
	cipher@0.4.4
	circular-buffer@1.2.0
	clap@4.6.1
	clap_builder@4.6.0
	clap_derive@4.6.1
	clap_lex@1.1.0
	clru@0.6.3
	cocoa-foundation@0.2.1
	cocoa@0.26.1
	codespan-reporting@0.13.1
	collections-gpui-unofficial@1.2.7
	color_quant@1.1.0
	colorchoice@1.0.5
	command-fds@0.3.3
	compression-codecs@0.4.38
	compression-core@0.4.32
	concurrent-queue@2.5.0
	const-random-macro@0.1.16
	const-random@0.1.18
	convert_case@0.10.0
	core-foundation-sys@0.8.7
	core-foundation@0.10.1
	core-graphics-types@0.2.0
	core-graphics2@0.5.2
	core-graphics@0.24.0
	core-graphics@0.25.0
	core-text@22.0.0
	core-video@0.5.2
	core_maths@0.1.1
	cosmic-text@0.19.0
	cpufeatures@0.2.17
	cpufeatures@0.3.0
	crc32fast@1.5.0
	criterion-plot@0.8.2
	criterion@0.8.2
	crossbeam-channel@0.5.15
	crossbeam-deque@0.8.6
	crossbeam-epoch@0.9.18
	crossbeam-queue@0.3.12
	crossbeam-utils@0.8.21
	crunchy@0.2.4
	crypto-common@0.1.7
	ctor@1.0.6
	dashmap@6.2.1
	data-url@0.3.2
	deflate64@0.1.12
	derive_more-impl@2.1.1
	derive_more@2.1.1
	digest@0.10.7
	dirs-sys@0.5.0
	dirs@6.0.0
	dispatch2@0.3.1
	displaydoc@0.2.5
	dlib@0.5.3
	document-features@0.2.12
	downcast-rs@1.2.1
	dunce@1.0.5
	dwrote@0.11.5
	dyn-clone@1.0.20
	either@1.16.0
	embed-resource@3.0.9
	encoding_rs@0.8.35
	endi@1.1.1
	enumflags2@0.7.12
	enumflags2_derive@0.7.12
	equator-macro@0.4.2
	equator@0.4.2
	equivalent@1.0.2
	erased-serde@0.4.10
	errno@0.3.14
	etagere@0.3.0
	euclid@0.22.14
	event-listener-strategy@0.5.4
	event-listener@2.5.3
	event-listener@5.4.1
	exr@1.74.0
	faster-hex@0.10.0
	fastrand@1.9.0
	fastrand@2.4.1
	fax@0.2.7
	fdeflate@0.3.7
	filedescriptor@0.8.3
	filetime@0.2.29
	find-msvc-tools@0.1.9
	fixedbitset@0.5.7
	flate2@1.1.9
	float-cmp@0.9.0
	float-ord@0.3.2
	float_next_after@1.0.0
	flume@0.12.0
	fnv@1.0.7
	foldhash@0.1.5
	foldhash@0.2.0
	font-types@0.11.3
	fontconfig-parser@0.5.8
	fontdb@0.23.0
	foreign-types-macros@0.2.3
	foreign-types-shared@0.3.1
	foreign-types@0.5.0
	form_urlencoded@1.2.2
	freetype-sys@0.23.0
	futf@0.1.5
	futures-channel@0.3.32
	futures-concurrency@7.7.1
	futures-core@0.3.32
	futures-executor@0.3.32
	futures-io@0.3.32
	futures-lite@1.13.0
	futures-lite@2.6.1
	futures-macro@0.3.32
	futures-sink@0.3.32
	futures-task@0.3.32
	futures-util@0.3.32
	futures@0.3.32
	generic-array@0.14.7
	gethostname@1.1.0
	getrandom@0.2.17
	getrandom@0.3.4
	getrandom@0.4.2
	gif@0.14.2
	gimli@0.32.3
	gix-actor@0.41.0
	gix-archive@0.32.0
	gix-attributes@0.33.0
	gix-bitmap@0.3.1
	gix-blame@0.13.0
	gix-chunk@0.7.1
	gix-command@0.9.0
	gix-commitgraph@0.37.0
	gix-config-value@0.18.0
	gix-config@0.56.0
	gix-date@0.15.3
	gix-diff@0.63.0
	gix-dir@0.25.0
	gix-discover@0.51.0
	gix-error@0.2.3
	gix-features@0.48.0
	gix-filter@0.30.0
	gix-fs@0.21.1
	gix-glob@0.26.0
	gix-hash@0.25.0
	gix-hashtable@0.15.0
	gix-ignore@0.21.0
	gix-imara-diff@0.2.1
	gix-index@0.51.0
	gix-lock@23.0.0
	gix-merge@0.16.0
	gix-negotiate@0.31.0
	gix-object@0.60.0
	gix-odb@0.80.0
	gix-pack@0.70.0
	gix-packetline@0.21.3
	gix-path@0.12.0
	gix-pathspec@0.18.0
	gix-protocol@0.61.0
	gix-quote@0.7.1
	gix-ref@0.63.0
	gix-refspec@0.41.0
	gix-revision@0.45.0
	gix-revwalk@0.31.0
	gix-sec@0.14.0
	gix-shallow@0.12.0
	gix-status@0.30.0
	gix-submodule@0.30.0
	gix-tempfile@23.0.0
	gix-trace@0.1.19
	gix-transport@0.57.0
	gix-traverse@0.57.0
	gix-url@0.36.0
	gix-utils@0.3.2
	gix-validate@0.11.1
	gix-worktree-state@0.30.0
	gix-worktree-stream@0.32.0
	gix-worktree@0.52.0
	gix@0.83.0
	gl_generator@0.14.0
	globset@0.4.18
	gloo-timers@0.3.0
	glow@0.17.0
	glutin_wgl_sys@0.6.1
	gpu-allocator@0.28.0
	gpu-descriptor-types@0.2.0
	gpu-descriptor@0.3.2
	gpui-util-gpui-unofficial@1.2.7
	grid@1.0.1
	half@2.7.1
	harfrust@0.5.2
	hash32@0.3.1
	hashbrown@0.14.5
	hashbrown@0.15.5
	hashbrown@0.16.1
	hashbrown@0.17.1
	heapless@0.8.0
	heapless@0.9.3
	heck@0.5.0
	hermit-abi@0.5.2
	hex@0.4.3
	hexf-parse@0.2.1
	hkdf@0.12.4
	hmac@0.12.1
	home@0.5.12
	http-body@1.0.1
	http-client-gpui-unofficial@1.2.7
	http@1.4.0
	human_format@1.2.1
	iana-time-zone-haiku@0.1.2
	iana-time-zone@0.1.65
	icu_collections@2.2.0
	icu_locale_core@2.2.0
	icu_normalizer@2.2.0
	icu_normalizer_data@2.2.0
	icu_properties@2.2.0
	icu_properties_data@2.2.0
	icu_provider@2.2.0
	id-arena@2.3.0
	idna@1.1.0
	idna_adapter@1.2.2
	image-webp@0.2.4
	image@0.25.10
	imagesize@0.14.0
	imgref@1.12.1
	indexmap@2.14.0
	inotify-sys@0.1.5
	inotify@0.11.1
	inout@0.1.4
	instant@0.1.13
	interpolate_name@0.2.4
	inventory@0.3.24
	io-close@0.3.7
	io-surface@0.16.1
	is-docker@0.2.0
	is-wsl@0.4.0
	is_terminal_polyfill@1.70.2
	itertools@0.13.0
	itertools@0.14.0
	itoa@1.0.18
	jiff-static@0.2.25
	jiff-tzdb-platform@0.1.3
	jiff-tzdb@0.1.6
	jiff@0.2.25
	jni-sys-macros@0.4.1
	jni-sys@0.3.1
	jni-sys@0.4.1
	jobserver@0.1.34
	js-sys@0.3.99
	khronos-egl@6.0.0
	khronos_api@3.1.0
	kqueue-sys@1.1.2
	kqueue@1.1.1
	kstring@2.0.2
	kurbo@0.13.1
	kv-log-macro@1.0.7
	lazy_static@1.5.0
	leak@0.1.2
	leaky-cow@0.1.1
	leb128fmt@0.1.0
	lebe@0.5.3
	libbz2-rs-sys@0.2.5
	libc@0.2.186
	libfuzzer-sys@0.4.12
	libloading@0.8.9
	libm@0.2.16
	libmimalloc-sys@0.1.49
	libredox@0.1.16
	libz-sys@1.1.28
	linebender_resource_handle@0.1.1
	link-section@0.17.2
	linktime-proc-macro@0.1.0
	linux-raw-sys@0.12.1
	linux-raw-sys@0.4.15
	litemap@0.8.2
	litrs@1.0.0
	lock_api@0.4.14
	log@0.4.30
	loop9@0.1.5
	lru@0.18.0
	lyon@1.0.19
	lyon_algorithms@1.0.20
	lyon_geom@1.0.19
	lyon_path@1.0.19
	lyon_tessellation@1.0.20
	mac@0.1.1
	mach2@0.5.0
	mach2@0.6.0
	malloc_buf@0.0.6
	maybe-async@0.2.11
	maybe-rayon@0.1.1
	md-5@0.10.6
	memchr@2.8.0
	memmap2@0.9.10
	memoffset@0.9.1
	metal@0.33.0
	mimalloc@0.1.52
	miniz_oxide@0.8.9
	mio@1.2.0
	moxcms@0.8.1
	naga@29.0.3
	ndk-sys@0.6.0+11769913
	new_debug_unreachable@1.0.6
	nix@0.29.0
	nix@0.31.3
	no_std_io2@0.9.4
	nom@8.0.0
	nonempty@0.12.0
	noop_proc_macro@0.3.0
	notify-types@2.1.0
	notify@9.0.0-rc.4
	num-bigint-dig@0.9.1
	num-bigint@0.4.6
	num-complex@0.4.6
	num-derive@0.4.2
	num-integer@0.1.46
	num-iter@0.1.45
	num-rational@0.4.2
	num-traits@0.2.19
	num@0.4.3
	num_cpus@1.17.0
	objc2-core-foundation@0.3.2
	objc2-core-services@0.3.2
	objc2-encode@4.1.0
	objc2-foundation@0.3.2
	objc2-metal@0.3.2
	objc2-quartz-core@0.3.2
	objc2@0.6.4
	objc@0.2.7
	object@0.37.3
	once_cell@1.21.4
	once_cell_polyfill@1.70.2
	oo7@0.6.0
	oorandom@11.1.5
	open@5.3.5
	option-ext@0.2.0
	ordered-float@5.3.0
	ordered-stream@0.2.0
	page_size@0.6.0
	parking@2.2.1
	parking_lot@0.12.5
	parking_lot_core@0.9.12
	paste@1.0.15
	pastey@0.1.1
	pathdiff@0.2.3
	pathfinder_geometry@0.5.1
	pathfinder_simd@0.5.6
	pbkdf2@0.12.2
	percent-encoding@2.3.2
	pico-args@0.5.0
	pin-project-internal@1.1.13
	pin-project-lite@0.2.17
	pin-project@1.1.13
	pin-utils@0.1.0
	piper@0.2.5
	pkg-config@0.3.33
	plotters-backend@0.3.7
	plotters-svg@0.3.7
	plotters@0.3.7
	png@0.18.1
	polling@3.11.0
	pollster@0.2.5
	pollster@0.4.0
	polycool@0.4.0
	portable-atomic-util@0.2.7
	portable-atomic@1.13.1
	postage@0.5.0
	potential_utf@0.1.5
	ppv-lite86@0.2.21
	presser@0.3.1
	prettyplease@0.2.37
	proc-macro-crate@3.5.0
	proc-macro-error-attr2@2.0.0
	proc-macro-error2@2.0.1
	proc-macro2@1.0.106
	prodash@31.0.0
	profiling-procmacros@1.0.18
	profiling@1.0.18
	proptest@1.11.0
	psm@0.1.31
	pulldown-cmark-escape@0.11.0
	pulldown-cmark@0.13.4
	pxfm@0.1.29
	qoi@0.4.1
	quick-error@1.2.3
	quick-error@2.0.1
	quick-xml@0.39.4
	quote@1.0.45
	r-efi@5.3.0
	r-efi@6.0.0
	rand@0.10.1
	rand@0.9.4
	rand_chacha@0.9.0
	rand_core@0.10.1
	rand_core@0.9.5
	rand_xorshift@0.4.0
	range-alloc@0.1.5
	rangemap@1.7.1
	rav1e@0.8.1
	ravif@0.13.0
	raw-window-handle@0.6.2
	raw-window-metal@1.1.0
	rayon-core@1.13.0
	rayon@1.12.0
	read-fonts@0.37.0
	redox_syscall@0.2.16
	redox_syscall@0.5.18
	redox_users@0.5.2
	ref-cast-impl@1.0.25
	ref-cast@1.0.25
	regex-automata@0.4.14
	regex-syntax@0.8.10
	regex@1.12.3
	renderdoc-sys@1.1.0
	resvg@0.47.0
	rgb@0.8.53
	roxmltree@0.20.0
	roxmltree@0.21.1
	rust-embed-impl@8.11.0
	rust-embed-utils@8.11.0
	rust-embed@8.11.0
	rustc-demangle@0.1.27
	rustc-hash@1.1.0
	rustc-hash@2.1.2
	rustc_version@0.4.1
	rustix@0.38.44
	rustix@1.1.4
	rustversion@1.0.22
	rusty-fork@0.3.1
	rustybuzz@0.20.1
	ryu@1.0.23
	same-file@1.0.6
	schemars@1.2.1
	schemars_derive@1.2.1
	scoped-tls@1.0.1
	scopeguard@1.2.0
	seahash@4.1.0
	self_cell@1.2.2
	semver@1.0.28
	serde@1.0.228
	serde_bytes@0.11.19
	serde_core@1.0.228
	serde_derive@1.0.228
	serde_derive_internals@0.29.1
	serde_fmt@1.1.0
	serde_json@1.0.150
	serde_json_lenient@0.2.4
	serde_repr@0.1.20
	serde_spanned@1.1.1
	serde_urlencoded@0.7.1
	sha1-checked@0.10.0
	sha1@0.10.6
	sha1_smol@1.0.1
	sha2@0.10.9
	shell-words@1.1.1
	shlex@1.3.0
	signal-hook-registry@1.4.8
	simd-adler32@0.3.9
	simd_helpers@0.1.0
	simplecss@0.2.2
	siphasher@1.0.3
	skrifa@0.40.0
	slab@0.4.12
	slotmap@1.1.1
	smallvec@1.15.1
	smol@2.0.2
	smol_str@0.3.6
	spin@0.10.0
	spin@0.9.8
	spirv@0.4.0+sdk-1.4.341.0
	stable_deref_trait@1.2.1
	stacker@0.1.24
	stacksafe-macro@1.0.1
	stacksafe@1.0.1
	static_assertions@1.1.0
	stats_alloc@0.1.10
	streaming-iterator@0.1.9
	strict-num@0.1.1
	strsim@0.11.1
	strum@0.28.0
	strum_macros@0.28.0
	subtle@2.6.1
	sval@2.19.0
	sval_buffer@2.19.0
	sval_dynamic@2.19.0
	sval_fmt@2.19.0
	sval_json@2.19.0
	sval_nested@2.19.0
	sval_ref@2.19.0
	sval_serde@2.19.0
	svgtypes@0.16.1
	swash@0.2.7
	syn@2.0.117
	synstructure@0.13.2
	sys-locale@0.3.2
	taffy@0.10.1
	take-until@0.2.0
	tempfile@3.27.0
	tendril@0.4.3
	termcolor@1.4.1
	thiserror-impl@1.0.69
	thiserror-impl@2.0.18
	thiserror@1.0.69
	thiserror@2.0.18
	tiff@0.11.3
	tiny-keccak@2.0.2
	tiny-skia-path@0.12.0
	tiny-skia@0.12.0
	tinystr@0.8.3
	tinytemplate@1.2.1
	tinyvec@1.11.0
	tinyvec_macros@0.1.1
	toml@0.9.12+spec-1.1.0
	toml@1.1.2+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.11+spec-1.1.0
	toml_parser@1.1.2+spec-1.1.0
	toml_writer@1.1.1+spec-1.1.0
	tracing-attributes@0.1.31
	tracing-core@0.1.36
	tracing@0.1.44
	tree-sitter-bash@0.25.1
	tree-sitter-bicep@1.1.0
	tree-sitter-c-sharp@0.23.5
	tree-sitter-c@0.24.2
	tree-sitter-css@0.25.0
	tree-sitter-dart@0.2.0
	tree-sitter-diff@0.1.0
	tree-sitter-fsharp@0.3.0
	tree-sitter-go@0.25.0
	tree-sitter-html@0.23.2
	tree-sitter-java@0.23.5
	tree-sitter-javascript@0.25.0
	tree-sitter-jsdoc@0.25.0
	tree-sitter-json@0.24.8
	tree-sitter-kotlin-sg@0.4.1
	tree-sitter-language@0.1.7
	tree-sitter-lua@0.5.0
	tree-sitter-make@1.1.1
	tree-sitter-objc@3.0.2
	tree-sitter-php@0.24.2
	tree-sitter-powershell@0.26.4
	tree-sitter-python@0.25.0
	tree-sitter-r@1.2.0
	tree-sitter-regex@0.25.0
	tree-sitter-ruby@0.23.1
	tree-sitter-rust@0.24.2
	tree-sitter-scala@0.26.0
	tree-sitter-sequel@0.3.11
	tree-sitter-swift@0.7.2
	tree-sitter-toml-ng@0.7.0
	tree-sitter-typescript@0.23.2
	tree-sitter-xml@0.7.0
	tree-sitter-yaml@0.7.2
	tree-sitter-zig@1.1.2
	tree-sitter@0.26.9
	ttf-parser@0.25.1
	typeid@1.0.3
	typenum@1.20.0
	uds_windows@1.2.1
	uluru@3.1.0
	unarray@0.1.4
	unicase@2.9.0
	unicode-bidi-mirroring@0.4.0
	unicode-bidi@0.3.18
	unicode-bom@2.0.3
	unicode-ccc@0.4.0
	unicode-ident@1.0.24
	unicode-linebreak@0.1.5
	unicode-normalization@0.1.25
	unicode-properties@0.1.4
	unicode-script@0.5.8
	unicode-segmentation@1.13.2
	unicode-vo@0.1.0
	unicode-width@0.2.2
	unicode-xid@0.2.6
	url@2.5.8
	usvg@0.47.0
	utf-8@0.7.6
	utf8_iter@1.0.4
	utf8parse@0.2.2
	util-gpui-unofficial@1.2.7
	uuid@1.23.1
	v_frame@0.3.9
	value-bag-serde1@1.12.0
	value-bag-sval2@1.12.0
	value-bag@1.12.0
	vcpkg@0.2.15
	version_check@0.9.5
	vswhom-sys@0.1.3
	vswhom@0.1.0
	wait-timeout@0.2.1
	waker-fn@1.2.0
	walkdir@2.5.0
	wasi@0.11.1+wasi-snapshot-preview1
	wasip2@1.0.3+wasi-0.2.9
	wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06
	wasm-bindgen-futures@0.4.72
	wasm-bindgen-macro-support@0.2.122
	wasm-bindgen-macro@0.2.122
	wasm-bindgen-shared@0.2.122
	wasm-bindgen@0.2.122
	wasm-encoder@0.244.0
	wasm-metadata@0.244.0
	wasmparser@0.244.0
	wayland-backend@0.3.15
	wayland-client@0.31.14
	wayland-cursor@0.31.14
	wayland-protocols-plasma@0.3.12
	wayland-protocols-wlr@0.3.12
	wayland-protocols@0.32.12
	wayland-scanner@0.31.10
	wayland-sys@0.31.11
	web-sys@0.3.99
	web-time@1.1.0
	weezl@0.1.12
	wgpu-core-deps-apple@29.0.3
	wgpu-core-deps-emscripten@29.0.3
	wgpu-core-deps-windows-linux-android@29.0.3
	wgpu-core@29.0.3
	wgpu-hal@29.0.3
	wgpu-naga-bridge@29.0.3
	wgpu-types@29.0.3
	wgpu@29.0.3
	which@6.0.3
	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
	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-numerics@0.3.1
	windows-registry@0.6.1
	windows-result@0.4.1
	windows-strings@0.5.1
	windows-sys@0.59.0
	windows-sys@0.61.2
	windows-targets@0.52.6
	windows-threading@0.2.1
	windows@0.62.2
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_msvc@0.52.6
	windows_i686_gnu@0.52.6
	windows_i686_gnullvm@0.52.6
	windows_i686_msvc@0.52.6
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_msvc@0.52.6
	winnow@0.7.15
	winnow@1.0.3
	winreg@0.55.0
	winsafe@0.0.19
	wio@0.2.2
	wit-bindgen-core@0.51.0
	wit-bindgen-rust-macro@0.51.0
	wit-bindgen-rust@0.51.0
	wit-bindgen@0.51.0
	wit-bindgen@0.57.1
	wit-component@0.244.0
	wit-parser@0.244.0
	writeable@0.6.3
	x11-clipboard@0.9.3
	x11rb-protocol@0.13.2
	x11rb@0.13.2
	xattr@0.2.3
	xcursor@0.3.10
	xkbcommon@0.9.0
	xkeysym@0.2.1
	xml-rs@0.8.28
	xmlwriter@0.1.0
	xxhash-rust@0.8.15
	y4m@0.8.0
	yazi@0.2.1
	yeslogic-fontconfig-sys@6.0.1
	yoke-derive@0.8.2
	yoke@0.8.2
	zbus@5.15.0
	zbus_macros@5.15.0
	zbus_names@4.3.2
	zeno@0.3.3
	zerocopy-derive@0.8.48
	zerocopy@0.8.48
	zerofrom-derive@0.1.7
	zerofrom@0.1.8
	zeroize@1.8.2
	zeroize_derive@1.4.3
	zerotrie@0.2.4
	zerovec-derive@0.11.3
	zerovec@0.11.6
	zlib-rs@0.6.3
	zmij@1.0.21
	zune-core@0.5.1
	zune-inflate@0.2.54
	zune-jpeg@0.5.15
	zvariant@5.11.0
	zvariant_derive@5.11.0
	zvariant_utils@3.3.1
"

declare -A GIT_CRATES=(
	[font-kit]='https://github.com/Havunen/font-kit;cc6f86949e40ef3a5e9b2063f8127cdcb72d7ac4;font-kit-%commit%'
	[gpui-ce-macros]='https://github.com/Havunen/gpui-ce;6d8a02e2e75b629b32ea0491f35fbc99e68b53a2;gpui-ce-%commit%/tooling/macros'
	[gpui-ce]='https://github.com/Havunen/gpui-ce;6d8a02e2e75b629b32ea0491f35fbc99e68b53a2;gpui-ce-%commit%'
	[tree-sitter-cpp]='https://github.com/tree-sitter/tree-sitter-cpp;5cb9b693cfd7bfacab1d9ff4acac1a4150700609;tree-sitter-cpp-%commit%'
	[tree-sitter-gitcommit]='https://github.com/zed-industries/tree-sitter-git-commit;88309716a69dd13ab83443721ba6e0b491d37ee9;tree-sitter-git-commit-%commit%'
	[tree-sitter-gomod]='https://github.com/camdencheek/tree-sitter-go-mod;2e886870578eeba1927a2dc4bd2e2b3f598c5f9a;tree-sitter-go-mod-%commit%'
	[tree-sitter-gowork]='https://github.com/zed-industries/tree-sitter-go-work;acb0617bf7f4fda02c6217676cc64acb89536dc7;tree-sitter-go-work-%commit%'
	[tree-sitter-md]='https://github.com/tree-sitter-grammars/tree-sitter-markdown;9a23c1a96c0513d8fc6520972beedd419a973539;tree-sitter-markdown-%commit%'
	[xim-ctext]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%/xim-ctext'
	[xim-parser]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%/xim-parser'
	[zed-xim]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%'
)

RUST_MIN_VER="1.95.0"

inherit cargo desktop wrapper xdg

MY_PN="GitComet"
MY_P=${MY_PN}-${PV}

DESCRIPTION="GitComet is user interface for GIT workflows"
HOMEPAGE="
	https://gitcomet.dev/
	https://github.com/Auto-Explore/GitComet
"
SRC_URI="
	https://github.com/Auto-Explore/GitComet/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

S="${WORKDIR}/${MY_P}/crates/${PN}"

LICENSE="AGPL-3"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
	CC0-1.0 ISC MIT MPL-2.0 UoI-NCSA Unicode-3.0 ZLIB BZIP2
"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="dev-libs/libgit2:="
RDEPEND=">=dev-vcs/git-2.50.1"

src_configure() {
	export LIBGIT2_NO_VENDOR=1
	local myfeatures=(
		ui
		gix
	)
	cargo_src_configure --bin gitcomet
}

src_install() {
	cargo_src_install

	dodir /usr/libexec/${PN}

	mv "${ED}/usr/bin/${PN}" "${ED}/usr/libexec/${PN}/" || die

	# prevents auto install of desktop & icons locally
	make_wrapper ${PN} "env GITCOMET_NO_DESKTOP_INSTALL=1 ${EPREFIX}/usr/libexec/${PN}/${PN}"

	cd "${WORKDIR}/${MY_P}" || die

	local DOCS=(
		README.md
		CONTRIBUTING.md
		NOTICE
		docs
	)

	einstalldocs

	domenu assets/linux/${PN}.desktop

	local x
	for x in 32 48 128 256 512; do
		doicon -s ${x} assets/linux/hicolor/${x}*/apps/*
	done

	newicon -s scalable assets/${PN}_logo.svg ${PN}.svg
}
