PORTNAME=	neocmakelsp
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9.0
CATEGORIES=	lang

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Cmake language server
WWW=		https://github.com/Decodetalkers/neocmakelsp

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	rust-nightly>0:lang/rust-nightly # feature `edition2024` is required

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	Decodetalkers

CARGO_BUILDDEP=	no
CARGO_CRATES=	aho-corasick-1.1.4 \
		anstream-0.6.21 \
		anstyle-1.0.13 \
		anstyle-parse-0.2.7 \
		anstyle-query-1.1.5 \
		anstyle-wincon-3.0.11 \
		anyhow-1.0.100 \
		assert_cmd-2.1.1 \
		auto_impl-1.3.0 \
		bitflags-2.10.0 \
		borrow-or-share-0.2.4 \
		bstr-1.12.1 \
		bytes-1.11.0 \
		cc-1.2.46 \
		cfg-if-1.0.4 \
		clap-4.5.51 \
		clap_builder-4.5.51 \
		clap_complete-4.5.60 \
		clap_derive-4.5.49 \
		clap_lex-0.7.6 \
		cli-table-0.5.0 \
		cli-table-derive-0.5.0 \
		colorchoice-1.0.4 \
		const-random-0.1.18 \
		const-random-macro-0.1.16 \
		crossbeam-deque-0.8.6 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.21 \
		crunchy-0.2.4 \
		csv-1.4.0 \
		csv-core-0.1.13 \
		dashmap-6.1.0 \
		difflib-0.4.0 \
		dirs-6.0.0 \
		dirs-sys-0.5.0 \
		dlv-list-0.5.2 \
		equivalent-1.0.2 \
		errno-0.3.14 \
		fastrand-2.3.0 \
		find-msvc-tools-0.1.5 \
		fluent-uri-0.3.2 \
		futures-0.3.31 \
		futures-channel-0.3.31 \
		futures-core-0.3.31 \
		futures-io-0.3.31 \
		futures-macro-0.3.31 \
		futures-sink-0.3.31 \
		futures-task-0.3.31 \
		futures-util-0.3.31 \
		getrandom-0.2.16 \
		getrandom-0.3.4 \
		glob-0.3.3 \
		globset-0.4.18 \
		hashbrown-0.14.5 \
		hashbrown-0.16.0 \
		heck-0.5.0 \
		httparse-1.10.1 \
		ignore-0.4.25 \
		indexmap-2.12.0 \
		is_executable-1.0.5 \
		is_terminal_polyfill-1.70.2 \
		itoa-1.0.15 \
		lazy_static-1.5.0 \
		libc-0.2.177 \
		libredox-0.1.10 \
		linux-raw-sys-0.11.0 \
		lock_api-0.4.14 \
		log-0.4.28 \
		lsp-types-f-0.99.0 \
		memchr-2.7.6 \
		mio-1.1.0 \
		nu-ansi-term-0.50.3 \
		once_cell-1.21.3 \
		once_cell_polyfill-1.70.2 \
		option-ext-0.2.0 \
		ordered-multimap-0.7.3 \
		parking_lot-0.12.5 \
		parking_lot_core-0.9.12 \
		path-absolutize-3.1.1 \
		path-dedot-3.1.1 \
		pathdiff-0.2.3 \
		percent-encoding-2.3.2 \
		pin-project-lite-0.2.16 \
		pin-utils-0.1.0 \
		predicates-3.1.3 \
		predicates-core-1.0.9 \
		predicates-tree-1.0.12 \
		proc-macro2-1.0.103 \
		quote-1.0.42 \
		r-efi-5.3.0 \
		redox_syscall-0.5.18 \
		redox_users-0.5.2 \
		ref-cast-1.0.25 \
		ref-cast-impl-1.0.25 \
		regex-1.12.2 \
		regex-automata-0.4.13 \
		regex-syntax-0.8.8 \
		rust-ini-0.21.3 \
		rustix-1.1.2 \
		ryu-1.0.20 \
		same-file-1.0.6 \
		scopeguard-1.2.0 \
		serde-1.0.228 \
		serde_core-1.0.228 \
		serde_derive-1.0.228 \
		serde_json-1.0.145 \
		serde_repr-0.1.20 \
		serde_spanned-1.0.3 \
		sharded-slab-0.1.7 \
		shlex-1.3.0 \
		signal-hook-registry-1.4.6 \
		slab-0.4.11 \
		smallvec-1.15.1 \
		socket2-0.6.1 \
		streaming-iterator-0.1.9 \
		strsim-0.11.1 \
		syn-2.0.110 \
		sync_wrapper-1.0.2 \
		tempfile-3.23.0 \
		termcolor-1.4.1 \
		termtree-0.5.1 \
		thiserror-2.0.17 \
		thiserror-impl-2.0.17 \
		thread_local-1.1.9 \
		tiny-keccak-2.0.2 \
		tokio-1.48.0 \
		tokio-macros-2.6.0 \
		tokio-util-0.7.17 \
		toml-0.9.8 \
		toml_datetime-0.7.3 \
		toml_parser-1.0.4 \
		toml_writer-1.0.4 \
		tower-0.5.2 \
		tower-layer-0.3.3 \
		tower-lsp-f-0.24.0 \
		tower-service-0.3.3 \
		tracing-0.1.41 \
		tracing-attributes-0.1.30 \
		tracing-core-0.1.34 \
		tracing-log-0.2.0 \
		tracing-subscriber-0.3.20 \
		tree-sitter-0.25.10 \
		tree-sitter-cmake-0.7.1 \
		tree-sitter-language-0.1.5 \
		treesitter_kind_collector-0.2.0 \
		unicode-ident-1.0.22 \
		unicode-width-0.2.2 \
		utf8parse-0.2.2 \
		valuable-0.1.1 \
		wait-timeout-0.2.1 \
		walkdir-2.5.0 \
		wasi-0.11.1+wasi-snapshot-preview1 \
		wasip2-1.0.1+wasi-0.2.4 \
		winapi-util-0.1.11 \
		windows-link-0.2.1 \
		windows-sys-0.60.2 \
		windows-sys-0.61.2 \
		windows-targets-0.53.5 \
		windows_aarch64_gnullvm-0.53.1 \
		windows_aarch64_msvc-0.53.1 \
		windows_i686_gnu-0.53.1 \
		windows_i686_gnullvm-0.53.1 \
		windows_i686_msvc-0.53.1 \
		windows_x86_64_gnu-0.53.1 \
		windows_x86_64_gnullvm-0.53.1 \
		windows_x86_64_msvc-0.53.1 \
		winnow-0.7.13 \
		wit-bindgen-0.46.0

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
