PORTNAME=	tokio-console
DISTVERSIONPREFIX=	tokio-console-v
DISTVERSION=	0.1.13
PORTREVISION=	6
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Debugger for async rust
WWW=		https://github.com/tokio-rs/console

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/../LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	tokio-rs
GH_PROJECT=	console

WRKSRC_SUBDIR=	${PORTNAME}

CARGO_CRATES=	addr2line-0.21.0 \
		adler-1.0.2 \
		adler2-2.0.0 \
		aho-corasick-1.1.3 \
		allocator-api2-0.2.18 \
		anstream-0.6.17 \
		anstyle-1.0.10 \
		anstyle-parse-0.2.6 \
		anstyle-query-1.1.2 \
		anstyle-wincon-3.0.6 \
		anyhow-1.0.92 \
		async-stream-0.3.6 \
		async-stream-impl-0.3.6 \
		async-trait-0.1.83 \
		atomic-waker-1.1.2 \
		autocfg-1.4.0 \
		automod-1.0.14 \
		axum-0.7.7 \
		axum-core-0.4.5 \
		backtrace-0.3.71 \
		base64-0.21.7 \
		base64-0.22.1 \
		bitflags-2.6.0 \
		byteorder-1.5.0 \
		bytes-1.8.0 \
		cassowary-0.3.0 \
		castaway-0.2.3 \
		cc-1.1.31 \
		cfg-if-1.0.0 \
		clap-4.5.20 \
		clap_builder-4.5.20 \
		clap_complete-4.5.36 \
		clap_derive-4.5.18 \
		clap_lex-0.7.2 \
		color-eyre-0.6.3 \
		color-spantrace-0.2.1 \
		colorchoice-1.0.3 \
		compact_str-0.7.1 \
		content_inspector-0.2.4 \
		crc32fast-1.4.2 \
		crossbeam-channel-0.5.13 \
		crossbeam-deque-0.8.5 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.20 \
		crossterm-0.27.0 \
		crossterm_winapi-0.9.1 \
		dirs-5.0.1 \
		dirs-sys-0.4.1 \
		dunce-1.0.5 \
		either-1.13.0 \
		equivalent-1.0.1 \
		errno-0.3.9 \
		eyre-0.6.12 \
		fastrand-2.1.1 \
		filetime-0.2.25 \
		fixedbitset-0.4.2 \
		flate2-1.0.34 \
		fnv-1.0.7 \
		foldhash-0.1.3 \
		form_urlencoded-1.2.1 \
		futures-0.3.31 \
		futures-channel-0.3.31 \
		futures-core-0.3.31 \
		futures-executor-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.15 \
		gimli-0.28.1 \
		glob-0.3.1 \
		h2-0.4.6 \
		hashbrown-0.12.3 \
		hashbrown-0.15.0 \
		hdrhistogram-7.5.4 \
		heck-0.5.0 \
		hermit-abi-0.3.9 \
		http-1.1.0 \
		http-body-1.0.1 \
		http-body-util-0.1.2 \
		httparse-1.9.5 \
		httpdate-1.0.3 \
		humantime-2.1.0 \
		humantime-serde-1.1.1 \
		hyper-1.5.0 \
		hyper-timeout-0.5.1 \
		hyper-util-0.1.10 \
		idna-0.5.0 \
		indenter-0.3.3 \
		indexmap-1.9.3 \
		indexmap-2.6.0 \
		is_terminal_polyfill-1.70.1 \
		itertools-0.12.1 \
		itertools-0.13.0 \
		itoa-1.0.11 \
		lazy_static-1.5.0 \
		libc-0.2.161 \
		libredox-0.1.3 \
		linux-raw-sys-0.4.14 \
		lock_api-0.4.12 \
		log-0.4.22 \
		lru-0.12.5 \
		matchers-0.1.0 \
		matchit-0.7.3 \
		memchr-2.7.4 \
		mime-0.3.17 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.7.4 \
		miniz_oxide-0.8.0 \
		mio-0.8.11 \
		mio-1.0.2 \
		multimap-0.10.0 \
		nom-7.1.3 \
		normalize-line-endings-0.3.0 \
		nu-ansi-term-0.46.0 \
		num-traits-0.2.19 \
		object-0.32.2 \
		once_cell-1.20.2 \
		option-ext-0.2.0 \
		os_pipe-1.2.1 \
		overload-0.1.1 \
		owo-colors-3.5.0 \
		parking_lot-0.12.3 \
		parking_lot_core-0.9.10 \
		paste-1.0.15 \
		percent-encoding-2.3.1 \
		petgraph-0.6.5 \
		pin-project-1.1.7 \
		pin-project-internal-1.1.7 \
		pin-project-lite-0.2.15 \
		pin-utils-0.1.0 \
		ppv-lite86-0.2.20 \
		prettyplease-0.2.25 \
		proc-macro2-1.0.89 \
		prost-0.13.3 \
		prost-build-0.13.3 \
		prost-derive-0.13.3 \
		prost-types-0.13.3 \
		quote-1.0.37 \
		rand-0.8.5 \
		rand_chacha-0.3.1 \
		rand_core-0.6.4 \
		ratatui-0.26.3 \
		rayon-1.10.0 \
		rayon-core-1.12.1 \
		redox_syscall-0.5.7 \
		redox_users-0.4.6 \
		regex-1.11.1 \
		regex-automata-0.1.10 \
		regex-automata-0.4.8 \
		regex-syntax-0.6.29 \
		regex-syntax-0.8.5 \
		rustc-demangle-0.1.24 \
		rustix-0.38.38 \
		rustversion-1.0.18 \
		ryu-1.0.18 \
		same-file-1.0.6 \
		scopeguard-1.2.0 \
		serde-1.0.214 \
		serde_derive-1.0.214 \
		serde_json-1.0.132 \
		serde_spanned-0.6.8 \
		sharded-slab-0.1.7 \
		shlex-1.3.0 \
		signal-hook-0.3.17 \
		signal-hook-mio-0.2.4 \
		signal-hook-registry-1.4.2 \
		similar-2.6.0 \
		slab-0.4.9 \
		smallvec-1.13.2 \
		snapbox-0.6.19 \
		snapbox-macros-0.3.10 \
		socket2-0.5.7 \
		stability-0.2.1 \
		static_assertions-1.1.0 \
		strsim-0.11.1 \
		strum-0.26.3 \
		strum_macros-0.26.4 \
		syn-2.0.86 \
		sync_wrapper-0.1.2 \
		sync_wrapper-1.0.1 \
		tempfile-3.13.0 \
		terminal_size-0.4.0 \
		thiserror-1.0.66 \
		thiserror-impl-1.0.66 \
		thread_local-1.1.8 \
		tinyvec-1.8.0 \
		tinyvec_macros-0.1.1 \
		tokio-1.41.0 \
		tokio-macros-2.4.0 \
		tokio-stream-0.1.16 \
		tokio-util-0.7.12 \
		toml-0.5.11 \
		toml_datetime-0.6.8 \
		toml_edit-0.22.22 \
		tonic-0.12.3 \
		tonic-build-0.12.3 \
		tonic-web-0.12.3 \
		tower-0.4.13 \
		tower-0.5.1 \
		tower-http-0.5.2 \
		tower-layer-0.3.3 \
		tower-service-0.3.3 \
		tracing-0.1.40 \
		tracing-attributes-0.1.27 \
		tracing-core-0.1.32 \
		tracing-error-0.2.0 \
		tracing-journald-0.2.4 \
		tracing-log-0.2.0 \
		tracing-subscriber-0.3.18 \
		try-lock-0.2.5 \
		trycmd-0.15.8 \
		unicode-bidi-0.3.17 \
		unicode-ident-1.0.13 \
		unicode-normalization-0.1.24 \
		unicode-segmentation-1.12.0 \
		unicode-truncate-1.1.0 \
		unicode-width-0.1.14 \
		url-2.5.2 \
		utf8parse-0.2.2 \
		valuable-0.1.0 \
		wait-timeout-0.2.0 \
		walkdir-2.5.0 \
		want-0.3.1 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.9 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-sys-0.59.0 \
		windows-targets-0.48.5 \
		windows-targets-0.52.6 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		winnow-0.6.20 \
		zerocopy-0.7.35 \
		zerocopy-derive-0.7.35

PLIST_FILES=	bin/${PORTNAME}

PORTSCOUT=	limit:^tokio-console-v[0-9].*

.include <bsd.port.mk>
