PORTNAME=	the-way
DISTVERSIONPREFIX=	v
DISTVERSION=	0.20.3
PORTREVISION=	19
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Code snippets manager for your terminal
WWW=		https://github.com/out-of-cheese-error/the-way

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	out-of-cheese-error

CARGO_CRATES=	addr2line-0.17.0 \
		adler-1.0.2 \
		aho-corasick-1.1.2 \
		android-tzdata-0.1.1 \
		android_system_properties-0.1.4 \
		anstream-0.6.11 \
		anstyle-1.0.0 \
		anstyle-parse-0.2.0 \
		anstyle-query-1.0.0 \
		anstyle-wincon-3.0.2 \
		arrayvec-0.7.2 \
		assert_cmd-2.0.13 \
		atty-0.2.14 \
		autocfg-1.1.0 \
		backtrace-0.3.66 \
		base64-0.13.0 \
		base64-0.21.5 \
		beef-0.5.2 \
		bincode-1.3.3 \
		bit-set-0.5.3 \
		bit-vec-0.6.3 \
		bitflags-1.3.2 \
		bitflags-2.4.1 \
		block-0.1.6 \
		bstr-1.8.0 \
		bumpalo-3.11.0 \
		byteorder-1.4.3 \
		cc-1.0.83 \
		cfg-if-1.0.0 \
		chrono-0.4.33 \
		chrono-english-0.1.7 \
		clap-3.2.23 \
		clap-4.4.18 \
		clap_builder-4.4.18 \
		clap_complete-4.4.9 \
		clap_derive-4.4.7 \
		clap_lex-0.2.4 \
		clap_lex-0.6.0 \
		clipboard-0.5.0 \
		clipboard-win-2.2.0 \
		color-eyre-0.6.2 \
		colorchoice-1.0.0 \
		confy-0.5.1 \
		conpty-0.5.1 \
		console-0.15.1 \
		core-foundation-sys-0.8.3 \
		crc32fast-1.3.2 \
		crossbeam-0.8.2 \
		crossbeam-channel-0.5.6 \
		crossbeam-deque-0.8.2 \
		crossbeam-epoch-0.9.10 \
		crossbeam-queue-0.3.6 \
		crossbeam-utils-0.8.11 \
		darling-0.14.2 \
		darling_core-0.14.2 \
		darling_macro-0.14.2 \
		defer-drop-1.3.0 \
		derive_builder-0.11.2 \
		derive_builder_core-0.11.2 \
		derive_builder_macro-0.11.2 \
		dialoguer-0.11.0 \
		difflib-0.4.0 \
		directories-4.0.1 \
		directories-next-1.0.3 \
		dirs-next-2.0.0 \
		dirs-sys-0.3.7 \
		dirs-sys-next-0.1.2 \
		doc-comment-0.3.3 \
		either-1.8.0 \
		encode_unicode-0.3.6 \
		env_logger-0.9.3 \
		equivalent-1.0.1 \
		errno-0.3.8 \
		expectrl-0.7.1 \
		eyre-0.6.12 \
		fancy-regex-0.11.0 \
		fastrand-2.0.1 \
		flate2-1.0.24 \
		float-cmp-0.9.0 \
		fnv-1.0.7 \
		form_urlencoded-1.2.1 \
		fs2-0.4.3 \
		fuzzy-matcher-0.3.7 \
		fxhash-0.2.1 \
		getrandom-0.2.11 \
		gimli-0.26.2 \
		globset-0.4.14 \
		grep-cli-0.1.10 \
		hashbrown-0.12.3 \
		hashbrown-0.14.3 \
		heck-0.4.1 \
		hermit-abi-0.1.19 \
		hex-0.4.3 \
		hoot-0.1.3 \
		hootbin-0.1.1 \
		httparse-1.8.0 \
		humantime-2.1.0 \
		iana-time-zone-0.1.46 \
		ident_case-1.0.1 \
		idna-0.3.0 \
		indenter-0.3.3 \
		indexmap-1.9.1 \
		indexmap-2.2.1 \
		indicatif-0.17.7 \
		instant-0.1.12 \
		itoa-1.0.3 \
		js-sys-0.3.59 \
		lazy_static-1.4.0 \
		libc-0.2.151 \
		line-wrap-0.1.1 \
		linked-hash-map-0.5.6 \
		linux-raw-sys-0.4.12 \
		lock_api-0.4.7 \
		log-0.4.20 \
		malloc_buf-0.0.6 \
		memchr-2.6.4 \
		memoffset-0.6.5 \
		memoffset-0.7.1 \
		miniz_oxide-0.5.3 \
		nix-0.24.2 \
		nix-0.25.1 \
		nix-0.26.2 \
		normalize-line-endings-0.3.0 \
		num-traits-0.2.15 \
		num_cpus-1.13.1 \
		num_threads-0.1.6 \
		number_prefix-0.4.0 \
		objc-0.2.7 \
		objc-foundation-0.1.1 \
		objc_id-0.1.1 \
		object-0.29.0 \
		once_cell-1.19.0 \
		os_str_bytes-6.3.0 \
		owo-colors-3.5.0 \
		parking_lot-0.11.2 \
		parking_lot_core-0.8.5 \
		percent-encoding-2.3.1 \
		pin-utils-0.1.0 \
		plist-1.3.1 \
		portable-atomic-1.6.0 \
		predicates-3.1.0 \
		predicates-core-1.0.6 \
		predicates-tree-1.0.5 \
		proc-macro2-1.0.78 \
		ptyprocess-0.4.1 \
		quote-1.0.35 \
		rayon-1.5.3 \
		rayon-core-1.9.3 \
		redox_syscall-0.2.16 \
		redox_syscall-0.4.1 \
		redox_users-0.4.3 \
		regex-1.10.3 \
		regex-automata-0.4.5 \
		regex-syntax-0.7.1 \
		regex-syntax-0.8.2 \
		ring-0.17.7 \
		rustc-demangle-0.1.21 \
		rustix-0.38.28 \
		rustls-0.22.2 \
		rustls-pki-types-1.1.0 \
		rustls-webpki-0.102.1 \
		rustversion-1.0.9 \
		ryu-1.0.11 \
		safemem-0.3.3 \
		same-file-1.0.6 \
		scanlex-0.1.4 \
		scopeguard-1.1.0 \
		serde-1.0.196 \
		serde_derive-1.0.196 \
		serde_json-1.0.113 \
		serde_yaml-0.9.31 \
		shell-words-1.1.0 \
		shlex-1.1.0 \
		skim-0.10.4 \
		sled-0.34.7 \
		smallvec-1.9.0 \
		spin-0.9.8 \
		static_assertions-1.1.0 \
		strsim-0.10.0 \
		strum-0.26.1 \
		strum_macros-0.26.1 \
		subtle-2.5.0 \
		syn-1.0.105 \
		syn-2.0.48 \
		syntect-5.1.0 \
		tempfile-3.9.0 \
		term-0.7.0 \
		termcolor-1.4.1 \
		terminal_size-0.1.17 \
		termtree-0.2.4 \
		textwrap-0.16.0 \
		thiserror-1.0.56 \
		thiserror-impl-1.0.56 \
		thread_local-1.1.4 \
		time-0.3.13 \
		timer-0.2.0 \
		tinyvec-1.6.0 \
		tinyvec_macros-0.1.0 \
		toml-0.5.9 \
		tuikit-0.5.0 \
		unicode-bidi-0.3.8 \
		unicode-ident-1.0.3 \
		unicode-normalization-0.1.21 \
		unicode-width-0.1.9 \
		unsafe-libyaml-0.2.10 \
		untrusted-0.9.0 \
		ureq-2.9.4 \
		url-2.3.1 \
		utf8parse-0.2.1 \
		vte-0.11.0 \
		vte_generate_state_changes-0.1.1 \
		wait-timeout-0.2.0 \
		walkdir-2.3.2 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.82 \
		wasm-bindgen-backend-0.2.82 \
		wasm-bindgen-macro-0.2.82 \
		wasm-bindgen-macro-support-0.2.82 \
		wasm-bindgen-shared-0.2.82 \
		webpki-roots-0.26.0 \
		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-0.44.0 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-targets-0.42.2 \
		windows-targets-0.48.0 \
		windows-targets-0.52.0 \
		windows_aarch64_gnullvm-0.42.2 \
		windows_aarch64_gnullvm-0.48.0 \
		windows_aarch64_gnullvm-0.52.0 \
		windows_aarch64_msvc-0.42.2 \
		windows_aarch64_msvc-0.48.0 \
		windows_aarch64_msvc-0.52.0 \
		windows_i686_gnu-0.42.2 \
		windows_i686_gnu-0.48.0 \
		windows_i686_gnu-0.52.0 \
		windows_i686_msvc-0.42.2 \
		windows_i686_msvc-0.48.0 \
		windows_i686_msvc-0.52.0 \
		windows_x86_64_gnu-0.42.2 \
		windows_x86_64_gnu-0.48.0 \
		windows_x86_64_gnu-0.52.0 \
		windows_x86_64_gnullvm-0.42.2 \
		windows_x86_64_gnullvm-0.48.0 \
		windows_x86_64_gnullvm-0.52.0 \
		windows_x86_64_msvc-0.42.2 \
		windows_x86_64_msvc-0.48.0 \
		windows_x86_64_msvc-0.52.0 \
		x11-clipboard-0.3.3 \
		xcb-0.8.2 \
		xml-rs-0.8.4 \
		yaml-rust-0.4.5 \
		zeroize-1.7.0

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
