PORTNAME=	mise
DISTVERSIONPREFIX=	v
DISTVERSION=	2025.12.13
CATEGORIES=	sysutils

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Runtime Executor (asdf rust clone)
WWW=		https://mise.jdx.dev/ \
		https://github.com/jdx/mise

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_armv7=	compilation fails: LLVM ERROR: out of memory

BUILD_DEPENDS=	rust-nightly>0:lang/rust-nightly # because feature `edition2024` is required
BUILD_DEPENDS+=	${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/libclang.so:devel/llvm${LLVM_DEFAULT}
LIB_DEPENDS=	libgit2.so:devel/libgit2 \
		libssh2.so:security/libssh2 \
		libzstd.so:archivers/zstd
RUN_DEPENDS=	${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/libclang.so:devel/llvm${LLVM_DEFAULT}

USES=		cargo localbase:ldflags pkgconfig ssl

USE_GITHUB=	yes
GH_ACCOUNT=	jdx

CARGO_BUILDDEP=	no
CARGO_CRATES=	addr2line-0.25.1 \
		adler2-2.0.1 \
		aead-0.5.2 \
		aes-0.8.4 \
		aes-gcm-0.10.3 \
		age-0.11.1 \
		age-core-0.11.0 \
		ahash-0.7.8 \
		ahash-0.8.12 \
		aho-corasick-1.1.4 \
		allocator-api2-0.2.21 \
		android_system_properties-0.1.5 \
		ansi-str-0.9.0 \
		ansitok-0.3.0 \
		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 \
		arbitrary-1.4.2 \
		arc-swap-1.7.1 \
		arrayref-0.3.9 \
		arrayvec-0.7.6 \
		asn1-rs-0.7.1 \
		asn1-rs-derive-0.6.0 \
		asn1-rs-impl-0.2.0 \
		assert-json-diff-2.0.2 \
		async-backtrace-0.2.7 \
		async-backtrace-attributes-0.2.7 \
		async-compression-0.4.34 \
		async-recursion-1.1.1 \
		async-trait-0.1.89 \
		atomic-waker-1.1.2 \
		autocfg-1.5.0 \
		aws-lc-fips-sys-0.13.10 \
		aws-lc-rs-1.15.1 \
		aws-lc-sys-0.34.0 \
		backtrace-0.3.76 \
		base16ct-0.2.0 \
		base64-0.13.1 \
		base64-0.21.7 \
		base64-0.22.1 \
		base64ct-1.8.0 \
		basic-toml-0.1.10 \
		bcrypt-pbkdf-0.10.0 \
		bech32-0.9.1 \
		beef-0.5.2 \
		bindgen-0.72.1 \
		binstall-tar-0.4.42 \
		bit-set-0.6.0 \
		bit-vec-0.7.0 \
		bitflags-2.10.0 \
		blake3-1.8.2 \
		block-buffer-0.10.4 \
		block-padding-0.3.3 \
		blowfish-0.9.1 \
		bstr-1.12.1 \
		built-0.8.0 \
		bumpalo-3.19.0 \
		bytecount-0.6.9 \
		byteorder-1.5.0 \
		bytes-1.11.0 \
		bytesize-2.3.0 \
		bzip2-0.5.2 \
		bzip2-0.6.1 \
		bzip2-sys-0.1.13+1.0.8 \
		calm_io-0.1.1 \
		calmio_filters-0.1.0 \
		cbc-0.1.2 \
		cc-1.2.47 \
		cesu8-1.1.0 \
		cexpr-0.6.0 \
		cfg-if-1.0.4 \
		cfg_aliases-0.2.1 \
		chacha20-0.9.1 \
		chacha20poly1305-0.10.1 \
		chrono-0.4.42 \
		chrono-tz-0.9.0 \
		chrono-tz-build-0.3.0 \
		ci_info-0.14.15 \
		cipher-0.4.4 \
		clang-sys-1.8.1 \
		clap-4.5.53 \
		clap-sort-1.0.3 \
		clap_builder-4.5.53 \
		clap_derive-4.5.49 \
		clap_lex-0.7.6 \
		clru-0.6.2 \
		cmake-0.1.54 \
		color-eyre-0.6.5 \
		color-print-0.3.7 \
		color-print-proc-macro-0.3.7 \
		color-spantrace-0.3.0 \
		colorchoice-1.0.4 \
		colored-3.0.0 \
		combine-4.6.7 \
		comfy-table-7.2.1 \
		compression-codecs-0.4.33 \
		compression-core-0.4.31 \
		confique-0.3.1 \
		confique-macro-0.0.12 \
		console-0.15.11 \
		console-0.16.1 \
		const-oid-0.9.6 \
		const_format-0.2.35 \
		const_format_proc_macros-0.2.34 \
		constant_time_eq-0.3.1 \
		contracts-0.6.7 \
		cookie-factory-0.3.3 \
		core-foundation-0.9.4 \
		core-foundation-0.10.1 \
		core-foundation-sys-0.8.7 \
		countme-3.0.1 \
		cpufeatures-0.2.17 \
		crc-3.3.0 \
		crc-catalog-2.4.0 \
		crc32fast-1.5.0 \
		crossbeam-channel-0.5.15 \
		crossbeam-deque-0.8.6 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.21 \
		crossterm-0.29.0 \
		crossterm_winapi-0.9.1 \
		crypto-bigint-0.5.5 \
		crypto-common-0.1.7 \
		crypto_secretbox-0.1.1 \
		ctor-0.4.3 \
		ctor-proc-macro-0.0.6 \
		ctr-0.9.2 \
		curve25519-dalek-4.1.3 \
		curve25519-dalek-derive-0.1.1 \
		darling-0.20.11 \
		darling-0.21.3 \
		darling_core-0.20.11 \
		darling_core-0.21.3 \
		darling_macro-0.20.11 \
		darling_macro-0.21.3 \
		dashmap-5.5.3 \
		dashmap-6.1.0 \
		data-encoding-2.9.0 \
		deadpool-0.12.3 \
		deadpool-runtime-0.1.4 \
		decoded-char-0.1.1 \
		deflate64-0.1.10 \
		demand-1.7.2 \
		der-0.7.10 \
		der-parser-10.0.0 \
		der_derive-0.7.3 \
		deranged-0.5.5 \
		derive_arbitrary-1.4.2 \
		derive_builder-0.20.2 \
		derive_builder_core-0.20.2 \
		derive_builder_macro-0.20.2 \
		derive_more-2.0.1 \
		derive_more-impl-2.0.1 \
		deunicode-1.6.2 \
		diff-0.1.13 \
		digest-0.10.7 \
		directories-6.0.0 \
		dirs-sys-0.5.0 \
		displaydoc-0.2.5 \
		document-features-0.2.12 \
		dotenvy-0.15.7 \
		dtor-0.0.6 \
		dtor-proc-macro-0.0.5 \
		duct-0.13.7 \
		duct-1.1.1 \
		dunce-1.0.5 \
		dyn-clone-1.0.20 \
		ecdsa-0.16.9 \
		ed25519-2.2.3 \
		ed25519-dalek-2.2.0 \
		either-1.15.0 \
		elliptic-curve-0.13.8 \
		encode_unicode-1.0.0 \
		encoding_rs-0.8.35 \
		env_filter-0.1.4 \
		env_home-0.1.0 \
		env_logger-0.11.8 \
		envmnt-0.10.4 \
		equivalent-1.0.2 \
		erased-serde-0.4.9 \
		errno-0.2.8 \
		errno-0.3.14 \
		errno-dragonfly-0.1.2 \
		exec-0.3.1 \
		expr-lang-0.3.2 \
		eyre-0.6.12 \
		faster-hex-0.10.0 \
		fastrand-2.3.0 \
		ff-0.13.1 \
		fiat-crypto-0.2.9 \
		filetime-0.2.26 \
		filetime_creation-0.2.0 \
		find-crate-0.6.3 \
		find-msvc-tools-0.1.5 \
		fixedbitset-0.5.7 \
		flagset-0.4.7 \
		flate2-1.1.5 \
		fluent-0.16.1 \
		fluent-bundle-0.15.3 \
		fluent-langneg-0.13.1 \
		fluent-syntax-0.11.1 \
		fnv-1.0.7 \
		foldhash-0.1.5 \
		foldhash-0.2.0 \
		foreign-types-0.3.2 \
		foreign-types-shared-0.1.1 \
		form_urlencoded-1.2.2 \
		fs_extra-1.3.0 \
		fsio-0.4.1 \
		fslock-0.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 \
		fuzzy-matcher-0.3.7 \
		generator-0.7.5 \
		generic-array-0.14.7 \
		getrandom-0.2.16 \
		getrandom-0.3.4 \
		getset-0.1.6 \
		ghash-0.5.1 \
		gimli-0.32.3 \
		gix-0.75.0 \
		gix-actor-0.36.0 \
		gix-archive-0.24.0 \
		gix-attributes-0.28.1 \
		gix-bitmap-0.2.15 \
		gix-blame-0.5.0 \
		gix-chunk-0.4.12 \
		gix-command-0.6.3 \
		gix-commitgraph-0.30.1 \
		gix-config-0.48.0 \
		gix-config-value-0.15.3 \
		gix-credentials-0.32.0 \
		gix-date-0.11.0 \
		gix-diff-0.55.0 \
		gix-dir-0.17.0 \
		gix-discover-0.43.0 \
		gix-features-0.44.1 \
		gix-filter-0.22.0 \
		gix-fs-0.17.0 \
		gix-glob-0.22.1 \
		gix-hash-0.20.1 \
		gix-hashtable-0.10.0 \
		gix-ignore-0.17.1 \
		gix-index-0.43.0 \
		gix-lock-19.0.0 \
		gix-mailmap-0.28.0 \
		gix-negotiate-0.23.0 \
		gix-object-0.52.0 \
		gix-odb-0.72.0 \
		gix-pack-0.62.0 \
		gix-packetline-0.20.0 \
		gix-path-0.10.22 \
		gix-pathspec-0.13.0 \
		gix-prompt-0.11.2 \
		gix-protocol-0.53.0 \
		gix-quote-0.6.1 \
		gix-ref-0.55.0 \
		gix-refspec-0.33.0 \
		gix-revision-0.37.0 \
		gix-revwalk-0.23.0 \
		gix-sec-0.12.2 \
		gix-shallow-0.6.0 \
		gix-status-0.22.0 \
		gix-submodule-0.22.0 \
		gix-tempfile-19.0.1 \
		gix-trace-0.1.15 \
		gix-transport-0.50.0 \
		gix-traverse-0.49.0 \
		gix-url-0.33.2 \
		gix-utils-0.3.1 \
		gix-validate-0.10.1 \
		gix-worktree-0.44.0 \
		gix-worktree-state-0.22.0 \
		gix-worktree-stream-0.24.0 \
		glob-0.3.3 \
		globset-0.4.18 \
		globwalk-0.9.1 \
		group-0.13.0 \
		h2-0.4.12 \
		hash32-0.3.1 \
		hashbrown-0.12.3 \
		hashbrown-0.14.5 \
		hashbrown-0.15.5 \
		hashbrown-0.16.1 \
		heapless-0.8.0 \
		heck-0.5.0 \
		hermit-abi-0.5.2 \
		hex-0.4.3 \
		hkdf-0.12.4 \
		hmac-0.12.1 \
		homedir-0.3.6 \
		http-1.3.1 \
		http-auth-0.1.10 \
		http-body-1.0.1 \
		http-body-util-0.1.3 \
		httparse-1.10.1 \
		httpdate-1.0.3 \
		human_format-1.1.0 \
		humansize-2.1.3 \
		hyper-1.8.1 \
		hyper-rustls-0.27.7 \
		hyper-tls-0.6.0 \
		hyper-util-0.1.18 \
		i18n-config-0.4.8 \
		i18n-embed-0.15.4 \
		i18n-embed-fl-0.9.4 \
		i18n-embed-impl-0.8.4 \
		iana-time-zone-0.1.64 \
		iana-time-zone-haiku-0.1.2 \
		icu_collections-2.1.1 \
		icu_locale_core-2.1.1 \
		icu_normalizer-2.1.1 \
		icu_normalizer_data-2.1.1 \
		icu_properties-2.1.1 \
		icu_properties_data-2.1.1 \
		icu_provider-2.1.1 \
		ident_case-1.0.1 \
		idna-1.1.0 \
		idna_adapter-1.2.1 \
		ignore-0.4.25 \
		imara-diff-0.1.8 \
		impl-tools-0.10.3 \
		impl-tools-lib-0.11.4 \
		indenter-0.3.4 \
		indexmap-1.9.3 \
		indexmap-2.12.1 \
		indicatif-0.17.11 \
		indicatif-0.18.3 \
		indoc-2.0.7 \
		inout-0.1.4 \
		insta-1.44.1 \
		intl-memoizer-0.5.3 \
		intl_pluralrules-7.0.2 \
		io-close-0.3.7 \
		io_tee-0.1.1 \
		ipnet-2.11.0 \
		iri-string-0.7.9 \
		is_terminal_polyfill-1.70.2 \
		itertools-0.10.5 \
		itertools-0.13.0 \
		itertools-0.14.0 \
		itoa-1.0.15 \
		jiff-0.2.16 \
		jiff-static-0.2.16 \
		jiff-tzdb-0.1.4 \
		jiff-tzdb-platform-0.1.3 \
		jni-0.21.1 \
		jni-sys-0.3.0 \
		jobserver-0.1.34 \
		js-sys-0.3.82 \
		json-number-0.4.9 \
		json-syntax-0.12.5 \
		junction-1.3.0 \
		jwt-0.16.0 \
		kdl-6.5.0 \
		kstring-2.0.2 \
		lazy-regex-3.4.2 \
		lazy-regex-proc_macros-3.4.2 \
		lazy_static-1.5.0 \
		lexical-7.0.5 \
		lexical-core-1.0.6 \
		lexical-parse-float-1.0.6 \
		lexical-parse-integer-1.0.6 \
		lexical-util-1.0.7 \
		lexical-write-float-1.0.6 \
		lexical-write-integer-1.0.6 \
		libbz2-rs-sys-0.2.2 \
		libc-0.2.177 \
		libloading-0.8.9 \
		libm-0.2.15 \
		libredox-0.1.10 \
		libz-rs-sys-0.5.2 \
		linux-raw-sys-0.11.0 \
		litemap-0.8.1 \
		litrs-1.0.0 \
		lock_api-0.4.14 \
		locspan-0.8.2 \
		locspan-derive-0.6.0 \
		log-0.4.28 \
		logos-0.12.1 \
		logos-derive-0.12.1 \
		loom-0.5.6 \
		lru-slab-0.1.2 \
		lua-src-548.1.2 \
		luajit-src-210.6.4+e17ee83 \
		lzma-rs-0.3.0 \
		lzma-rust-0.1.7 \
		lzma-rust2-0.13.0 \
		lzma-rust2-0.15.2 \
		lzma-sys-0.1.20 \
		matchers-0.2.0 \
		maybe-async-0.2.10 \
		md-5-0.10.6 \
		memchr-2.7.6 \
		memmap2-0.9.9 \
		memoffset-0.9.1 \
		miette-7.6.0 \
		miette-derive-7.6.0 \
		mime-0.3.17 \
		mime_guess-2.0.5 \
		minimal-lexical-0.2.1 \
		minisign-verify-0.2.4 \
		miniz_oxide-0.8.9 \
		mio-1.1.0 \
		mlua-0.11.5 \
		mlua-sys-0.9.0 \
		mlua_derive-0.11.0 \
		mockito-1.7.0 \
		multimap-0.10.1 \
		native-tls-0.2.14 \
		ndk-context-0.1.1 \
		netrc-rs-0.1.2 \
		nix-0.30.1 \
		nom-7.1.3 \
		nom-8.0.0 \
		nt-time-0.8.1 \
		nu-ansi-term-0.50.3 \
		num-0.4.3 \
		num-bigint-0.4.6 \
		num-bigint-dig-0.8.6 \
		num-complex-0.4.6 \
		num-conv-0.1.0 \
		num-integer-0.1.46 \
		num-iter-0.1.45 \
		num-rational-0.4.2 \
		num-traits-0.2.19 \
		num_cpus-1.17.0 \
		number_prefix-0.4.0 \
		oauth2-5.0.0 \
		objc2-0.6.3 \
		objc2-encode-4.1.0 \
		objc2-foundation-0.3.2 \
		object-0.37.3 \
		oci-client-0.15.0 \
		oci-spec-0.8.3 \
		oid-registry-0.8.1 \
		olpc-cjson-0.1.4 \
		once_cell-1.21.3 \
		once_cell_polyfill-1.70.2 \
		opaque-debug-0.3.1 \
		openidconnect-4.0.1 \
		openssl-0.10.75 \
		openssl-macros-0.1.1 \
		openssl-probe-0.1.6 \
		openssl-sys-0.9.111 \
		option-ext-0.2.0 \
		ordered-float-2.10.1 \
		os-release-0.1.0 \
		os_pipe-1.2.3 \
		owo-colors-4.2.3 \
		p256-0.13.2 \
		p384-0.13.1 \
		papergrid-0.17.0 \
		parking_lot-0.12.5 \
		parking_lot_core-0.9.12 \
		parse-zoneinfo-0.3.1 \
		password-hash-0.5.0 \
		paste-1.0.15 \
		path-absolutize-3.1.1 \
		path-dedot-3.1.1 \
		pbkdf2-0.12.2 \
		pem-3.0.6 \
		pem-rfc7468-0.7.0 \
		percent-encoding-2.3.2 \
		pest-2.8.4 \
		pest_derive-2.8.4 \
		pest_generator-2.8.4 \
		pest_meta-2.8.4 \
		petgraph-0.7.1 \
		petgraph-0.8.3 \
		phf-0.11.3 \
		phf_codegen-0.11.3 \
		phf_generator-0.11.3 \
		phf_shared-0.11.3 \
		pin-project-1.1.10 \
		pin-project-internal-1.1.10 \
		pin-project-lite-0.2.16 \
		pin-utils-0.1.0 \
		pkcs1-0.7.5 \
		pkcs5-0.7.1 \
		pkcs8-0.10.2 \
		pkg-config-0.3.32 \
		platforms-3.7.0 \
		poly1305-0.8.0 \
		polyval-0.6.2 \
		portable-atomic-1.11.1 \
		portable-atomic-util-0.2.4 \
		potential_utf-0.1.4 \
		powerfmt-0.2.0 \
		ppmd-rust-1.3.0 \
		ppv-lite86-0.2.21 \
		pretty_assertions-1.4.1 \
		prettyplease-0.2.37 \
		primeorder-0.13.6 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro-error-attr2-2.0.0 \
		proc-macro-error2-2.0.1 \
		proc-macro2-1.0.103 \
		prodash-30.0.1 \
		prost-0.13.5 \
		prost-build-0.13.5 \
		prost-derive-0.13.5 \
		prost-reflect-0.14.7 \
		prost-reflect-0.15.3 \
		prost-reflect-build-0.15.2 \
		prost-reflect-derive-0.14.0 \
		prost-reflect-derive-0.15.1 \
		prost-types-0.13.5 \
		quick-xml-0.37.5 \
		quinn-0.11.9 \
		quinn-proto-0.11.13 \
		quinn-udp-0.5.14 \
		quote-1.0.42 \
		r-efi-5.3.0 \
		rand-0.8.5 \
		rand-0.9.2 \
		rand_chacha-0.3.1 \
		rand_chacha-0.9.0 \
		rand_core-0.6.4 \
		rand_core-0.9.3 \
		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.6.29 \
		regex-syntax-0.8.8 \
		reqwest-0.12.24 \
		rfc6979-0.4.0 \
		ring-0.17.14 \
		rmcp-0.3.2 \
		rmcp-macros-0.3.2 \
		rmp-0.8.14 \
		rmp-serde-1.3.0 \
		roff-0.2.2 \
		rops-0.1.5 \
		rowan-0.15.17 \
		rsa-0.9.9 \
		rust-embed-8.9.0 \
		rust-embed-impl-8.9.0 \
		rust-embed-utils-8.9.0 \
		rustc-demangle-0.1.26 \
		rustc-hash-1.1.0 \
		rustc-hash-2.1.1 \
		rustc_version-0.4.1 \
		rusticata-macros-4.1.0 \
		rustix-1.1.2 \
		rustls-0.23.35 \
		rustls-native-certs-0.8.2 \
		rustls-pki-types-1.13.0 \
		rustls-webpki-0.103.8 \
		rustversion-1.0.22 \
		ryu-1.0.20 \
		ryu-js-0.2.2 \
		salsa20-0.10.2 \
		same-file-1.0.6 \
		scc-2.4.0 \
		schannel-0.1.28 \
		schemars-0.9.0 \
		schemars-1.1.0 \
		schemars_derive-1.1.0 \
		scoped-tls-1.0.1 \
		scopeguard-1.2.0 \
		scrypt-0.11.0 \
		sdd-3.0.10 \
		sec1-0.7.3 \
		secrecy-0.10.3 \
		security-framework-2.11.1 \
		security-framework-3.5.1 \
		security-framework-sys-2.15.0 \
		self-replace-1.5.0 \
		self_cell-0.10.3 \
		self_cell-1.2.1 \
		self_update-0.42.0 \
		semver-1.0.27 \
		serde-1.0.228 \
		serde-value-0.7.0 \
		serde_core-1.0.228 \
		serde_derive-1.0.228 \
		serde_derive_internals-0.29.1 \
		serde_ignored-0.1.14 \
		serde_json-1.0.145 \
		serde_path_to_error-0.1.20 \
		serde_plain-1.0.2 \
		serde_regex-1.1.0 \
		serde_repr-0.1.20 \
		serde_spanned-0.6.9 \
		serde_urlencoded-0.7.1 \
		serde_with-3.16.0 \
		serde_with_macros-3.16.0 \
		serde_yaml-0.9.34+deprecated \
		serial_test-3.2.0 \
		serial_test_derive-3.2.0 \
		sevenz-rust-0.6.1 \
		sevenz-rust2-0.19.4 \
		sha1-0.10.6 \
		sha1-checked-0.10.0 \
		sha2-0.10.9 \
		sharded-slab-0.1.7 \
		shared_child-1.1.1 \
		shared_thread-0.2.0 \
		shell-escape-0.1.5 \
		shell-words-1.1.0 \
		shlex-1.3.0 \
		sigchld-0.2.4 \
		signal-hook-0.3.18 \
		signal-hook-registry-1.4.7 \
		signature-2.2.0 \
		sigstore-0.12.1 \
		sigstore-protobuf-specs-derive-0.0.1 \
		sigstore-verification-0.1.8 \
		sigstore_protobuf_specs-0.4.3 \
		simd-adler32-0.3.7 \
		similar-2.7.0 \
		siphasher-1.0.1 \
		slab-0.4.11 \
		slug-0.1.6 \
		smallstr-0.3.1 \
		smallvec-1.15.1 \
		snafu-0.8.9 \
		snafu-derive-0.8.9 \
		socket2-0.6.1 \
		spin-0.9.8 \
		spki-0.7.3 \
		stable_deref_trait-1.2.1 \
		static_assertions-1.1.0 \
		strsim-0.11.1 \
		strum-0.27.2 \
		strum_macros-0.27.2 \
		subtle-2.6.1 \
		syn-1.0.109 \
		syn-2.0.111 \
		sync_wrapper-1.0.2 \
		synstructure-0.13.2 \
		sys-info-0.9.1 \
		system-configuration-0.6.1 \
		system-configuration-sys-0.6.0 \
		tabled-0.20.0 \
		tabled_derive-0.11.0 \
		taplo-0.14.0 \
		tar-0.4.44 \
		tempfile-3.23.0 \
		tera-1.20.1 \
		termcolor-1.4.1 \
		terminal_size-0.4.3 \
		test-log-0.2.18 \
		test-log-macros-0.2.18 \
		testing_table-0.3.0 \
		text-size-1.1.1 \
		thiserror-1.0.69 \
		thiserror-2.0.17 \
		thiserror-impl-1.0.69 \
		thiserror-impl-2.0.17 \
		thread_local-1.1.9 \
		time-0.3.44 \
		time-core-0.1.6 \
		time-macros-0.2.24 \
		tinystr-0.8.2 \
		tinyvec-1.10.0 \
		tinyvec_macros-0.1.1 \
		tls_codec-0.4.2 \
		tls_codec_derive-0.4.2 \
		tokio-1.48.0 \
		tokio-macros-2.6.0 \
		tokio-native-tls-0.3.1 \
		tokio-retry-0.3.0 \
		tokio-rustls-0.26.4 \
		tokio-util-0.7.17 \
		toml-0.5.11 \
		toml-0.8.23 \
		toml_datetime-0.6.11 \
		toml_edit-0.22.27 \
		toml_write-0.1.2 \
		tough-0.21.0 \
		tower-0.5.2 \
		tower-http-0.6.6 \
		tower-layer-0.3.3 \
		tower-service-0.3.3 \
		tracing-0.1.41 \
		tracing-attributes-0.1.30 \
		tracing-core-0.1.34 \
		tracing-error-0.2.1 \
		tracing-log-0.2.0 \
		tracing-subscriber-0.3.20 \
		try-lock-0.2.5 \
		type-map-0.5.1 \
		typed-path-0.9.3 \
		typeid-1.0.3 \
		typenum-1.19.0 \
		ubi-0.8.4 \
		ucd-trie-0.1.7 \
		uluru-3.1.0 \
		unic-langid-0.9.6 \
		unic-langid-impl-0.9.6 \
		unicase-2.8.1 \
		unicode-bom-2.0.3 \
		unicode-ident-1.0.22 \
		unicode-normalization-0.1.25 \
		unicode-segmentation-1.12.0 \
		unicode-width-0.1.14 \
		unicode-width-0.2.2 \
		unicode-xid-0.2.6 \
		unit-prefix-0.5.2 \
		universal-hash-0.5.1 \
		unsafe-libyaml-0.2.11 \
		untrusted-0.7.1 \
		untrusted-0.9.0 \
		url-2.5.7 \
		urlencoding-2.1.3 \
		usage-lib-2.9.0 \
		utf8-decode-1.0.1 \
		utf8_iter-1.0.4 \
		utf8parse-0.2.2 \
		valuable-0.1.1 \
		vcpkg-0.2.15 \
		version_check-0.9.5 \
		versions-6.3.2 \
		versions-7.0.0 \
		vte-0.14.1 \
		walkdir-2.5.0 \
		want-0.3.1 \
		wasi-0.11.1+wasi-snapshot-preview1 \
		wasip2-1.0.1+wasi-0.2.4 \
		wasm-bindgen-0.2.105 \
		wasm-bindgen-futures-0.4.55 \
		wasm-bindgen-macro-0.2.105 \
		wasm-bindgen-macro-support-0.2.105 \
		wasm-bindgen-shared-0.2.105 \
		wasm-streams-0.4.2 \
		web-sys-0.3.82 \
		web-time-1.1.0 \
		webbrowser-1.0.6 \
		webpki-roots-1.0.4 \
		which-7.0.3 \
		which-8.0.0 \
		widestring-1.2.1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.11 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-0.48.0 \
		windows-0.61.3 \
		windows-collections-0.2.0 \
		windows-core-0.61.2 \
		windows-core-0.62.2 \
		windows-future-0.2.1 \
		windows-implement-0.60.2 \
		windows-interface-0.59.3 \
		windows-link-0.1.3 \
		windows-link-0.2.1 \
		windows-numerics-0.2.0 \
		windows-registry-0.6.1 \
		windows-result-0.3.4 \
		windows-result-0.4.1 \
		windows-strings-0.4.2 \
		windows-strings-0.5.1 \
		windows-sys-0.45.0 \
		windows-sys-0.52.0 \
		windows-sys-0.59.0 \
		windows-sys-0.60.2 \
		windows-sys-0.61.2 \
		windows-targets-0.42.2 \
		windows-targets-0.48.5 \
		windows-targets-0.52.6 \
		windows-targets-0.53.5 \
		windows-threading-0.1.0 \
		windows_aarch64_gnullvm-0.42.2 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_gnullvm-0.53.1 \
		windows_aarch64_msvc-0.42.2 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_aarch64_msvc-0.53.1 \
		windows_i686_gnu-0.42.2 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnu-0.53.1 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_gnullvm-0.53.1 \
		windows_i686_msvc-0.42.2 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_i686_msvc-0.53.1 \
		windows_x86_64_gnu-0.42.2 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnu-0.53.1 \
		windows_x86_64_gnullvm-0.42.2 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_gnullvm-0.53.1 \
		windows_x86_64_msvc-0.42.2 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		windows_x86_64_msvc-0.53.1 \
		winnow-0.6.24 \
		winnow-0.7.13 \
		winsafe-0.0.19 \
		wiremock-0.6.5 \
		wit-bindgen-0.46.0 \
		writeable-0.6.2 \
		x25519-dalek-2.0.1 \
		x509-cert-0.2.5 \
		x509-parser-0.18.0 \
		xattr-1.6.1 \
		xx-2.3.0 \
		xz2-0.1.7 \
		yansi-1.0.1 \
		yoke-0.8.1 \
		yoke-derive-0.8.1 \
		zerocopy-0.8.28 \
		zerocopy-derive-0.8.28 \
		zerofrom-0.1.6 \
		zerofrom-derive-0.1.6 \
		zeroize-1.8.2 \
		zeroize_derive-1.4.2 \
		zerotrie-0.2.3 \
		zerovec-0.11.5 \
		zerovec-derive-0.11.2 \
		zip-2.4.2 \
		zip-3.0.0 \
		zip-6.0.0 \
		zipsign-api-0.1.5 \
		zlib-rs-0.5.2 \
		zopfli-0.8.3 \
		zstd-0.13.3 \
		zstd-safe-7.2.4 \
		zstd-sys-2.0.16+zstd.1.5.7

OPENSSLINC=	/usr/include
OPENSSLLIB=	/usr/lib

PLIST_FILES=	bin/${PORTNAME}

# Fix build on armv7, i386 and powerpc
# sys-info-0.9.1 crate issue: https://github.com/FillZpp/sys-info-rs/issues/80
post-patch:
	@${REINPLACE_CMD} \
	-e '/get_cpu/s|unsigned long|uint64_t|' \
	-e '/get_proc_total/s|unsigned long|uint64_t|' \
	${WRKSRC}/cargo-crates/sys-info-0.9.1/c/*.[ch]

.include <bsd.port.mk>
