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

# Autogenerated by pycargoebuild 0.17.1

EAPI=8

RUST_MIN_VER="1.95.0"

CRATES="
	adler2@2.0.1
	ahash@0.8.12
	aho-corasick@1.1.4
	alloca@0.4.0
	allocator-api2@0.2.21
	android_system_properties@0.1.5
	anes@0.1.6
	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
	approx@0.5.1
	ar_archive_writer@0.5.2
	ascii@1.1.0
	ast_node@6.1.0
	autocfg@1.5.1
	base64-simd@0.8.0
	base64@0.22.1
	better_scoped_tls@1.0.1
	bindgen@0.72.1
	bitflags@1.3.2
	bitflags@2.13.1
	borrow-or-share@0.2.4
	bs58@0.5.1
	bstr@1.13.0
	bumpalo@3.20.3
	bytecount@0.6.9
	byteorder@1.5.0
	bytes-str@0.2.8
	bytes@1.12.1
	cast@0.3.0
	castaway@0.2.4
	cc@1.4.0
	cexpr@0.6.0
	cfg-if@1.0.4
	chrono@0.4.45
	ciborium-io@0.2.2
	ciborium-ll@0.2.2
	ciborium@0.2.2
	clang-sys@1.9.1
	clap@4.6.4
	clap_builder@4.6.2
	clap_derive@4.6.4
	clap_lex@1.1.0
	colorchoice@1.0.5
	compact_str@0.10.0
	compact_str@0.7.1
	console@0.16.4
	console_error_panic_hook@0.1.7
	const-str@1.1.0
	convert_case@0.11.0
	convert_case@0.6.0
	core-foundation-sys@0.8.7
	cow-utils@0.1.3
	crc32fast@1.5.0
	criterion-plot@0.8.2
	criterion@0.8.2
	crossbeam-deque@0.8.7
	crossbeam-epoch@0.9.20
	crossbeam-utils@0.8.22
	crunchy@0.2.4
	cssparser-color@0.5.0
	cssparser-macros@0.7.0
	cssparser@0.37.0
	ctor@1.0.12
	darling@0.23.0
	darling_core@0.23.0
	darling_macro@0.23.0
	dashmap@6.2.1
	data-encoding@2.11.0
	defmt-macros@1.1.1
	defmt-parser@1.0.0
	defmt@1.1.1
	deranged@0.5.8
	derive-where@1.6.1
	derive_more-impl@2.1.1
	derive_more@2.1.1
	diff@0.1.13
	displaydoc@0.2.7
	dragonbox_ecma@0.1.12
	dtoa-short@0.3.5
	dtoa@1.0.11
	dyn-clone@1.0.20
	earcut@0.4.5
	either@1.17.0
	encode_unicode@1.0.0
	env_filter@2.0.0
	env_logger@0.11.11
	equivalent@1.0.2
	errno@0.3.14
	escape-simd@0.1.0
	etcetera@0.11.0
	fastrand@2.5.0
	filetime@0.2.29
	find-msvc-tools@0.1.9
	flate2@1.1.9
	float_next_after@2.0.0
	fluent-uri@0.4.1
	foldhash@0.2.0
	form_urlencoded@1.2.2
	from_variant@3.0.0
	futures-channel@0.3.33
	futures-core@0.3.33
	futures-executor@0.3.33
	futures-io@0.3.33
	futures-macro@0.3.33
	futures-sink@0.3.33
	futures-task@0.3.33
	futures-util@0.3.33
	futures@0.3.33
	geo-types@0.7.19
	geo@0.33.1
	geographiclib-rs@0.2.7
	getrandom@0.3.4
	getrandom@0.4.3
	glob@0.3.4
	globset@0.4.19
	half@2.7.1
	hash32@0.3.1
	hashbrown@0.12.3
	hashbrown@0.14.5
	hashbrown@0.16.1
	hashbrown@0.17.1
	heapless@0.8.0
	heck@0.5.0
	hermit-abi@0.5.2
	hex@0.4.3
	hstr@4.0.0
	httparse@1.10.1
	i_float@1.16.0
	i_float@3.0.0
	i_key_sort@0.10.3
	i_key_sort@0.11.0
	i_overlay@4.5.2
	i_overlay@7.0.3
	i_shape@1.18.0
	i_shape@3.0.0
	i_tree@0.18.0
	i_tree@0.19.0
	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
	ignore@0.4.31
	indexmap@1.9.3
	indexmap@2.14.0
	insta@1.48.0
	is-macro@0.3.7
	is_terminal_polyfill@1.70.2
	itertools@0.10.5
	itertools@0.13.0
	itertools@0.15.0
	itoa@1.0.18
	jiff-core@0.1.0
	jiff-static@0.2.35
	jiff@0.2.35
	js-sys@0.3.104
	json-escape-simd@3.1.2
	lazy_static@1.5.0
	libc@0.2.189
	libloading@0.8.9
	libloading@0.9.0
	libm@0.2.16
	lightningcss-derive@1.0.0-alpha.43
	lightningcss@1.0.0-alpha.72
	link-section@0.19.2
	linktime-proc-macro@0.2.2
	linux-raw-sys@0.12.1
	litemap@0.8.2
	lock_api@0.4.14
	log@0.4.33
	ls-types@0.0.6
	markup5ever@0.39.0
	memchr@2.8.3
	minimal-lexical@0.2.1
	miniz_oxide@0.8.9
	napi-build@2.4.0
	napi-derive-backend@6.1.0
	napi-derive@3.6.1
	napi-sys@3.3.0
	napi@3.12.0
	new_debug_unreachable@1.0.6
	nohash-hasher@0.2.0
	nom@7.1.3
	nonmax@0.5.5
	num-bigint@0.4.8
	num-bigint@0.5.1
	num-conv@0.2.2
	num-integer@0.1.46
	num-traits@0.2.19
	num_cpus@1.17.0
	nunny@0.2.2
	object@0.37.3
	once_cell@1.21.4
	once_cell_polyfill@1.70.2
	oorandom@11.1.5
	outref@0.5.2
	owo-colors@4.3.0
	oxc-miette-derive@3.0.1
	oxc-miette@3.0.1
	oxc_allocator@0.142.0
	oxc_ast@0.142.0
	oxc_ast_macros@0.142.0
	oxc_ast_visit@0.142.0
	oxc_codegen@0.142.0
	oxc_data_structures@0.142.0
	oxc_diagnostics@0.142.0
	oxc_ecmascript@0.142.0
	oxc_estree@0.142.0
	oxc_index@5.0.0
	oxc_parser@0.142.0
	oxc_regular_expression@0.142.0
	oxc_semantic@0.142.0
	oxc_sourcemap@8.1.2
	oxc_span@0.142.0
	oxc_str@0.142.0
	oxc_syntax@0.142.0
	page_size@0.6.0
	par-core@2.0.0
	parcel_selectors@0.28.3
	parking_lot@0.12.5
	parking_lot_core@0.9.12
	paste@1.0.15
	pastey@0.1.1
	pathdiff@0.2.3
	percent-encoding@2.3.2
	phf@0.11.3
	phf@0.13.1
	phf@0.14.0
	phf_codegen@0.11.3
	phf_codegen@0.13.1
	phf_generator@0.11.3
	phf_generator@0.13.1
	phf_generator@0.14.0
	phf_macros@0.11.3
	phf_macros@0.13.1
	phf_macros@0.14.0
	phf_shared@0.11.3
	phf_shared@0.13.1
	phf_shared@0.14.0
	pin-project-lite@0.2.17
	pkg-config@0.3.33
	plotters-backend@0.3.7
	plotters-svg@0.3.7
	plotters@0.3.7
	portable-atomic-util@0.2.7
	portable-atomic@1.14.0
	potential_utf@0.1.5
	powerfmt@0.2.0
	precomputed-hash@0.1.1
	pretty_assertions@1.4.1
	prettyplease@0.2.37
	proc-macro2@1.0.107
	psm@0.1.31
	quote@1.0.47
	r-efi@5.3.0
	r-efi@6.0.0
	rand@0.10.2
	rand@0.8.7
	rand_core@0.10.1
	rand_core@0.6.4
	rand_pcg@0.10.2
	rayon-core@1.13.0
	rayon@1.12.0
	redox_syscall@0.5.18
	ref-cast-impl@1.0.26
	ref-cast@1.0.26
	regex-automata@0.4.16
	regex-syntax@0.8.11
	regex@1.13.1
	robust@1.2.0
	roxmltree@0.21.1
	rstar@0.12.2
	rustc-hash@2.1.3
	rustc_version@0.4.1
	rustix@1.1.4
	rustversion@1.0.23
	ryu@1.0.23
	same-file@1.0.6
	schemars@0.9.0
	schemars@1.2.2
	schemars_derive@1.2.2
	scoped-tls@1.0.1
	scopeguard@1.2.0
	selectors@0.39.0
	self_cell@1.3.0
	semver@1.0.28
	seq-macro@0.3.6
	serde-wasm-bindgen@0.6.5
	serde@1.0.229
	serde_core@1.0.229
	serde_derive@1.0.229
	serde_derive_internals@0.29.1
	serde_derive_internals@0.30.0
	serde_json@1.0.151
	serde_spanned@1.1.1
	serde_with@3.21.0
	serde_with_macros@3.21.0
	servo_arc@0.4.3
	shlex@1.3.0
	shlex@2.0.1
	sif-itree@0.4.1
	simd-adler32@0.3.10
	similar@2.7.0
	siphasher@0.3.11
	siphasher@1.0.3
	skia-bindings@0.99.0
	skia-safe@0.99.0
	skia-svg-macros@0.1.0
	slab@0.4.12
	smallvec@1.15.2
	smawk@0.3.3
	spade@2.15.1
	stable_deref_trait@1.2.1
	stacker@0.1.24
	static_assertions@1.1.0
	string_cache@0.10.0
	string_cache@0.9.0
	string_cache_codegen@0.6.1
	string_enum@1.0.2
	strsim@0.11.1
	swc_allocator@5.0.0
	swc_atoms@10.0.0
	swc_common@24.0.0
	swc_core@75.0.0
	swc_ecma_ast@27.0.0
	swc_ecma_codegen@30.0.0
	swc_ecma_codegen_macros@2.0.2
	swc_ecma_lexer@42.0.0
	swc_ecma_parser@43.0.0
	swc_ecma_transforms_base@47.0.0
	swc_ecma_utils@33.0.0
	swc_ecma_visit@27.0.0
	swc_eq_ignore_macros@1.0.1
	swc_macros_common@1.0.1
	swc_visit@2.0.1
	syn@1.0.109
	syn@2.0.119
	syn@3.0.3
	sync_wrapper@1.0.2
	synstructure@0.13.2
	tar@0.4.46
	tempfile@3.27.0
	tendril@0.5.1
	textwrap@0.16.2
	thiserror-impl@2.0.19
	thiserror@2.0.19
	time-core@0.1.9
	time-macros@0.2.32
	time@0.3.54
	tinystr@0.8.3
	tinytemplate@1.2.1
	tinyvec@1.12.0
	tinyvec_macros@0.1.1
	tokio-macros@2.7.2
	tokio-util@0.7.19
	tokio@1.53.1
	toml@1.1.4+spec-1.1.0
	toml_datetime@1.1.1+spec-1.1.0
	toml_parser@1.1.3+spec-1.1.0
	toml_writer@1.1.2+spec-1.1.0
	tower-layer@0.3.3
	tower-lsp-server@0.23.0
	tower-service@0.3.3
	tower@0.5.3
	tracing-attributes@0.1.31
	tracing-core@0.1.36
	tracing@0.1.44
	triomphe@0.1.16
	tsify-macros@0.5.6
	tsify@0.5.6
	typed-arena@2.0.2
	unicode-id-start@1.4.0
	unicode-ident@1.0.24
	unicode-linebreak@0.1.5
	unicode-segmentation@1.13.3
	unicode-width@0.2.2
	unicode-xid@0.2.6
	url@2.5.8
	urlencoding@2.1.3
	utf8_iter@1.0.4
	utf8parse@0.2.2
	version_check@0.9.5
	vsimd@0.8.0
	walkdir@2.5.0
	wasip2@1.0.4+wasi-0.2.12
	wasm-bindgen-macro-support@0.2.127
	wasm-bindgen-macro@0.2.127
	wasm-bindgen-shared@0.2.127
	wasm-bindgen@0.2.127
	web-sys@0.3.104
	web_atoms@0.2.5
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.11
	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.61.2
	winnow@1.0.4
	wit-bindgen@0.57.1
	writeable@0.6.3
	xattr@1.6.1
	xml5ever@0.39.0
	yansi@1.0.1
	yoke-derive@0.8.2
	yoke@0.8.3
	zerocopy-derive@0.8.55
	zerocopy@0.8.55
	zerofrom-derive@0.1.7
	zerofrom@0.1.8
	zerotrie@0.2.4
	zerovec-derive@0.11.3
	zerovec@0.11.6
	zmij@1.0.23
"

inherit cargo

DESCRIPTION="Vector image toolchain"
HOMEPAGE="https://github.com/noahbald/oxvg"
SRC_URI="
	https://github.com/noahbald/oxvg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MIT-0 MPL-2.0
	Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"

src_configure() {
	cargo_src_configure --bin oxvg
}

src_install() {
	cargo_src_install --path ./crates/oxvg
}