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

# Auto-Generated by cargo-ebuild 0.5.1

EAPI=8

CRATES="
	aho-corasick-0.7.18
	anyhow-1.0.57
	arrayvec-0.5.2
	async-trait-0.1.53
	atty-0.2.14
	auto_impl-0.5.0
	autocfg-1.1.0
	bitflags-1.3.2
	bitvec-0.19.6
	bytecount-0.3.2
	bytecount-0.6.2
	bytes-1.1.0
	cfg-if-1.0.0
	clap-3.1.18
	clap_derive-3.1.18
	clap_lex-0.2.0
	colored-2.0.0
	dashmap-5.3.3
	dirs-next-2.0.0
	dirs-sys-next-0.1.2
	enquote-1.1.0
	form_urlencoded-1.0.1
	funty-1.1.0
	futures-0.3.21
	futures-channel-0.3.21
	futures-core-0.3.21
	futures-io-0.3.21
	futures-macro-0.3.21
	futures-sink-0.3.21
	futures-task-0.3.21
	futures-util-0.3.21
	getrandom-0.2.6
	hashbrown-0.11.2
	hashbrown-0.12.1
	heck-0.4.0
	hermit-abi-0.1.19
	httparse-1.7.1
	idna-0.2.3
	indexmap-1.8.1
	itoa-1.0.1
	lazy_static-1.4.0
	lexical-core-0.7.6
	libc-0.2.125
	libloading-0.7.3
	lock_api-0.4.7
	log-0.4.17
	lsp-types-0.93.0
	matches-0.1.9
	memchr-2.5.0
	nom-5.1.2
	nom-6.1.2
	nom-greedyerror-0.3.1
	nom-packrat-0.5.0
	nom-packrat-macros-0.5.0
	nom-recursive-0.3.0
	nom-recursive-macros-0.3.0
	nom-tracable-0.7.0
	nom-tracable-macros-0.7.0
	nom_locate-1.0.0
	nom_locate-2.1.0
	nom_locate-3.0.2
	num_threads-0.1.6
	once_cell-1.10.0
	os_str_bytes-6.0.0
	percent-encoding-2.1.0
	pin-project-1.0.10
	pin-project-internal-1.0.10
	pin-project-lite-0.2.9
	pin-utils-0.1.0
	proc-macro-error-1.0.4
	proc-macro-error-attr-1.0.4
	proc-macro2-1.0.38
	quote-1.0.18
	radium-0.5.3
	redox_syscall-0.2.13
	redox_users-0.4.3
	regex-1.5.5
	regex-syntax-0.6.25
	rustversion-1.0.6
	ryu-1.0.9
	same-file-1.0.6
	scopeguard-1.1.0
	serde-1.0.137
	serde_derive-1.0.137
	serde_json-1.0.81
	serde_regex-1.1.0
	serde_repr-0.1.8
	simplelog-0.12.0
	slab-0.4.6
	static_assertions-1.1.0
	str-concat-0.2.0
	strsim-0.10.0
	sv-filelist-parser-0.1.3
	sv-parser-0.11.3
	sv-parser-error-0.11.3
	sv-parser-macros-0.11.3
	sv-parser-parser-0.11.3
	sv-parser-pp-0.11.3
	sv-parser-syntaxtree-0.11.3
	svlint-0.5.4
	syn-1.0.92
	tap-1.0.1
	term-0.7.0
	termcolor-1.1.3
	textwrap-0.15.0
	thiserror-1.0.31
	thiserror-impl-1.0.31
	time-0.3.9
	time-macros-0.2.4
	tinyvec-1.6.0
	tinyvec_macros-0.1.0
	tokio-1.18.1
	tokio-macros-1.7.0
	tokio-util-0.7.1
	toml-0.5.9
	tower-0.4.12
	tower-layer-0.3.1
	tower-lsp-0.17.0
	tower-lsp-macros-0.6.0
	tower-service-0.3.1
	tracing-0.1.34
	tracing-attributes-0.1.21
	tracing-core-0.1.26
	unicode-bidi-0.3.8
	unicode-normalization-0.1.19
	unicode-xid-0.2.3
	url-2.2.2
	version_check-0.9.4
	walkdir-2.3.2
	wasi-0.10.2+wasi-snapshot-preview1
	winapi-0.3.9
	winapi-i686-pc-windows-gnu-0.4.0
	winapi-util-0.1.5
	winapi-x86_64-pc-windows-gnu-0.4.0
	wyz-0.2.0
"

inherit cargo

DESCRIPTION="SystemVerilog language server"
# Double check the homepage as the cargo_metadata crate
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/dalance/svls"
SRC_URI="
	https://github.com/dalance/svls/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	$(cargo_crate_uris)"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions Boost-1.0 ISC MIT MPL-2.0 Unlicense ZLIB"
SLOT="0"
KEYWORDS="~amd64"
