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

# Autogenerated by pycargoebuild 0.15.0

EAPI=8

CRATES="
	anstream@0.6.21
	anstyle-parse@0.2.7
	anstyle-query@1.1.5
	anstyle-wincon@3.0.11
	anstyle@1.0.13
	anyhow@1.0.100
	arrayref@0.3.9
	arrayvec@0.7.6
	bitflags@2.10.0
	cc@1.2.51
	cfg-if@1.0.4
	clap@4.5.54
	clap_builder@4.5.54
	clap_derive@4.5.49
	clap_lex@0.7.6
	colorchoice@1.0.4
	constant_time_eq@0.4.2
	cpufeatures@0.2.17
	crossbeam-deque@0.8.6
	crossbeam-epoch@0.9.18
	crossbeam-utils@0.8.21
	duct@1.1.1
	errno@0.3.14
	fastrand@2.3.0
	find-msvc-tools@0.1.6
	getrandom@0.3.4
	glob@0.3.3
	heck@0.5.0
	hex@0.4.3
	is_terminal_polyfill@1.70.2
	libc@0.2.180
	linux-raw-sys@0.11.0
	memmap2@0.9.9
	once_cell@1.21.3
	once_cell_polyfill@1.70.2
	os_pipe@1.2.3
	proc-macro2@1.0.105
	quote@1.0.43
	r-efi@5.3.0
	rayon-core@1.13.0
	rustix@1.1.3
	shared_child@1.1.1
	shared_thread@0.2.0
	shlex@1.3.0
	sigchld@0.2.4
	signal-hook-registry@1.4.8
	signal-hook@0.3.18
	strsim@0.11.1
	syn@2.0.114
	tempfile@3.24.0
	terminal_size@0.4.3
	unicode-ident@1.0.22
	utf8parse@0.2.2
	wasip2@1.0.1+wasi-0.2.4
	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
	wit-bindgen@0.46.0
"

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+="
	|| ( 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"