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

EAPI=8

CRATES="
	adler2@2.0.1
	aho-corasick@1.1.4
	aligned-vec@0.5.0
	allocator-api2@0.2.21
	android_system_properties@0.1.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.102
	approx@0.5.1
	assert_matches@1.5.0
	auto_impl@1.3.0
	autocfg@1.5.0
	base16@0.2.1
	base64@0.22.1
	bincode@1.3.3
	bindgen@0.72.1
	bit-set@0.8.0
	bit-vec@0.8.0
	bitflags@1.3.2
	bitflags@2.11.1
	block-buffer@0.10.4
	bumpalo@3.20.2
	byteorder@1.5.0
	bytes@1.11.1
	bytesize@1.3.3
	bzip2-sys@0.1.13+1.0.8
	bzip2@0.6.1
	cassowary@0.3.0
	castaway@0.2.4
	cc@1.2.62
	cexpr@0.6.0
	cfg-if@1.0.4
	cfg_aliases@0.2.1
	chrono@0.4.44
	clang-sys@1.8.1
	clap@4.6.1
	clap_builder@4.6.0
	clap_derive@4.6.1
	clap_lex@1.1.0
	colorchoice@1.0.5
	compact_str@0.7.1
	console@0.15.11
	convert_case@0.4.0
	core-foundation-sys@0.8.7
	cpufeatures@0.2.17
	crc32fast@1.5.0
	crossterm@0.25.0
	crossterm@0.27.0
	crossterm_winapi@0.9.1
	crypto-common@0.1.7
	derive-ex@0.1.8
	derive_more@0.99.20
	diff@0.1.13
	digest@0.10.7
	dyn-clone@1.0.20
	either@1.15.0
	encode_unicode@1.0.0
	equivalent@1.0.2
	errno@0.3.14
	fastrand@2.4.1
	find-msvc-tools@0.1.9
	flate2@1.1.9
	fnv@1.0.7
	foldhash@0.1.5
	format-bytes-macros@0.4.0
	format-bytes@0.3.0
	futures-channel@0.3.32
	futures-core@0.3.32
	futures-executor@0.3.32
	futures-io@0.3.32
	futures-macro@0.3.32
	futures-sink@0.3.32
	futures-task@0.3.32
	futures-timer@3.0.3
	futures-util@0.3.32
	futures@0.3.32
	fxhash@0.2.1
	generic-array@0.14.7
	getrandom@0.2.17
	getrandom@0.3.4
	getrandom@0.4.2
	glob@0.3.3
	hashbrown@0.15.5
	hashbrown@0.17.1
	heck@0.5.0
	hermit-abi@0.5.2
	home@0.5.12
	iana-time-zone-haiku@0.1.2
	iana-time-zone@0.1.65
	id-arena@2.3.0
	indexmap@2.14.0
	indicatif@0.17.11
	inquire@0.7.5
	is-terminal@0.4.17
	is_terminal_polyfill@1.70.2
	itertools@0.12.1
	itertools@0.13.0
	itoa@1.0.18
	js-sys@0.3.98
	lazy_static@1.5.0
	leb128fmt@0.1.0
	libbz2-rs-sys@0.2.5
	libc@0.2.186
	libloading@0.8.9
	linux-raw-sys@0.12.1
	linux-raw-sys@0.4.15
	lock_api@0.4.14
	lockfree@0.5.1
	log@0.4.29
	lru@0.12.5
	lz4_flex@0.11.6
	lzma-sys@0.1.20
	matchers@0.2.0
	md-5@0.10.6
	memchr@2.8.0
	minimal-lexical@0.2.1
	miniz_oxide@0.8.9
	mio@0.8.11
	mio@1.2.0
	newline-converter@0.3.0
	nix@0.31.3
	nom@7.1.3
	nu-ansi-term@0.50.3
	num-traits@0.2.19
	number_prefix@0.4.0
	once_cell@1.21.4
	once_cell_polyfill@1.70.2
	owned-alloc@0.2.0
	parking_lot@0.12.5
	parking_lot_core@0.9.12
	paste@1.0.15
	pin-project-lite@0.2.17
	pkg-config@0.3.33
	portable-atomic@1.13.1
	ppv-lite86@0.2.21
	pretty_assertions@1.4.1
	prettyplease@0.2.37
	proc-macro2@1.0.106
	process_path@0.1.4
	proptest@1.11.0
	quick-error@1.2.3
	quote@1.0.45
	r-efi@5.3.0
	r-efi@6.0.0
	rand@0.8.6
	rand@0.9.4
	rand_chacha@0.3.1
	rand_chacha@0.9.0
	rand_core@0.6.4
	rand_core@0.9.5
	rand_xorshift@0.4.0
	ratatui@0.26.3
	redox_syscall@0.5.18
	regex-automata@0.4.14
	regex-syntax@0.8.10
	regex@1.12.3
	relative-path@1.9.3
	rstest@0.19.0
	rstest_macros@0.19.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
	ruzstd@0.6.0
	ryu@1.0.23
	scopeguard@1.2.0
	semver@1.0.28
	serde@1.0.228
	serde_core@1.0.228
	serde_derive@1.0.228
	serde_json@1.0.149
	sha1@0.10.6
	sha2@0.10.9
	sharded-slab@0.1.7
	shell-words@1.1.1
	shlex@1.3.0
	signal-hook-mio@0.2.5
	signal-hook-registry@1.4.8
	signal-hook@0.3.18
	simd-adler32@0.3.9
	slab@0.4.12
	smallvec@1.15.1
	stability@0.2.1
	static_assertions@1.1.0
	strsim@0.11.1
	structmeta-derive@0.3.0
	structmeta@0.3.0
	strum@0.26.3
	strum_macros@0.26.4
	syn@1.0.109
	syn@2.0.117
	tempfile@3.27.0
	terminal_size@0.4.4
	test-case-core@3.3.1
	test-case-macros@3.3.1
	test-case@3.3.1
	test-strategy@0.4.5
	thiserror-impl@1.0.69
	thiserror@1.0.69
	thread_local@1.1.9
	tokio-macros@2.7.0
	tokio-stream@0.1.18
	tokio@1.52.3
	tracing-attributes@0.1.31
	tracing-core@0.1.36
	tracing-log@0.2.0
	tracing-panic@0.1.2
	tracing-subscriber@0.3.23
	tracing-unwrap@1.0.1
	tracing@0.1.44
	twox-hash@2.1.2
	typenum@1.20.0
	uname@0.1.1
	unarray@0.1.4
	unicode-ident@1.0.24
	unicode-segmentation@1.13.2
	unicode-truncate@1.1.0
	unicode-width@0.1.14
	unicode-xid@0.2.6
	utf8parse@0.2.2
	valuable@0.1.1
	version_check@0.9.5
	wait-timeout@0.2.1
	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-macro-support@0.2.121
	wasm-bindgen-macro@0.2.121
	wasm-bindgen-shared@0.2.121
	wasm-bindgen@0.2.121
	wasm-encoder@0.244.0
	wasm-metadata@0.244.0
	wasmparser@0.244.0
	web-time@1.1.0
	which@6.0.3
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-core@0.62.2
	windows-implement@0.60.2
	windows-interface@0.59.3
	windows-link@0.2.1
	windows-result@0.4.1
	windows-strings@0.5.1
	windows-sys@0.48.0
	windows-sys@0.59.0
	windows-sys@0.61.2
	windows-targets@0.48.5
	windows-targets@0.52.6
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_msvc@0.48.5
	windows_aarch64_msvc@0.52.6
	windows_i686_gnu@0.48.5
	windows_i686_gnu@0.52.6
	windows_i686_gnullvm@0.52.6
	windows_i686_msvc@0.48.5
	windows_i686_msvc@0.52.6
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_msvc@0.48.5
	windows_x86_64_msvc@0.52.6
	winsafe@0.0.19
	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
	xz2@0.1.7
	yansi@1.0.1
	zerocopy-derive@0.8.48
	zerocopy@0.8.48
	zmij@1.0.21
"

RUST_MIN_VER="1.97.1"

inherit cargo

DESCRIPTION="A user-friendly, lightweight TUI for disk imaging"
HOMEPAGE="https://github.com/ifd3f/caligula"
SRC_URI="
	https://github.com/ifd3f/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"
LICENSE="GPL-3"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD CC0-1.0 ISC MIT Unicode-3.0 ZLIB BZIP2"
SLOT="0"
KEYWORDS="~amd64"
