PORTNAME=	outside
DISTVERSIONPREFIX=	v
DISTVERSION=	0.5.0
PORTREVISION=	4
CATEGORIES=	misc

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Multi-purpose weather client for your terminal
WWW=		https://github.com/BaconIsAVeg/outside

LICENSE=	AGPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	ca_root_nss>0:security/ca_root_nss

USES=		cargo ssl

USE_GITHUB=	yes
GH_ACCOUNT=	BaconIsAVeg

CARGO_ENV=	OPENSSL_NO_VENDOR=1

CARGO_CRATES=	addr2line-0.24.2 \
		adler2-2.0.1 \
		ahash-0.8.12 \
		android-tzdata-0.1.1 \
		android_system_properties-0.1.5 \
		anstream-0.6.19 \
		anstyle-1.0.11 \
		anstyle-parse-0.2.7 \
		anstyle-query-1.1.3 \
		anstyle-wincon-3.0.9 \
		anyhow-1.0.98 \
		arrayvec-0.7.6 \
		async-channel-1.9.0 \
		autocfg-1.5.0 \
		backtrace-0.3.75 \
		bit-set-0.5.3 \
		bit-set-0.8.0 \
		bit-vec-0.6.3 \
		bit-vec-0.8.0 \
		bitflags-1.3.2 \
		bitflags-2.9.1 \
		bumpalo-3.19.0 \
		byteorder-1.5.0 \
		bytes-1.10.1 \
		castaway-0.1.2 \
		castaway-0.2.4 \
		cc-1.2.30 \
		cfg-if-1.0.1 \
		chrono-0.4.41 \
		clap-4.5.41 \
		clap_builder-4.5.41 \
		clap_derive-4.5.41 \
		clap_lex-0.7.5 \
		cli-settings-derive-0.3.2 \
		colorchoice-1.0.4 \
		compact_str-0.8.1 \
		concurrent-queue-2.5.0 \
		core-foundation-sys-0.8.7 \
		crossbeam-channel-0.5.15 \
		crossbeam-utils-0.8.21 \
		crossterm-0.28.1 \
		crossterm_winapi-0.9.1 \
		curl-0.4.48 \
		curl-sys-0.4.82+curl-8.14.1 \
		cursive-0.21.1 \
		cursive-macros-0.1.0 \
		cursive_core-0.4.6 \
		darling-0.20.11 \
		darling_core-0.20.11 \
		darling_macro-0.20.11 \
		deranged-0.4.0 \
		dirs-next-2.0.0 \
		dirs-sys-next-0.1.2 \
		displaydoc-0.2.5 \
		encoding_rs-0.8.35 \
		enum-map-2.7.3 \
		enum-map-derive-0.17.0 \
		enumset-1.1.7 \
		enumset_derive-0.12.0 \
		equivalent-1.0.2 \
		errno-0.3.13 \
		event-listener-2.5.3 \
		fastrand-1.9.0 \
		fnv-1.0.7 \
		foreign-types-0.3.2 \
		foreign-types-shared-0.1.1 \
		form_urlencoded-1.2.1 \
		futures-core-0.3.31 \
		futures-io-0.3.31 \
		futures-lite-1.13.0 \
		getrandom-0.2.16 \
		getrandom-0.3.3 \
		gimli-0.31.1 \
		hashbrown-0.15.4 \
		heck-0.5.0 \
		http-0.2.12 \
		iana-time-zone-0.1.63 \
		iana-time-zone-haiku-0.1.2 \
		icu_collections-2.0.0 \
		icu_locale_core-2.0.0 \
		icu_normalizer-2.0.0 \
		icu_normalizer_data-2.0.0 \
		icu_properties-2.0.1 \
		icu_properties_data-2.0.1 \
		icu_provider-2.0.0 \
		ident_case-1.0.1 \
		idna-1.0.3 \
		idna_adapter-1.2.1 \
		indexmap-2.10.0 \
		instant-0.1.13 \
		io-uring-0.7.8 \
		is_terminal_polyfill-1.70.1 \
		isahc-1.7.2 \
		itoa-1.0.15 \
		js-sys-0.3.77 \
		lazy_static-1.5.0 \
		libc-0.2.174 \
		libnghttp2-sys-0.1.11+1.64.0 \
		libredox-0.1.6 \
		libz-sys-1.1.22 \
		linux-raw-sys-0.4.15 \
		litemap-0.8.0 \
		lock_api-0.4.13 \
		log-0.4.27 \
		memchr-2.7.5 \
		memoffset-0.9.1 \
		mime-0.3.17 \
		miniz_oxide-0.8.9 \
		mio-1.0.4 \
		num-0.4.3 \
		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_threads-0.1.7 \
		object-0.36.7 \
		once_cell-1.21.3 \
		once_cell_polyfill-1.70.1 \
		openssl-0.10.73 \
		openssl-macros-0.1.1 \
		openssl-probe-0.1.6 \
		openssl-src-300.5.1+3.5.1 \
		openssl-sys-0.9.109 \
		parking-2.2.1 \
		parking_lot-0.12.4 \
		parking_lot_core-0.9.11 \
		percent-encoding-2.3.1 \
		pin-project-1.1.10 \
		pin-project-internal-1.1.10 \
		pin-project-lite-0.2.16 \
		pkg-config-0.3.32 \
		polling-2.8.0 \
		potential_utf-0.1.2 \
		powerfmt-0.2.0 \
		proc-macro-error-attr2-2.0.0 \
		proc-macro-error2-2.0.1 \
		proc-macro2-1.0.95 \
		quote-1.0.40 \
		r-efi-5.3.0 \
		redox_syscall-0.5.15 \
		redox_users-0.4.6 \
		rustc-demangle-0.1.25 \
		rustc_version-0.4.1 \
		rustix-0.38.44 \
		rustversion-1.0.21 \
		ryu-1.0.20 \
		savefile-0.19.0 \
		savefile-derive-0.19.0 \
		schannel-0.1.27 \
		scopeguard-1.2.0 \
		semver-1.0.26 \
		serde-1.0.219 \
		serde_derive-1.0.219 \
		serde_json-1.0.141 \
		serde_with-3.14.0 \
		serde_with_macros-3.14.0 \
		serde_yaml-0.9.34+deprecated \
		shlex-1.3.0 \
		signal-hook-0.3.18 \
		signal-hook-mio-0.2.4 \
		signal-hook-registry-1.4.5 \
		slab-0.4.10 \
		sluice-0.5.5 \
		smallvec-1.15.1 \
		socket2-0.5.10 \
		stable_deref_trait-1.2.0 \
		static_assertions-1.1.0 \
		stringcase-0.4.0 \
		strsim-0.11.1 \
		syn-2.0.104 \
		synstructure-0.13.2 \
		termsize-0.1.9 \
		thiserror-1.0.69 \
		thiserror-impl-1.0.69 \
		time-0.3.41 \
		time-core-0.1.4 \
		time-macros-0.2.22 \
		tinystr-0.8.1 \
		tinytemplate-1.2.1 \
		tokio-1.46.1 \
		tokio-macros-2.5.0 \
		tracing-0.1.41 \
		tracing-attributes-0.1.30 \
		tracing-core-0.1.34 \
		tracing-futures-0.2.5 \
		unicode-ident-1.0.18 \
		unicode-segmentation-1.12.0 \
		unicode-width-0.1.14 \
		unsafe-libyaml-0.2.11 \
		url-2.5.4 \
		utf8_iter-1.0.4 \
		utf8parse-0.2.2 \
		vcpkg-0.2.15 \
		version_check-0.9.5 \
		waker-fn-1.2.0 \
		wasi-0.11.1+wasi-snapshot-preview1 \
		wasi-0.14.2+wasi-0.2.4 \
		wasm-bindgen-0.2.100 \
		wasm-bindgen-backend-0.2.100 \
		wasm-bindgen-macro-0.2.100 \
		wasm-bindgen-macro-support-0.2.100 \
		wasm-bindgen-shared-0.2.100 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-core-0.61.2 \
		windows-implement-0.60.0 \
		windows-interface-0.59.1 \
		windows-link-0.1.3 \
		windows-result-0.3.4 \
		windows-strings-0.4.2 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-sys-0.59.0 \
		windows-sys-0.60.2 \
		windows-targets-0.48.5 \
		windows-targets-0.52.6 \
		windows-targets-0.53.2 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_gnullvm-0.53.0 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_aarch64_msvc-0.53.0 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnu-0.53.0 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_gnullvm-0.53.0 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_i686_msvc-0.53.0 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnu-0.53.0 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_gnullvm-0.53.0 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		windows_x86_64_msvc-0.53.0 \
		wit-bindgen-rt-0.39.0 \
		writeable-0.6.1 \
		xi-unicode-0.3.0 \
		yoke-0.8.0 \
		yoke-derive-0.8.0 \
		zerocopy-0.8.26 \
		zerocopy-derive-0.8.26 \
		zerofrom-0.1.6 \
		zerofrom-derive-0.1.6 \
		zerotrie-0.2.2 \
		zerovec-0.11.2 \
		zerovec-derive-0.11.1

PLIST_FILES=	bin/outside

.include <bsd.port.mk>
