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

EAPI=8

CRATES="addr2line@0.24.2
	adler2@2.0.0
	allocator-api2@0.2.18
	anstream@0.6.15
	anstyle-parse@0.2.5
	anstyle-query@1.1.1
	anstyle-wincon@3.0.4
	anstyle@1.0.8
	anyhow@1.0.89
	autocfg@1.4.0
	backtrace@0.3.74
	bitflags@1.3.2
	bitflags@2.6.0
	cassowary@0.3.0
	castaway@0.2.3
	cfg-if@1.0.0
	clap@4.5.20
	clap_builder@4.5.20
	clap_lex@0.7.2
	colorchoice@1.0.2
	compact_str@0.8.0
	crossterm@0.28.1
	crossterm_winapi@0.9.1
	desed@1.2.2
	either@1.13.0
	equivalent@1.0.1
	errno@0.3.9
	foldhash@0.1.3
	futures-core@0.3.31
	gimli@0.31.1
	hashbrown@0.15.0
	heck@0.5.0
	hermit-abi@0.3.9
	inotify-sys@0.1.5
	inotify@0.10.2
	instability@0.3.2
	is_terminal_polyfill@1.70.1
	itertools@0.13.0
	itoa@1.0.11
	kqueue-sys@1.0.4
	kqueue@1.0.8
	libc@0.2.159
	linux-raw-sys@0.4.14
	lock_api@0.4.12
	log@0.4.22
	lru@0.12.5
	memchr@2.7.4
	miniz_oxide@0.8.0
	mio@1.0.2
	object@0.36.5
	parking_lot@0.12.3
	parking_lot_core@0.9.10
	paste@1.0.15
	pin-project-lite@0.2.14
	proc-macro2@1.0.87
	quote@1.0.37
	ratatui@0.28.1
	redox_syscall@0.5.7
	rustc-demangle@0.1.24
	rustix@0.38.37
	rustversion@1.0.18
	ryu@1.0.18
	scopeguard@1.2.0
	signal-hook-mio@0.2.4
	signal-hook-registry@1.4.2
	signal-hook@0.3.17
	smallvec@1.13.2
	socket2@0.5.7
	static_assertions@1.1.0
	strsim@0.11.1
	strum@0.26.3
	strum_macros@0.26.4
	syn@2.0.79
	tokio@1.40.0
	unicode-ident@1.0.13
	unicode-segmentation@1.12.0
	unicode-truncate@1.1.0
	unicode-width@0.1.14
	utf8parse@0.2.2
	wasi@0.11.0+wasi-snapshot-preview1
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-sys@0.52.0
	windows-targets@0.52.6
	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"

inherit cargo

DESCRIPTION="Debugger for Sed"
HOMEPAGE="https://github.com/SoptikHa2/desed"
SRC_URI="${CARGO_CRATE_URIS}"

LICENSE="Apache-2.0 GPL-3+ ISC MIT Unicode-DFS-2016 ZLIB"
SLOT="0"
KEYWORDS="~amd64"

QA_FLAGS_IGNORED="usr/bin/desed"

src_install() {
	einstalldocs
	doman desed.1
	cargo_src_install
}