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

# Autogenerated by pycargoebuild 0.15.0

EAPI=8

CRATES="
	addr2line@0.25.1
	adler2@2.0.1
	android_system_properties@0.1.5
	ansi-str@0.9.0
	ansitok@0.3.0
	anstream@0.6.20
	anstyle-parse@0.2.7
	anstyle-query@1.1.4
	anstyle-wincon@3.0.10
	anstyle@1.0.11
	anyhow@1.0.100
	arrayvec@0.7.6
	atomic-waker@1.1.2
	autocfg@1.5.0
	backtrace@0.3.76
	base64@0.22.1
	base64ct@1.8.0
	bitflags@1.3.2
	bitflags@2.9.4
	bumpalo@3.19.0
	byteorder@1.5.0
	bytes@1.10.1
	cc@1.2.39
	cesu8@1.1.0
	cfg-if@1.0.3
	chrono@0.4.42
	clap@4.5.48
	clap_builder@4.5.48
	clap_complete@4.5.58
	clap_derive@4.5.47
	clap_lex@0.7.5
	colorchoice@1.0.4
	combine@4.6.7
	comfy-table@7.2.1
	config@0.15.17
	console@0.16.1
	core-foundation-sys@0.8.7
	core-foundation@0.10.1
	core-foundation@0.9.4
	crossterm@0.25.0
	crossterm@0.29.0
	crossterm_winapi@0.9.1
	deranged@0.5.4
	derive-new@0.7.0
	dirs-sys@0.5.0
	dirs@6.0.0
	displaydoc@0.2.5
	document-features@0.2.11
	dyn-clone@1.0.20
	either@1.15.0
	encode_unicode@1.0.0
	encoding_rs@0.8.35
	equivalent@1.0.2
	errno@0.3.14
	fastrand@2.3.0
	find-msvc-tools@0.1.2
	fnv@1.0.7
	foreign-types-shared@0.1.1
	foreign-types@0.3.2
	forgejo-api@0.7.0
	form_urlencoded@1.2.2
	futures-channel@0.3.31
	futures-core@0.3.31
	futures-sink@0.3.31
	futures-task@0.3.31
	futures-util@0.3.31
	fxhash@0.2.1
	getrandom@0.2.16
	getrandom@0.3.3
	gimli@0.32.3
	git2@0.20.2
	h2@0.4.12
	hashbrown@0.16.0
	heck@0.5.0
	http-body-util@0.1.3
	http-body@1.0.1
	http@1.3.1
	httparse@1.10.1
	hyper-rustls@0.27.7
	hyper-tls@0.6.0
	hyper-util@0.1.17
	hyper@1.7.0
	iana-time-zone-haiku@0.1.2
	iana-time-zone@0.1.64
	icu_collections@2.0.0
	icu_locale_core@2.0.0
	icu_normalizer@2.0.0
	icu_normalizer_data@2.0.0
	icu_properties@2.0.1
	icu_properties_data@2.0.1
	icu_provider@2.0.0
	idna@1.1.0
	idna_adapter@1.2.1
	indexmap@2.11.4
	indicatif@0.18.0
	inquire@0.7.5
	insta@1.43.2
	io-uring@0.7.10
	ipnet@2.11.0
	iri-string@0.7.8
	is_terminal_polyfill@1.70.1
	itertools@0.14.0
	itoa@1.0.15
	jni-sys@0.3.0
	jni@0.21.1
	jobserver@0.1.34
	js-sys@0.3.81
	lazy_static@1.5.0
	libc@0.2.176
	libgit2-sys@0.18.2+1.9.1
	libredox@0.1.10
	libz-sys@1.1.22
	linux-raw-sys@0.11.0
	litemap@0.8.0
	litrs@0.4.2
	lock_api@0.4.13
	log@0.4.28
	memchr@2.7.6
	mime@0.3.17
	mime_guess@2.0.5
	minimal-lexical@0.2.1
	miniz_oxide@0.8.9
	mio@0.8.11
	mio@1.0.4
	native-tls@0.2.14
	ndk-context@0.1.1
	newline-converter@0.3.0
	nom@7.1.3
	num-conv@0.1.0
	num-traits@0.2.19
	objc2-encode@4.1.0
	objc2-foundation@0.3.1
	objc2@0.6.2
	object@0.37.3
	once_cell@1.21.3
	once_cell_polyfill@1.70.1
	openssl-macros@0.1.1
	openssl-probe@0.1.6
	openssl-sys@0.9.109
	openssl@0.10.73
	option-ext@0.2.0
	parking_lot@0.12.4
	parking_lot_core@0.9.11
	pathdiff@0.2.3
	percent-encoding@2.3.2
	pin-project-lite@0.2.16
	pin-utils@0.1.0
	pkg-config@0.3.32
	portable-atomic@1.11.1
	potential_utf@0.1.3
	powerfmt@0.2.0
	proc-macro2@1.0.101
	quote@1.0.40
	r-efi@5.3.0
	redox_syscall@0.5.17
	redox_users@0.5.2
	reqwest@0.12.23
	ring@0.17.14
	rustc-demangle@0.1.26
	rustix@1.1.2
	rustls-pki-types@1.12.0
	rustls-webpki@0.103.6
	rustls@0.23.32
	rustversion@1.0.22
	ryu@1.0.20
	same-file@1.0.6
	schannel@0.1.28
	scopeguard@1.2.0
	security-framework-sys@2.15.0
	security-framework@2.11.1
	serde@1.0.227
	serde_core@1.0.227
	serde_derive@1.0.227
	serde_json@1.0.145
	serde_spanned@1.0.2
	serde_urlencoded@0.7.1
	sharded-slab@0.1.7
	shlex@1.3.0
	signal-hook-mio@0.2.4
	signal-hook-registry@1.4.6
	signal-hook@0.3.18
	similar@2.7.0
	slab@0.4.11
	smallvec@1.15.1
	socket2@0.6.0
	soft_assert@0.1.1
	stable_deref_trait@1.2.0
	strsim@0.11.1
	strum@0.27.2
	strum_macros@0.27.2
	subtle@2.6.1
	syn@2.0.106
	sync_wrapper@1.0.2
	synstructure@0.13.2
	system-configuration-sys@0.6.0
	system-configuration@0.6.1
	tempfile@3.23.0
	terminal_size@0.4.3
	termsize@0.1.9
	thiserror-impl@1.0.69
	thiserror-impl@2.0.16
	thiserror@1.0.69
	thiserror@2.0.16
	thread_local@1.1.9
	time-core@0.1.6
	time-macros@0.2.24
	time@0.3.44
	tinystr@0.8.1
	tokio-macros@2.5.0
	tokio-native-tls@0.3.1
	tokio-rustls@0.26.4
	tokio-util@0.7.16
	tokio@1.47.1
	toml@0.9.7
	toml_datetime@0.7.2
	toml_parser@1.0.3
	toml_writer@1.0.3
	tower-http@0.6.6
	tower-layer@0.3.3
	tower-service@0.3.3
	tower@0.5.2
	tracing-core@0.1.34
	tracing-subscriber@0.3.20
	tracing@0.1.41
	try-lock@0.2.5
	unicase@2.8.1
	unicode-ident@1.0.19
	unicode-segmentation@1.12.0
	unicode-width@0.1.14
	unicode-width@0.2.1
	unit-prefix@0.5.1
	untrusted@0.9.0
	url@2.5.7
	utf8_iter@1.0.4
	utf8parse@0.2.2
	vcpkg@0.2.15
	vte@0.14.1
	walkdir@2.5.0
	want@0.3.1
	wasi@0.11.1+wasi-snapshot-preview1
	wasi@0.14.7+wasi-0.2.4
	wasip2@1.0.1+wasi-0.2.4
	wasm-bindgen-backend@0.2.104
	wasm-bindgen-futures@0.4.54
	wasm-bindgen-macro-support@0.2.104
	wasm-bindgen-macro@0.2.104
	wasm-bindgen-shared@0.2.104
	wasm-bindgen@0.2.104
	web-sys@0.3.81
	web-time@1.1.0
	webbrowser@1.0.5
	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-core@0.62.1
	windows-implement@0.60.1
	windows-interface@0.59.2
	windows-link@0.1.3
	windows-link@0.2.0
	windows-registry@0.5.3
	windows-result@0.3.4
	windows-result@0.4.0
	windows-strings@0.4.2
	windows-strings@0.5.0
	windows-sys@0.45.0
	windows-sys@0.48.0
	windows-sys@0.52.0
	windows-sys@0.59.0
	windows-sys@0.60.2
	windows-sys@0.61.1
	windows-targets@0.42.2
	windows-targets@0.48.5
	windows-targets@0.52.6
	windows-targets@0.53.4
	windows_aarch64_gnullvm@0.42.2
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_gnullvm@0.53.0
	windows_aarch64_msvc@0.42.2
	windows_aarch64_msvc@0.48.5
	windows_aarch64_msvc@0.52.6
	windows_aarch64_msvc@0.53.0
	windows_i686_gnu@0.42.2
	windows_i686_gnu@0.48.5
	windows_i686_gnu@0.52.6
	windows_i686_gnu@0.53.0
	windows_i686_gnullvm@0.52.6
	windows_i686_gnullvm@0.53.0
	windows_i686_msvc@0.42.2
	windows_i686_msvc@0.48.5
	windows_i686_msvc@0.52.6
	windows_i686_msvc@0.53.0
	windows_x86_64_gnu@0.42.2
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnu@0.53.0
	windows_x86_64_gnullvm@0.42.2
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_gnullvm@0.53.0
	windows_x86_64_msvc@0.42.2
	windows_x86_64_msvc@0.48.5
	windows_x86_64_msvc@0.52.6
	windows_x86_64_msvc@0.53.0
	winnow@0.7.13
	wit-bindgen@0.46.0
	writeable@0.6.1
	yoke-derive@0.8.0
	yoke@0.8.0
	zerofrom-derive@0.1.6
	zerofrom@0.1.6
	zeroize@1.8.1
	zerotrie@0.2.2
	zerovec-derive@0.11.1
	zerovec@0.11.4
"

inherit cargo

DESCRIPTION="CLI Tool for codeberg similar to gh and glab"
HOMEPAGE="https://codeberg.org/Aviac/codeberg-cli"
SRC_URI="
	${CARGO_CRATE_URIS}
	https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate
"
DEPEND="
	dev-libs/openssl:=
"
RDEPEND="${DEPEND}"


LICENSE="AGPL-3+"
# Dependent crate licenses
LICENSE+=" Apache-2.0 BSD ISC MIT MPL-2.0 Unicode-3.0"
SLOT="0"
KEYWORDS="~amd64"
RUST_MIN_VERSION="1.85.0"