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

# Auto-Generated by cargo-ebuild 0.5.4-r1

EAPI=8

CRATES="
	addr2line@0.21.0
	adler@1.0.2
	ahash@0.7.7
	ahash@0.8.6
	aho-corasick@0.7.20
	aho-corasick@1.1.2
	ammonia@3.3.0
	android-tzdata@0.1.1
	android_system_properties@0.1.5
	anstream@0.6.5
	anstyle-parse@0.2.3
	anstyle-query@1.0.2
	anstyle-wincon@3.0.2
	anstyle@1.0.4
	any_ascii@0.1.7
	anyhow@1.0.75
	arrayvec@0.7.4
	assert-json-diff@2.0.2
	atty@0.2.14
	autocfg@1.1.0
	backtrace@0.3.69
	base64@0.21.5
	bincode@1.3.3
	bit_field@0.10.2
	bitflags@1.3.2
	bitflags@2.4.1
	block-buffer@0.10.4
	block-buffer@0.7.3
	block-padding@0.1.5
	bstr@1.8.0
	build_const@0.2.2
	bumpalo@3.14.0
	byte-tools@0.3.1
	bytecount@0.6.7
	bytemuck@1.14.0
	byteorder@1.5.0
	bytes@0.4.12
	bytes@1.5.0
	camino@1.1.6
	cargo-platform@0.1.5
	cargo_metadata@0.14.2
	cc@1.0.83
	cedarwood@0.4.6
	cfg-if@0.1.10
	cfg-if@1.0.0
	chrono-tz-build@0.2.1
	chrono-tz@0.8.4
	chrono@0.4.31
	clap@3.2.25
	clap@4.4.11
	clap_builder@4.4.11
	clap_complete@4.4.4
	clap_derive@3.2.25
	clap_derive@4.4.7
	clap_lex@0.2.4
	clap_lex@0.6.0
	codemap@0.1.3
	color_quant@1.1.0
	colorchoice@1.0.0
	colored@2.1.0
	console@0.15.7
	convert_case@0.4.0
	core-foundation-sys@0.8.6
	core-foundation@0.9.4
	cpufeatures@0.2.11
	crc32fast@1.3.2
	crc@1.8.1
	crossbeam-deque@0.8.4
	crossbeam-epoch@0.9.16
	crossbeam-utils@0.8.17
	crunchy@0.2.2
	crypto-common@0.1.6
	css-minify@0.3.1
	csv-core@0.1.11
	csv@1.3.0
	ctrlc@3.4.1
	deranged@0.3.10
	derive_more@0.99.17
	deunicode@1.4.2
	digest@0.10.7
	digest@0.8.1
	displaydoc@0.2.4
	doc-comment@0.3.3
	either@1.9.0
	elasticlunr-rs@3.0.2
	encode_unicode@0.3.6
	encoding-index-japanese@1.20141219.5
	encoding-index-korean@1.20141219.5
	encoding-index-simpchinese@1.20141219.5
	encoding-index-singlebyte@1.20141219.5
	encoding-index-tradchinese@1.20141219.5
	encoding@0.2.33
	encoding_index_tests@0.1.4
	encoding_rs@0.8.33
	env_logger@0.9.3
	equivalent@1.0.1
	errno@0.3.8
	error-chain@0.12.4
	exr@1.71.0
	fake-simd@0.1.2
	fastrand@2.0.1
	fdeflate@0.3.1
	filetime@0.2.23
	flate2@1.0.28
	flume@0.11.0
	fnv@1.0.7
	foreign-types-shared@0.1.1
	foreign-types@0.3.2
	form_urlencoded@1.2.1
	fsevent-sys@2.0.1
	fsevent@0.4.0
	fuchsia-zircon-sys@0.3.3
	fuchsia-zircon@0.3.3
	futf@0.1.5
	futures-channel@0.3.29
	futures-core@0.3.29
	futures-io@0.3.29
	futures-sink@0.3.29
	futures-task@0.3.29
	futures-util@0.3.29
	fxhash@0.2.1
	generic-array@0.12.4
	generic-array@0.14.7
	getrandom@0.1.16
	getrandom@0.2.11
	gh-emoji@1.0.8
	gif@0.12.0
	gimli@0.28.1
	glob@0.3.1
	globset@0.4.14
	globwalk@0.8.1
	grass@0.13.1
	grass_compiler@0.13.0
	h2@0.3.22
	half@2.2.1
	hashbrown@0.11.2
	hashbrown@0.12.3
	hashbrown@0.14.3
	heck@0.4.1
	hermit-abi@0.1.19
	hermit-abi@0.3.3
	html5ever@0.26.0
	http-body@0.4.6
	http@0.2.11
	httparse@1.8.0
	httpdate@1.0.3
	humansize@2.1.3
	humantime@2.1.0
	hyper-rustls@0.24.2
	hyper-tls@0.5.0
	hyper@0.14.27
	iana-time-zone-haiku@0.1.2
	iana-time-zone@0.1.58
	idna@0.5.0
	ignore@0.4.21
	image@0.24.7
	indexmap@1.9.3
	indexmap@2.1.0
	inotify-sys@0.1.5
	inotify@0.7.1
	insta@1.34.0
	iovec@0.1.4
	ipnet@2.9.0
	is-docker@0.2.0
	is-wsl@0.4.0
	itoa@1.0.10
	jieba-rs@0.6.8
	jobserver@0.1.27
	jpeg-decoder@0.3.0
	js-sys@0.3.66
	kamadak-exif@0.5.5
	kernel32-sys@0.2.2
	lasso@0.6.0
	lazy_static@1.4.0
	lazycell@1.3.0
	lebe@0.5.2
	lexical-sort@0.3.1
	libc@0.2.151
	libm@0.2.8
	libwebp-sys@0.9.4
	lindera-cc-cedict-builder@0.13.5
	lindera-core@0.13.5
	lindera-decompress@0.13.5
	lindera-dictionary@0.13.5
	lindera-ipadic-builder@0.13.5
	lindera-ipadic@0.13.5
	lindera-ko-dic-builder@0.13.5
	lindera-unidic-builder@0.13.5
	lindera@0.14.0
	line-wrap@0.1.1
	linked-hash-map@0.5.6
	linux-raw-sys@0.4.12
	lock_api@0.4.11
	log@0.4.20
	lzma-rs@0.2.0
	mac@0.1.1
	maplit@1.0.2
	markup5ever@0.11.0
	memchr@2.6.4
	memoffset@0.9.0
	mime@0.3.17
	mime_guess@2.0.4
	minidom@0.12.0
	minify-html@0.11.1
	minify-js@0.4.3
	minimal-lexical@0.2.1
	miniz_oxide@0.7.1
	mio-extras@2.0.6
	mio@0.6.23
	mio@0.8.10
	miow@0.2.2
	mockito@0.31.1
	mutate_once@0.1.1
	native-tls@0.2.11
	net2@0.2.39
	new_debug_unreachable@1.0.4
	nix@0.27.1
	nom-bibtex@0.5.0
	nom-tracable-macros@0.9.0
	nom-tracable@0.9.0
	nom@7.1.3
	nom_locate@4.2.0
	notify@4.0.17
	num-format@0.4.4
	num-integer@0.1.45
	num-rational@0.4.1
	num-traits@0.2.17
	num_cpus@1.16.0
	num_threads@0.1.6
	object@0.32.1
	once_cell@1.19.0
	onig@6.4.0
	onig_sys@69.8.1
	opaque-debug@0.2.3
	open@5.0.1
	openssl-macros@0.1.1
	openssl-probe@0.1.5
	openssl-sys@0.9.97
	openssl@0.10.61
	os_str_bytes@6.6.1
	parking_lot@0.12.1
	parking_lot_core@0.9.9
	parse-js@0.10.3
	parse-zoneinfo@0.3.0
	path-slash@0.2.1
	pathdiff@0.2.1
	percent-encoding@2.3.1
	pest@2.7.5
	pest_derive@2.7.5
	pest_generator@2.7.5
	pest_meta@2.7.5
	phf@0.10.1
	phf@0.11.2
	phf_codegen@0.10.0
	phf_codegen@0.11.2
	phf_generator@0.10.0
	phf_generator@0.11.2
	phf_macros@0.10.0
	phf_shared@0.10.0
	phf_shared@0.11.2
	pin-project-lite@0.2.13
	pin-utils@0.1.0
	pkg-config@0.3.27
	plist@1.6.0
	png@0.17.10
	powerfmt@0.2.0
	ppv-lite86@0.2.17
	precomputed-hash@0.1.1
	proc-macro-error-attr@1.0.4
	proc-macro-error@1.0.4
	proc-macro-hack@0.5.20+deprecated
	proc-macro2@1.0.70
	pulldown-cmark@0.9.3
	pure-rust-locales@0.7.0
	qoi@0.4.1
	quick-error@2.0.1
	quick-xml@0.17.2
	quick-xml@0.31.0
	quickxml_to_serde@0.5.0
	quote@1.0.33
	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
	rayon-core@1.12.0
	rayon@1.8.0
	redox_syscall@0.4.1
	regex-automata@0.4.3
	regex-syntax@0.7.5
	regex-syntax@0.8.2
	regex@1.10.2
	relative-path@1.9.0
	reqwest@0.11.22
	ring@0.17.7
	roxmltree@0.18.1
	rust-stemmers@1.2.0
	rustc-demangle@0.1.23
	rustc-hash@1.1.0
	rustc_version@0.4.0
	rustix@0.38.28
	rustls-pemfile@1.0.4
	rustls-webpki@0.101.7
	rustls@0.21.10
	ryu@1.0.16
	safemem@0.3.3
	same-file@1.0.6
	schannel@0.1.22
	scopeguard@1.2.0
	sct@0.7.1
	security-framework-sys@2.9.1
	security-framework@2.9.2
	semver@1.0.20
	serde@1.0.193
	serde_derive@1.0.193
	serde_json@1.0.108
	serde_spanned@0.6.4
	serde_urlencoded@0.7.1
	serde_yaml@0.9.27
	sha-1@0.8.2
	sha2@0.10.8
	simd-adler32@0.3.7
	similar@2.3.0
	siphasher@0.3.11
	skeptic@0.13.7
	slab@0.4.9
	slug@0.1.5
	smallvec@1.11.2
	socket2@0.4.10
	socket2@0.5.5
	spin@0.9.8
	string_cache@0.8.7
	string_cache_codegen@0.5.2
	strsim@0.10.0
	svg_metadata@0.5.0
	syn@1.0.109
	syn@2.0.41
	syntect@5.1.0
	system-configuration-sys@0.5.0
	system-configuration@0.5.1
	tar@0.4.40
	tempfile@3.8.1
	tendril@0.4.3
	tera@1.19.1
	termcolor@1.4.0
	test-case-core@3.3.1
	test-case-macros@3.3.1
	test-case@3.3.1
	textwrap@0.16.0
	thiserror-impl@1.0.51
	thiserror@1.0.51
	tiff@0.9.0
	time-core@0.1.2
	time-macros@0.2.15
	time@0.3.30
	tinystr@0.7.5
	tinyvec@1.6.0
	tinyvec_macros@0.1.1
	tokio-native-tls@0.3.1
	tokio-rustls@0.24.1
	tokio-util@0.7.10
	tokio@1.35.0
	toml@0.5.11
	toml@0.8.8
	toml_datetime@0.6.5
	toml_edit@0.21.0
	tower-service@0.3.2
	tracing-core@0.1.32
	tracing@0.1.40
	try-lock@0.2.5
	typenum@1.17.0
	ucd-trie@0.1.6
	unic-char-property@0.9.0
	unic-char-range@0.9.0
	unic-common@0.9.0
	unic-langid-impl@0.9.4
	unic-langid@0.9.4
	unic-segment@0.9.0
	unic-ucd-segment@0.9.0
	unic-ucd-version@0.9.0
	unicase@2.7.0
	unicode-bidi@0.3.14
	unicode-ident@1.0.12
	unicode-normalization@0.1.22
	unicode-segmentation@1.10.1
	unsafe-libyaml@0.2.10
	untrusted@0.9.0
	url@2.5.0
	utf-8@0.7.6
	utf8parse@0.2.1
	vcpkg@0.2.15
	version_check@0.9.4
	walkdir@2.4.0
	want@0.3.1
	wasi@0.11.0+wasi-snapshot-preview1
	wasi@0.9.0+wasi-snapshot-preview1
	wasm-bindgen-backend@0.2.89
	wasm-bindgen-futures@0.4.39
	wasm-bindgen-macro-support@0.2.89
	wasm-bindgen-macro@0.2.89
	wasm-bindgen-shared@0.2.89
	wasm-bindgen@0.2.89
	web-sys@0.3.66
	webp@0.2.6
	webpki-roots@0.25.3
	weezl@0.1.7
	winapi-build@0.1.1
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.6
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.2.8
	winapi@0.3.9
	windows-core@0.51.1
	windows-sys@0.45.0
	windows-sys@0.48.0
	windows-sys@0.52.0
	windows-targets@0.42.2
	windows-targets@0.48.5
	windows-targets@0.52.0
	windows_aarch64_gnullvm@0.42.2
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_gnullvm@0.52.0
	windows_aarch64_msvc@0.42.2
	windows_aarch64_msvc@0.48.5
	windows_aarch64_msvc@0.52.0
	windows_i686_gnu@0.42.2
	windows_i686_gnu@0.48.5
	windows_i686_gnu@0.52.0
	windows_i686_msvc@0.42.2
	windows_i686_msvc@0.48.5
	windows_i686_msvc@0.52.0
	windows_x86_64_gnu@0.42.2
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnu@0.52.0
	windows_x86_64_gnullvm@0.42.2
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_gnullvm@0.52.0
	windows_x86_64_msvc@0.42.2
	windows_x86_64_msvc@0.48.5
	windows_x86_64_msvc@0.52.0
	winnow@0.5.28
	winreg@0.50.0
	winres@0.1.12
	ws2_32-sys@0.2.1
	ws@0.9.2
	xattr@1.1.3
	xmlparser@0.13.6
	yada@0.5.0
	yaml-rust@0.4.5
	zerocopy-derive@0.7.31
	zerocopy@0.7.31
	zune-inflate@0.2.54
"

inherit cargo

DESCRIPTION="A fast static site generator with everything built-in"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://getzola.org"
SRC_URI="${CARGO_CRATE_URIS} https://github.com/getzola/zola/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

# 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 MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="${DEPEND}"
BDEPEND=">=virtual/rust-1.57.0"

# 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}"