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

# shellcheck disable=SC2086

EAPI=8

CRATES="addr2line@0.21.0
	adler@1.0.2
	adler32@1.2.0
	ahash@0.8.7
	aho-corasick@1.1.2
	android-tzdata@0.1.1
	android_system_properties@0.1.5
	anstream@0.6.11
	anstyle@1.0.4
	anstyle-parse@0.2.3
	anstyle-query@1.0.2
	anstyle-wincon@3.0.2
	anyhow@1.0.79
	approx@0.5.1
	async-stream@0.3.5
	async-stream-impl@0.3.5
	async-trait@0.1.77
	autocfg@1.1.0
	axum@0.6.20
	axum-core@0.3.4
	backtrace@0.3.69
	base64@0.13.1
	base64@0.21.7
	big_enum_set@0.3.0
	big_enum_set_derive@0.3.0
	bigml@1.0.1
	bigml_derive@0.4.1
	bit-vec@0.6.3
	bitflags@1.3.2
	bitflags@2.4.2
	block-buffer@0.10.4
	bstr@1.9.0
	bumpalo@3.14.0
	byteorder@1.5.0
	bytes@1.5.0
	cast@0.3.0
	cc@1.0.83
	cfg-if@1.0.0
	chrono@0.4.33
	clap@4.4.18
	clap_builder@4.4.18
	clap_derive@4.4.7
	clap_lex@0.6.0
	cli_test_dir@0.1.7
	codespan-reporting@0.11.1
	colorchoice@1.0.0
	core-foundation@0.9.4
	core-foundation-sys@0.8.6
	cpufeatures@0.2.12
	crc32c@0.6.4
	crc32fast@1.3.2
	crossbeam-channel@0.5.11
	crossbeam-epoch@0.9.18
	crossbeam-utils@0.8.19
	crypto-common@0.1.6
	csv@1.3.0
	csv-core@0.1.11
	ct-logs@0.8.0
	darling@0.20.3
	darling_core@0.20.3
	darling_macro@0.20.3
	dbcrossbar@0.5.7
	deranged@0.3.11
	diff@0.1.13
	difference@2.0.0
	digest@0.10.7
	dirs@5.0.1
	dirs-sys@0.4.1
	either@1.9.0
	encoding_rs@0.8.33
	endian-type@0.1.2
	equivalent@1.0.1
	errno@0.3.8
	fallible-iterator@0.2.0
	fastrand@2.0.1
	finl_unicode@1.2.0
	flate2@1.0.28
	fnv@1.0.7
	form_urlencoded@1.2.1
	futures@0.3.30
	futures-channel@0.3.30
	futures-core@0.3.30
	futures-executor@0.3.30
	futures-io@0.3.30
	futures-macro@0.3.30
	futures-sink@0.3.30
	futures-task@0.3.30
	futures-util@0.3.30
	generic-array@0.14.7
	geo-types@0.7.12
	geojson@0.24.1
	getrandom@0.2.12
	gimli@0.28.1
	h2@0.3.24
	hashbrown@0.12.3
	hashbrown@0.13.1
	hashbrown@0.14.3
	headers@0.3.9
	headers-core@0.2.0
	heck@0.4.1
	hermit-abi@0.3.4
	hex@0.4.3
	hmac@0.12.1
	http@0.2.11
	http-body@0.4.6
	httparse@1.8.0
	httpdate@1.0.3
	humanize-rs@0.1.5
	hyper@0.14.28
	hyper-rustls@0.22.1
	hyper-rustls@0.24.2
	hyper-timeout@0.4.1
	iana-time-zone@0.1.59
	iana-time-zone-haiku@0.1.2
	ident_case@1.0.1
	idna@0.5.0
	include-flate@0.2.0
	include-flate-codegen@0.1.4
	include-flate-codegen-exports@0.1.4
	indexmap@1.9.3
	indexmap@2.1.0
	ipnet@2.9.0
	itertools@0.10.5
	itertools@0.11.0
	itertools@0.12.0
	itoa@1.0.10
	js-sys@0.3.67
	lazy_static@1.4.0
	libc@0.2.152
	libflate@1.4.0
	libflate_lz77@1.2.0
	libm@0.2.8
	libredox@0.0.1
	linux-raw-sys@0.4.13
	lock_api@0.4.11
	log@0.4.20
	mach2@0.4.2
	matchers@0.1.0
	matchit@0.7.3
	md-5@0.10.6
	memchr@2.7.1
	metrics@0.21.1
	metrics-macros@0.7.1
	metrics-util@0.15.1
	mime@0.3.17
	mime_guess@2.0.4
	miniz_oxide@0.7.1
	mio@0.8.10
	nibble_vec@0.1.0
	normpath@1.1.1
	nu-ansi-term@0.46.0
	num-traits@0.2.17
	num_cpus@1.16.0
	num_threads@0.1.6
	object@0.32.2
	once_cell@1.19.0
	opener@0.6.1
	openssl-probe@0.1.5
	opentelemetry@0.20.0
	opentelemetry-semantic-conventions@0.12.0
	opentelemetry-stackdriver@0.17.0
	opentelemetry_api@0.20.0
	opentelemetry_sdk@0.20.0
	opinionated_telemetry@0.2.0
	option-ext@0.2.0
	ordered-float@3.9.2
	overload@0.1.1
	parking_lot@0.12.1
	parking_lot_core@0.9.9
	parse_link_header@0.3.3
	peg@0.8.2
	peg-macros@0.8.2
	peg-runtime@0.8.2
	percent-encoding@2.3.1
	phf@0.11.2
	phf_shared@0.11.2
	pin-project@1.1.4
	pin-project-internal@1.1.4
	pin-project-lite@0.2.13
	pin-utils@0.1.0
	portable-atomic@1.6.0
	postgis@0.9.0
	postgres-protocol@0.6.6
	postgres-types@0.2.6
	powerfmt@0.2.0
	ppv-lite86@0.2.17
	pretty_assertions@1.4.0
	proc-macro-hack@0.5.20+deprecated
	proc-macro2@1.0.78
	prost@0.11.9
	prost-derive@0.11.9
	prost-types@0.11.9
	quanta@0.11.1
	quote@1.0.35
	radix_trie@0.2.1
	rand@0.8.5
	rand_chacha@0.3.1
	rand_core@0.6.4
	raw-cpuid@10.7.0
	redox_syscall@0.4.1
	redox_users@0.4.4
	regex@1.10.3
	regex-automata@0.1.10
	regex-automata@0.4.5
	regex-syntax@0.6.29
	regex-syntax@0.8.2
	reqwest@0.11.23
	ring@0.16.20
	ring@0.17.7
	rle-decode-fast@1.0.3
	rustc-demangle@0.1.23
	rustc_version@0.4.0
	rustix@0.38.30
	rustls@0.19.1
	rustls@0.20.9
	rustls@0.21.10
	rustls@0.22.2
	rustls-native-certs@0.5.0
	rustls-native-certs@0.6.3
	rustls-pemfile@1.0.4
	rustls-pki-types@1.1.0
	rustls-webpki@0.101.7
	rustls-webpki@0.102.1
	rustversion@1.0.14
	ryu@1.0.16
	same-file@1.0.6
	schannel@0.1.23
	scopeguard@1.2.0
	sct@0.6.1
	sct@0.7.1
	seahash@4.1.0
	security-framework@2.9.2
	security-framework-sys@2.9.1
	semver@1.0.21
	serde@1.0.195
	serde_derive@1.0.195
	serde_json@1.0.111
	serde_urlencoded@0.7.1
	sha-1@0.10.1
	sha1@0.10.6
	sha2@0.10.8
	sharded-slab@0.1.7
	signal-hook-registry@1.4.1
	siphasher@0.3.11
	sketches-ddsketch@0.2.1
	slab@0.4.9
	smallvec@1.13.1
	socket2@0.5.5
	spin@0.5.2
	spin@0.9.8
	static_assertions@1.1.0
	stringprep@0.1.4
	strsim@0.10.0
	strum@0.25.0
	strum_macros@0.25.3
	subtle@2.5.0
	syn@1.0.109
	syn@2.0.48
	sync_wrapper@0.1.2
	system-configuration@0.5.1
	system-configuration-sys@0.5.0
	tempfile@3.9.0
	termcolor@1.4.1
	terminal_size@0.3.0
	thiserror@1.0.56
	thiserror-impl@1.0.56
	thread_local@1.1.7
	time@0.3.31
	time-core@0.1.2
	time-macros@0.2.16
	tinyvec@1.6.0
	tinyvec_macros@0.1.1
	tokio@1.35.1
	tokio-io-timeout@1.2.0
	tokio-macros@2.2.0
	tokio-postgres@0.7.10
	tokio-postgres-rustls@0.9.0
	tokio-rustls@0.22.0
	tokio-rustls@0.23.4
	tokio-rustls@0.24.1
	tokio-stream@0.1.14
	tokio-util@0.6.10
	tokio-util@0.7.10
	toml_datetime@0.6.5
	toml_edit@0.19.15
	tonic@0.9.2
	tower@0.4.13
	tower-layer@0.3.2
	tower-service@0.3.2
	tracing@0.1.40
	tracing-attributes@0.1.27
	tracing-core@0.1.32
	tracing-futures@0.2.5
	tracing-log@0.1.4
	tracing-log@0.2.0
	tracing-opentelemetry@0.21.0
	tracing-subscriber@0.3.18
	try-lock@0.2.5
	typenum@1.17.0
	unicase@2.7.0
	unicode-bidi@0.3.15
	unicode-ident@1.0.12
	unicode-normalization@0.1.22
	unicode-width@0.1.11
	untrusted@0.7.1
	untrusted@0.9.0
	url@2.5.0
	urlencoding@2.1.3
	utf8parse@0.2.1
	uuid@1.7.0
	valuable@0.1.0
	version_check@0.9.4
	walkdir@2.4.0
	want@0.3.1
	wasi@0.11.0+wasi-snapshot-preview1
	wasm-bindgen@0.2.90
	wasm-bindgen-backend@0.2.90
	wasm-bindgen-futures@0.4.40
	wasm-bindgen-macro@0.2.90
	wasm-bindgen-macro-support@0.2.90
	wasm-bindgen-shared@0.2.90
	wasm-streams@0.3.0
	web-sys@0.3.67
	webpki@0.21.4
	webpki@0.22.4
	whoami@1.4.1
	winapi@0.3.9
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.6
	winapi-x86_64-pc-windows-gnu@0.4.0
	windows-core@0.52.0
	windows-sys@0.48.0
	windows-sys@0.52.0
	windows-targets@0.48.5
	windows-targets@0.52.0
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_gnullvm@0.52.0
	windows_aarch64_msvc@0.48.5
	windows_aarch64_msvc@0.52.0
	windows_i686_gnu@0.48.5
	windows_i686_gnu@0.52.0
	windows_i686_msvc@0.48.5
	windows_i686_msvc@0.52.0
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnu@0.52.0
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_gnullvm@0.52.0
	windows_x86_64_msvc@0.48.5
	windows_x86_64_msvc@0.52.0
	winnow@0.5.34
	winreg@0.50.0
	yansi@0.5.1
	yup-oauth2@6.1.0
	yup-oauth2@8.3.2
	zerocopy@0.7.32
	zerocopy-derive@0.7.32
	zeroize@1.7.0"

inherit cargo

DESCRIPTION="Copy tabular data between databases, CSV files and cloud storage"
HOMEPAGE="https://www.dbcrossbar.org"
SRC_URI="${CARGO_CRATE_URIS}"

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 ~x86"

QA_FLAGS_IGNORED="usr/bin/dbcrossbar"

src_install() {
	einstalldocs
	cargo_src_install
}