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

# Autogenerated by pycargoebuild 0.10

EAPI=8

CRATES="
	adler2@2.0.0
	ahash@0.7.8
	android-tzdata@0.1.1
	android_system_properties@0.1.5
	ansi_term@0.12.1
	atty@0.2.14
	autocfg@1.3.0
	base64@0.22.1
	bitflags@1.3.2
	bumpalo@3.16.0
	byteorder@1.5.0
	cc@1.1.18
	cfg-if@1.0.0
	chrono@0.4.38
	clap@2.34.0
	core-foundation-sys@0.8.7
	crc32fast@1.4.2
	crossbeam-utils@0.8.20
	flate2@1.0.33
	form_urlencoded@1.2.1
	fs2@0.4.3
	fuchsia-cprng@0.1.1
	gcc@0.3.55
	getrandom@0.2.15
	hashbrown@0.12.3
	hermit-abi@0.1.19
	hermit-abi@0.3.9
	hex@0.4.3
	iana-time-zone-haiku@0.1.2
	iana-time-zone@0.1.60
	idna@0.5.0
	jobserver@0.1.32
	js-sys@0.3.70
	lazy_static@1.5.0
	libc@0.2.158
	log@0.4.22
	miniz_oxide@0.8.0
	num-traits@0.2.19
	num_cpus@1.16.0
	once_cell@1.19.0
	paste@1.0.15
	percent-encoding@2.3.1
	ppv-lite86@0.2.20
	proc-macro2@1.0.86
	quote@1.0.37
	rand@0.3.23
	rand@0.4.6
	rand@0.8.5
	rand_chacha@0.3.1
	rand_core@0.3.1
	rand_core@0.4.2
	rand_core@0.6.4
	rdrand@0.4.0
	ring@0.17.8
	rmp-serde@0.15.5
	rmp@0.8.14
	rust-crypto@0.2.36
	rustc-serialize@0.3.25
	rustls-pki-types@1.8.0
	rustls-webpki@0.102.8
	rustls@0.23.13
	same-file@1.0.6
	serde@1.0.210
	serde_derive@1.0.210
	shlex@1.3.0
	spin@0.9.8
	strsim@0.8.0
	subtle@2.6.1
	syn@2.0.77
	textwrap@0.11.0
	time@0.1.45
	tinyvec@1.8.0
	tinyvec_macros@0.1.1
	unicode-bidi@0.3.15
	unicode-ident@1.0.13
	unicode-normalization@0.1.23
	unicode-width@0.1.13
	untrusted@0.9.0
	ureq@2.10.1
	url@2.5.2
	vec_map@0.8.2
	version_check@0.9.5
	walkdir@2.5.0
	wasi@0.10.0+wasi-snapshot-preview1
	wasi@0.11.0+wasi-snapshot-preview1
	wasm-bindgen-backend@0.2.93
	wasm-bindgen-macro-support@0.2.93
	wasm-bindgen-macro@0.2.93
	wasm-bindgen-shared@0.2.93
	wasm-bindgen@0.2.93
	webpki-roots@0.26.5
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.9
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-core@0.52.0
	windows-sys@0.52.0
	windows-sys@0.59.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
	zerocopy-derive@0.7.35
	zerocopy@0.7.35
	zeroize@1.8.1
	zstd-safe@4.1.3+zstd.1.5.1
	zstd-sys@1.6.2+zstd.1.5.1
	zstd@0.9.2+zstd.1.5.1
"

inherit cargo

ELFSHAKER_COMMIT="244b4cf57cd6fbfb8b615cc53df53d9d3dddfc9f"
DESCRIPTION="Stores binary objects efficiently"
HOMEPAGE="https://github.com/elfshaker/elfshaker"
SRC_URI="
	https://github.com/elfshaker/elfshaker/archive/${ELFSHAKER_COMMIT}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"
S="${WORKDIR}"/${PN}-${ELFSHAKER_COMMIT}

LICENSE="Apache-2.0"
# Dependent crate licenses
LICENSE+=" Apache-2.0 ISC MIT MPL-2.0 Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64"

QA_FLAGS_IGNORED="usr/bin/elfshaker"