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

# Auto-Generated by cargo-ebuild 0.5.4

EAPI=8

CRATES="
	adler-1.0.2
	aead-0.4.3
	aes-0.8.2
	ahash-0.7.6
	aho-corasick-0.7.20
	android_system_properties-0.1.5
	anyhow-1.0.68
	anymap2-0.13.0
	arboard-3.2.0
	arrayref-0.3.6
	arrayvec-0.7.2
	assign-1.1.1
	async-lock-2.6.0
	async-once-cell-0.3.1
	async-stream-0.3.3
	async-stream-impl-0.3.3
	async-trait-0.1.63
	atomic-0.5.1
	autocfg-1.1.0
	backoff-0.4.0
	base64-0.13.1
	base64-0.21.0
	base64ct-1.5.3
	bitflags-1.3.2
	blake3-1.3.3
	block-0.1.6
	block-buffer-0.9.0
	block-buffer-0.10.3
	block-padding-0.3.2
	bumpalo-3.12.0
	bytemuck-1.13.0
	byteorder-1.4.3
	bytes-1.3.0
	cassowary-0.3.0
	cbc-0.1.2
	cc-1.0.78
	cfg-if-1.0.0
	chacha20-0.8.2
	chacha20poly1305-0.9.1
	chrono-0.4.23
	cipher-0.3.0
	cipher-0.4.3
	clap-4.1.2
	clap_derive-4.1.0
	clap_lex-0.3.1
	clipboard-win-4.5.0
	codespan-reporting-0.11.1
	color_quant-1.1.0
	const-oid-0.7.1
	constant_time_eq-0.2.4
	convert_case-0.4.0
	core-foundation-0.9.3
	core-foundation-sys-0.8.3
	core-graphics-0.22.3
	core-graphics-types-0.1.1
	cpufeatures-0.2.5
	crc32fast-1.3.2
	crossbeam-channel-0.5.6
	crossbeam-epoch-0.9.13
	crossbeam-utils-0.8.14
	crossterm-0.25.0
	crossterm_winapi-0.9.0
	crypto-common-0.1.6
	css-color-parser-0.1.2
	ctr-0.9.2
	curve25519-dalek-3.2.1
	cxx-1.0.87
	cxx-build-1.0.87
	cxxbridge-flags-1.0.87
	cxxbridge-macro-1.0.87
	darling-0.14.2
	darling_core-0.14.2
	darling_macro-0.14.2
	dashmap-5.4.0
	der-0.5.1
	derive_builder-0.11.2
	derive_builder_core-0.11.2
	derive_builder_macro-0.11.2
	derive_more-0.99.17
	digest-0.9.0
	digest-0.10.6
	dirs-4.0.0
	dirs-sys-0.3.7
	discard-1.0.4
	displaydoc-0.2.3
	ed25519-1.5.3
	ed25519-dalek-1.0.1
	either-1.8.0
	emojis-0.5.2
	encoding_rs-0.8.31
	endian-type-0.1.2
	errno-0.2.8
	errno-dragonfly-0.1.2
	error-code-2.3.1
	event-listener-2.5.3
	fastrand-1.8.0
	flate2-1.0.25
	fnv-1.0.7
	foreign-types-0.3.2
	foreign-types-shared-0.1.1
	form_urlencoded-1.1.0
	fs2-0.4.3
	fs_extra-1.2.0
	futf-0.1.5
	futures-0.3.25
	futures-channel-0.3.25
	futures-core-0.3.25
	futures-executor-0.3.25
	futures-io-0.3.25
	futures-lite-1.12.0
	futures-macro-0.3.25
	futures-signals-0.3.31
	futures-sink-0.3.25
	futures-task-0.3.25
	futures-util-0.3.25
	fxhash-0.2.1
	generic-array-0.14.6
	gethostname-0.2.3
	gethostname-0.4.1
	getrandom-0.1.16
	getrandom-0.2.8
	h2-0.3.15
	hashbrown-0.12.3
	heck-0.4.0
	hermit-abi-0.2.6
	hkdf-0.12.3
	hmac-0.12.1
	html5ever-0.26.0
	http-0.2.8
	http-body-0.4.5
	httparse-1.8.0
	httpdate-1.0.2
	hyper-0.14.23
	hyper-rustls-0.23.2
	iana-time-zone-0.1.53
	iana-time-zone-haiku-0.1.1
	ident_case-1.0.1
	idna-0.3.0
	image-0.24.5
	indexed_db_futures-0.2.3
	indexmap-1.9.2
	inout-0.1.3
	instant-0.1.12
	intervaltree-0.2.7
	io-lifetimes-1.0.4
	ipnet-2.7.1
	is-terminal-0.4.2
	itertools-0.10.5
	itoa-1.0.5
	jpeg-decoder-0.3.0
	js-sys-0.3.60
	js_int-0.2.2
	js_option-0.1.1
	lazy_static-0.1.16
	lazy_static-1.4.0
	libc-0.2.139
	link-cplusplus-1.0.8
	linux-raw-sys-0.1.4
	lock_api-0.4.9
	log-0.4.17
	lru-0.8.1
	mac-0.1.1
	malloc_buf-0.0.6
	maplit-1.0.2
	markup5ever-0.11.0
	markup5ever_rcdom-0.2.0
	matrix-sdk-0.6.2
	matrix-sdk-base-0.6.1
	matrix-sdk-common-0.6.0
	matrix-sdk-crypto-0.6.0
	matrix-sdk-indexeddb-0.2.0
	matrix-sdk-sled-0.2.0
	matrix-sdk-store-encryption-0.2.0
	memchr-2.5.0
	memoffset-0.6.5
	memoffset-0.7.1
	mime-0.3.16
	mime_guess-2.0.4
	minimal-lexical-0.2.1
	miniz_oxide-0.6.2
	mio-0.8.5
	modalkit-0.0.14
	new_debug_unreachable-1.0.4
	nibble_vec-0.1.0
	nix-0.24.3
	nom-7.1.3
	nu-ansi-term-0.46.0
	num-integer-0.1.45
	num-rational-0.4.1
	num-traits-0.2.15
	num_cpus-1.15.0
	objc-0.2.7
	objc-foundation-0.1.1
	objc_id-0.1.1
	once_cell-1.17.0
	opaque-debug-0.3.0
	open-3.2.0
	os_str_bytes-6.4.1
	overload-0.1.1
	parking-2.0.0
	parking_lot-0.11.2
	parking_lot-0.12.1
	parking_lot_core-0.8.6
	parking_lot_core-0.9.6
	password-hash-0.4.2
	pathdiff-0.2.1
	pbkdf2-0.11.0
	percent-encoding-2.2.0
	phf-0.10.1
	phf-0.11.1
	phf_codegen-0.10.0
	phf_generator-0.10.0
	phf_shared-0.10.0
	phf_shared-0.11.1
	pin-project-1.0.12
	pin-project-internal-1.0.12
	pin-project-lite-0.2.9
	pin-utils-0.1.0
	pkcs7-0.3.0
	png-0.17.7
	poly1305-0.7.2
	ppv-lite86-0.2.17
	precomputed-hash-0.1.1
	proc-macro-crate-1.2.1
	proc-macro-error-1.0.4
	proc-macro-error-attr-1.0.4
	proc-macro2-1.0.50
	prost-0.11.6
	prost-derive-0.11.6
	pulldown-cmark-0.9.2
	quote-1.0.23
	radix_trie-0.2.1
	rand-0.7.3
	rand-0.8.5
	rand_chacha-0.2.2
	rand_chacha-0.3.1
	rand_core-0.5.1
	rand_core-0.6.4
	rand_hc-0.2.0
	redox_syscall-0.2.16
	redox_users-0.4.3
	regex-1.7.1
	regex-syntax-0.6.28
	reqwest-0.11.14
	ring-0.16.20
	ropey-1.5.1
	rpassword-7.2.0
	rtoolbox-0.0.1
	ruma-0.7.4
	ruma-client-api-0.15.3
	ruma-common-0.10.5
	ruma-federation-api-0.6.0
	ruma-identifiers-validation-0.9.0
	ruma-macros-0.10.5
	rustc_version-0.4.0
	rustix-0.36.7
	rustls-0.20.8
	rustls-pemfile-1.0.2
	ryu-1.0.12
	scopeguard-1.1.0
	scratch-1.0.3
	sct-0.7.0
	semver-1.0.16
	serde-1.0.152
	serde_bytes-0.11.8
	serde_derive-1.0.152
	serde_json-1.0.91
	serde_urlencoded-0.7.1
	sha2-0.9.9
	sha2-0.10.6
	sharded-slab-0.1.4
	signal-hook-0.3.14
	signal-hook-mio-0.2.3
	signal-hook-registry-1.4.0
	signature-1.6.4
	siphasher-0.3.10
	slab-0.4.7
	sled-0.34.7
	smallvec-1.10.0
	socket2-0.4.7
	spin-0.5.2
	spki-0.5.4
	str-buf-1.0.6
	str_indices-0.4.1
	string_cache-0.8.4
	string_cache_codegen-0.5.2
	strsim-0.10.0
	subtle-2.4.1
	syn-1.0.107
	synstructure-0.12.6
	tendril-0.4.3
	termcolor-1.2.0
	thiserror-1.0.38
	thiserror-impl-1.0.38
	thread_local-1.1.4
	tiff-0.8.1
	time-0.1.45
	time-0.3.17
	time-core-0.1.0
	time-macros-0.2.6
	tinyvec-1.6.0
	tinyvec_macros-0.1.0
	tokio-1.24.2
	tokio-macros-1.8.2
	tokio-rustls-0.23.4
	tokio-util-0.7.4
	toml-0.5.11
	tower-service-0.3.2
	tracing-0.1.37
	tracing-appender-0.2.2
	tracing-attributes-0.1.23
	tracing-core-0.1.30
	tracing-log-0.1.3
	tracing-subscriber-0.3.16
	try-lock-0.2.4
	tui-0.19.0
	typenum-1.16.0
	unicase-2.6.0
	unicode-bidi-0.3.10
	unicode-ident-1.0.6
	unicode-normalization-0.1.22
	unicode-segmentation-1.10.0
	unicode-width-0.1.10
	unicode-xid-0.2.4
	universal-hash-0.4.1
	untrusted-0.7.1
	url-2.3.1
	utf-8-0.7.6
	uuid-0.8.2
	uuid-1.2.2
	valuable-0.1.0
	version_check-0.9.4
	vodozemac-0.3.0
	waker-fn-1.1.0
	want-0.3.0
	wasi-0.9.0+wasi-snapshot-preview1
	wasi-0.10.0+wasi-snapshot-preview1
	wasi-0.11.0+wasi-snapshot-preview1
	wasm-bindgen-0.2.83
	wasm-bindgen-backend-0.2.83
	wasm-bindgen-futures-0.4.33
	wasm-bindgen-macro-0.2.83
	wasm-bindgen-macro-support-0.2.83
	wasm-bindgen-shared-0.2.83
	wasm-timer-0.2.5
	web-sys-0.3.60
	webpki-0.22.0
	webpki-roots-0.22.6
	weezl-0.1.7
	wildmatch-2.1.1
	winapi-0.3.9
	winapi-i686-pc-windows-gnu-0.4.0
	winapi-util-0.1.5
	winapi-wsapoll-0.1.1
	winapi-x86_64-pc-windows-gnu-0.4.0
	windows-0.43.0
	windows-sys-0.42.0
	windows_aarch64_gnullvm-0.42.1
	windows_aarch64_msvc-0.42.1
	windows_i686_gnu-0.42.1
	windows_i686_msvc-0.42.1
	windows_x86_64_gnu-0.42.1
	windows_x86_64_gnullvm-0.42.1
	windows_x86_64_msvc-0.42.1
	winreg-0.10.1
	x11rb-0.10.1
	x11rb-protocol-0.10.0
	x25519-dalek-1.2.0
	xml5ever-0.17.0
	zeroize-1.3.0
	zeroize_derive-1.3.3
"

inherit cargo

DESCRIPTION="A Matrix chat client that uses Vim keybindings"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/ulyssa/iamb"
SRC_URI="https://github.com/ulyssa/${PN}/archive/refs/tags/v${PV}.tar.gz $(cargo_crate_uris)"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MIT-0 MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
KEYWORDS="~amd64"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

# rust does not use *FLAGS from make.conf, silence portage warning
# update with proper path to binaries this crate installs, omit leading /
QA_FLAGS_IGNORED="usr/bin/${PN}"