# Copyright 2024-2026 JacksonChen666
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.1

EAPI=8

CRATES="
	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.104
	arrayref@0.3.9
	arrayvec@0.7.8
	bitflags@2.13.1
	cc@1.4.0
	cfg-if@1.0.4
	clap@4.6.5
	clap_builder@4.6.5
	clap_derive@4.6.4
	clap_lex@1.1.0
	colorchoice@1.0.5
	constant_time_eq@0.4.2
	cpufeatures@0.3.0
	crossbeam-deque@0.8.7
	crossbeam-epoch@0.9.20
	crossbeam-utils@0.8.22
	duct@1.1.1
	errno@0.3.14
	fastrand@2.5.0
	find-msvc-tools@0.1.9
	getrandom@0.4.3
	glob@0.3.4
	heck@0.5.0
	hex@0.4.3
	is_terminal_polyfill@1.70.2
	libc@0.2.189
	linux-raw-sys@0.12.1
	memmap2@0.9.11
	once_cell@1.21.4
	once_cell_polyfill@1.70.2
	os_pipe@1.2.3
	proc-macro2@1.0.107
	quote@1.0.47
	r-efi@6.0.0
	rayon-core@1.13.0
	rustix@1.1.4
	shared_child@1.1.1
	shared_thread@0.2.0
	shlex@2.0.1
	sigchld@0.2.4
	signal-hook-registry@1.4.8
	signal-hook@0.3.18
	strsim@0.11.1
	syn@3.0.3
	tempfile@3.27.0
	terminal_size@0.4.4
	unicode-ident@1.0.24
	utf8parse@0.2.2
	wild@2.2.1
	windows-link@0.2.1
	windows-sys@0.60.2
	windows-sys@0.61.2
	windows-targets@0.53.5
	windows_aarch64_gnullvm@0.53.1
	windows_aarch64_msvc@0.53.1
	windows_i686_gnu@0.53.1
	windows_i686_gnullvm@0.53.1
	windows_i686_msvc@0.53.1
	windows_x86_64_gnu@0.53.1
	windows_x86_64_gnullvm@0.53.1
	windows_x86_64_msvc@0.53.1
"

RUST_MIN_VER="1.85.0"
inherit cargo

DESCRIPTION="Command line implementation of the BLAKE3 hash function"
HOMEPAGE="https://github.com/BLAKE3-team/BLAKE3"
SRC_URI="
	https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/${PV}.tar.gz -> blake3-${PV}.tar.gz
	${CARGO_CRATE_URIS}
"
S="${WORKDIR}/BLAKE3-${PV}/b3sum/"

LICENSE="|| ( Apache-2.0 Apache-2.0-with-LLVM-exceptions CC0-1.0 )"
# Dependent crate licenses
LICENSE+="
	BSD-2 MIT Unicode-3.0
	|| ( Apache-2.0 CC0-1.0 MIT-0 )
"

SLOT="0"
KEYWORDS="~amd64 ~arm64"