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

# Autogenerated by pycargoebuild 0.13.5

EAPI=8

CRATES="
	anstream@0.6.18
	anstyle-parse@0.2.6
	anstyle-query@1.1.2
	anstyle-wincon@3.0.7
	anstyle@1.0.10
	anyhow@1.0.97
	arrayref@0.3.9
	arrayvec@0.7.6
	bitflags@2.9.0
	cc@1.2.17
	cfg-if@1.0.0
	clap@4.5.34
	clap_builder@4.5.34
	clap_derive@4.5.32
	clap_lex@0.7.4
	colorchoice@1.0.3
	constant_time_eq@0.3.1
	crossbeam-deque@0.8.6
	crossbeam-epoch@0.9.18
	crossbeam-utils@0.8.21
	duct@0.13.7
	errno@0.3.10
	fastrand@2.3.0
	getrandom@0.3.2
	glob@0.3.2
	heck@0.5.0
	hex@0.4.3
	is_terminal_polyfill@1.70.1
	libc@0.2.171
	linux-raw-sys@0.9.3
	memmap2@0.9.5
	once_cell@1.21.3
	os_pipe@1.2.1
	proc-macro2@1.0.94
	quote@1.0.40
	r-efi@5.2.0
	rayon-core@1.12.1
	rustix@1.0.3
	shared_child@1.0.1
	shlex@1.3.0
	strsim@0.11.1
	syn@2.0.100
	tempfile@3.19.1
	terminal_size@0.4.2
	unicode-ident@1.0.18
	utf8parse@0.2.2
	wasi@0.14.2+wasi-0.2.4
	wild@2.2.1
	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
	wit-bindgen-rt@0.39.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+="
	|| ( MIT Apache-2.0 ) Unicode-DFS-2016
	|| ( Apache-2.0 Apache-2.0-with-LLVM-exceptions CC0-1.0 )
	|| ( Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT )
	|| ( Apache-2.0 CC0-1.0 MIT-0 )
	|| ( Apache-2.0 MIT )
	BSD-2
	MIT
"

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