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

# Autogenerated by pycargoebuild 0.15.2

EAPI=8

CRATES="
	addr2line@0.25.1
	adler2@2.0.1
	aho-corasick@1.1.4
	alterable_logger@1.0.1
	android_system_properties@0.1.5
	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.103
	arc-swap@1.9.2
	atomic-waker@1.1.2
	autocfg@1.5.1
	backtrace-ext@0.2.1
	backtrace@0.3.76
	base64@0.22.1
	bitflags@1.3.2
	bitflags@2.13.0
	bitvec@1.1.1
	block-buffer@0.10.4
	block-buffer@0.12.1
	block2@0.6.2
	bumpalo@3.20.3
	bytemuck@1.25.0
	bytemuck_derive@1.10.2
	byteorder@1.5.0
	bytes@1.12.0
	camino@1.2.4
	cargo-platform@0.3.3
	cargo_metadata@0.23.1
	cbor-edn@0.0.6
	cc@1.2.66
	cfg-if@1.0.4
	cfg_aliases@0.2.1
	chacha20@0.10.1
	chrono@0.4.45
	clap@4.6.1
	clap_builder@4.6.0
	clap_complete@4.6.7
	clap_derive@4.6.1
	clap_lex@1.1.0
	colorchoice@1.0.5
	colored@2.2.0
	comfy-table@7.2.2
	console@0.16.4
	const-oid@0.10.2
	convert_case@0.10.0
	cookie@0.18.1
	cookie_store@0.22.1
	core-foundation-sys@0.8.7
	core-foundation@0.10.1
	cpp_demangle@0.4.5
	cpufeatures@0.3.0
	crc32fast@1.5.0
	crossterm@0.29.0
	crossterm_winapi@0.9.1
	crypto-common@0.1.7
	crypto-common@0.2.2
	csv-core@0.1.13
	csv@1.4.0
	ctrlc@3.5.2
	darling@0.20.11
	darling_core@0.20.11
	darling_macro@0.20.11
	data-encoding-macro-internal@0.1.18
	data-encoding-macro@0.1.20
	data-encoding@2.11.0
	defmt-decoder@1.1.0
	defmt-json-schema@0.1.0
	defmt-macros@1.1.1
	defmt-parser@1.0.0
	defmt@1.1.1
	deku@0.18.1
	deku_derive@0.18.1
	deranged@0.5.8
	derive_more-impl@2.1.1
	derive_more@2.1.1
	dialoguer@0.12.0
	digest@0.10.7
	digest@0.11.3
	directories@6.0.0
	dirs-sys@0.5.0
	dispatch2@0.3.1
	displaydoc@0.2.6
	dissimilar@1.0.11
	document-features@0.2.12
	encode_unicode@1.0.0
	encoding_rs@0.8.35
	env_filter@2.0.0
	env_logger@0.11.11
	equivalent@1.0.2
	errno@0.3.14
	esp-idf-part@0.6.0
	etcetera@0.10.0
	fallible-iterator@0.3.0
	fastrand@2.4.1
	find-msvc-tools@0.1.9
	flate2@1.1.9
	fnv@1.0.7
	form_urlencoded@1.2.2
	funty@2.0.0
	futures-channel@0.3.32
	futures-core@0.3.32
	futures-io@0.3.32
	futures-sink@0.3.32
	futures-task@0.3.32
	futures-util@0.3.32
	generic-array@0.14.7
	getrandom@0.2.17
	getrandom@0.4.3
	gimli@0.29.0
	gimli@0.32.3
	hashbrown@0.17.1
	heck@0.5.0
	hex@0.4.3
	hexfloat2@0.1.3
	home@0.5.12
	http-body-util@0.1.3
	http-body@1.0.1
	http@1.4.2
	httparse@1.10.1
	hybrid-array@0.4.13
	hyper-rustls@0.27.9
	hyper-util@0.1.20
	hyper@1.10.1
	iana-time-zone-haiku@0.1.2
	iana-time-zone@0.1.65
	icu_collections@2.2.0
	icu_locale_core@2.2.0
	icu_normalizer@2.2.0
	icu_normalizer_data@2.2.0
	icu_properties@2.2.0
	icu_properties_data@2.2.0
	icu_provider@2.2.0
	ident_case@1.0.1
	idna@1.1.0
	idna_adapter@1.2.2
	indexmap@2.14.0
	indicatif@0.18.6
	indoc@2.0.7
	io-kit-sys@0.4.1
	ipnet@2.12.0
	is_ci@1.2.0
	is_terminal_polyfill@1.70.2
	itoa@1.0.18
	jiff-static@0.2.31
	jiff@0.2.31
	js-sys@0.3.103
	lazy_static@1.5.0
	libc@0.2.186
	libredox@0.1.18
	linux-raw-sys@0.12.1
	litemap@0.8.2
	litrs@1.0.0
	lock_api@0.4.14
	log@0.4.33
	lru-slab@0.1.2
	mach2@0.4.3
	md-5@0.10.6
	md-5@0.11.0
	memchr@2.8.3
	memmap2@0.9.11
	memoffset@0.9.1
	miette-derive@7.6.0
	miette@7.6.0
	minimal-lexical@0.2.1
	miniz_oxide@0.8.9
	mio@1.2.1
	nix@0.26.4
	nix@0.31.3
	no_std_io2@0.8.1
	nom@7.1.3
	num-bigint@0.4.8
	num-conv@0.2.2
	num-integer@0.1.46
	num-traits@0.2.19
	objc2-encode@4.1.0
	objc2@0.6.4
	object@0.36.7
	object@0.37.3
	object@0.39.1
	once_cell@1.21.4
	once_cell_polyfill@1.70.2
	option-ext@0.2.0
	owo-colors@4.3.0
	parking_lot@0.12.5
	parking_lot_core@0.9.12
	parse_int@0.9.0
	peg-macros@0.8.6
	peg-runtime@0.8.6
	peg@0.8.6
	percent-encoding@2.3.2
	pin-project-lite@0.2.17
	portable-atomic-util@0.2.7
	portable-atomic@1.13.1
	potential_utf@0.1.5
	powerfmt@0.2.0
	proc-macro-crate@3.5.0
	proc-macro2@1.0.106
	pyo3-build-config@0.27.2
	pyo3-ffi@0.27.2
	pyo3-macros-backend@0.27.2
	pyo3-macros@0.27.2
	pyo3@0.27.2
	quinn-proto@0.11.16
	quinn-udp@0.5.15
	quinn@0.11.11
	quote@1.0.46
	r-efi@6.0.0
	radium@0.7.0
	rand@0.10.2
	rand_core@0.10.1
	rand_pcg@0.10.2
	redox_syscall@0.5.18
	redox_users@0.5.2
	reed-solomon@0.2.1
	regex-automata@0.4.14
	regex-syntax@0.8.11
	regex@1.12.4
	reqwest@0.12.28
	ring@0.17.14
	rustc-demangle@0.1.27
	rustc-hash@2.1.3
	rustc_version@0.4.1
	rustix@1.1.4
	rustls-pki-types@1.15.0
	rustls-webpki@0.103.13
	rustls@0.23.41
	rustversion@1.0.23
	ruzstd@0.8.3
	ryu@1.0.23
	scopeguard@1.2.0
	semver@1.0.28
	serde@1.0.228
	serde_core@1.0.228
	serde_derive@1.0.228
	serde_json@1.0.150
	serde_plain@1.0.2
	serde_spanned@1.1.1
	serde_urlencoded@0.7.1
	serde_yaml@0.9.34+deprecated
	serialport@4.9.0
	sha2@0.11.0
	shell-words@1.1.1
	shlex@2.0.1
	signal-hook-mio@0.2.5
	signal-hook-registry@1.4.8
	signal-hook@0.3.18
	simd-adler32@0.3.9
	slab@0.4.12
	slip-codec@0.4.0
	smallvec@1.15.2
	socket2@0.6.4
	stable_deref_trait@1.2.1
	strsim@0.11.1
	strum@0.27.2
	strum@0.28.0
	strum_macros@0.27.2
	strum_macros@0.28.0
	subtle@2.6.1
	supports-color@3.0.2
	supports-hyperlinks@3.2.0
	supports-unicode@3.0.0
	syn@2.0.118
	sync_wrapper@1.0.2
	synstructure@0.13.2
	tap@1.0.1
	target-lexicon@0.13.5
	tempfile@3.27.0
	terminal_size@0.4.4
	textwrap@0.16.2
	thiserror-impl@2.0.18
	thiserror@2.0.18
	time-core@0.1.9
	time-macros@0.2.31
	time@0.3.53
	tinystr@0.8.3
	tinyvec@1.11.0
	tinyvec_macros@0.1.1
	tokio-rustls@0.26.4
	tokio@1.52.3
	toml@1.1.2+spec-1.1.0
	toml_datetime@1.1.1+spec-1.1.0
	toml_edit@0.25.12+spec-1.1.0
	toml_parser@1.1.2+spec-1.1.0
	toml_writer@1.1.1+spec-1.1.0
	tower-http@0.6.11
	tower-layer@0.3.3
	tower-service@0.3.3
	tower@0.5.3
	tracing-core@0.1.36
	tracing@0.1.44
	try-lock@0.2.5
	twox-hash@2.1.2
	typed-arena@2.0.2
	typenum@1.20.1
	unescaper@0.1.10
	unicode-ident@1.0.24
	unicode-linebreak@0.1.5
	unicode-segmentation@1.13.3
	unicode-width@0.1.14
	unicode-width@0.2.2
	unindent@0.2.4
	unit-prefix@0.5.2
	unsafe-libyaml@0.2.11
	untrusted@0.9.0
	update-informer@1.3.0
	ureq-proto@0.6.0
	ureq@3.3.0
	url@2.5.8
	utf8-zero@0.8.1
	utf8_iter@1.0.4
	utf8parse@0.2.2
	version_check@0.9.5
	want@0.3.1
	wasi@0.11.1+wasi-snapshot-preview1
	wasm-bindgen-futures@0.4.76
	wasm-bindgen-macro-support@0.2.126
	wasm-bindgen-macro@0.2.126
	wasm-bindgen-shared@0.2.126
	wasm-bindgen@0.2.126
	web-sys@0.3.103
	web-time@1.1.0
	webpki-roots@1.0.8
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-core@0.62.2
	windows-implement@0.60.2
	windows-interface@0.59.3
	windows-link@0.2.1
	windows-result@0.4.1
	windows-strings@0.5.1
	windows-sys@0.52.0
	windows-sys@0.59.0
	windows-sys@0.61.2
	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
	winnow@1.0.3
	writeable@0.6.3
	wyz@0.5.1
	yoke-derive@0.8.2
	yoke@0.8.3
	zerofrom-derive@0.1.7
	zerofrom@0.1.8
	zeroize@1.9.0
	zerotrie@0.2.4
	zerovec-derive@0.11.3
	zerovec@0.11.6
	zmij@1.0.21
"

inherit cargo

DESCRIPTION="A command-line tool for interacting with Espressif devices"
HOMEPAGE="https://github.com/esp-rs/espflash"
SRC_URI="
	https://github.com/esp-rs/espflash/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CDLA-Permissive-2.0
	ISC MIT MPL-2.0 Unicode-3.0
"
SLOT="0"
S="${WORKDIR}/${P}/${PN}"
KEYWORDS="~amd64 ~arm64"