PORTNAME=	veryl
DISTVERSIONPREFIX=	v
DISTVERSION=	0.13.4
PORTREVISION=	1
CATEGORIES=	cad

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Veryl: A modern Hardware Description Language (HDL)
WWW=		https://github.com/dalance/veryl

LICENSE=	APACHE20 MIT
LICENSE_COMB=	dual
LICENSE_FILE_APACHE20=	${WRKSRC}/../../LICENSE-APACHE
LICENSE_FILE_MIT=	${WRKSRC}/../../LICENSE-MIT

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	dalance
GH_TUPLE=	veryl-lang:veryl.vim:1b53c65:veryl_lang_veryl_vim/support/vim \
		veryl-lang:doc:c54dceb:veryl_lang_doc/doc \
		veryl-lang:sourcemap-resolver:380f8c18e0e8b4555f3f503ed7d678683ea0a82f:veryl_lang_sourcemap_resolver/support/sourcemap-resolver

WRKSRC_SUBDIR=	crates/veryl

CARGO_CRATES=	addr2line-0.24.2 \
		adler2-2.0.0 \
		adler32-1.2.0 \
		ahash-0.8.11 \
		aho-corasick-1.1.3 \
		aligned-vec-0.6.1 \
		allocator-api2-0.2.21 \
		ammonia-4.0.0 \
		android-tzdata-0.1.1 \
		android_system_properties-0.1.5 \
		anes-0.1.6 \
		anstream-0.6.18 \
		anstyle-1.0.10 \
		anstyle-parse-0.2.6 \
		anstyle-query-1.1.2 \
		anstyle-wincon-3.0.6 \
		anyhow-1.0.95 \
		arc-swap-1.7.1 \
		arrayref-0.3.9 \
		arrayvec-0.7.6 \
		assert_cmd-2.0.16 \
		async-channel-2.3.1 \
		async-trait-0.1.84 \
		atoi-2.0.0 \
		auto_impl-1.2.0 \
		autocfg-1.4.0 \
		backtrace-0.3.74 \
		backtrace-ext-0.2.1 \
		base64-0.21.7 \
		base64-simd-0.7.0 \
		bimap-0.6.3 \
		bitflags-1.3.2 \
		bitflags-2.6.0 \
		bitvec-1.0.1 \
		blake3-1.5.5 \
		block-buffer-0.10.4 \
		bstr-1.11.3 \
		btoi-0.4.4 \
		bumpalo-3.16.0 \
		bytemuck-1.21.0 \
		byteorder-1.5.0 \
		bytes-1.9.0 \
		bytesize-1.3.0 \
		camino-1.1.9 \
		cast-0.3.0 \
		castaway-0.2.3 \
		cc-1.2.7 \
		cfg-if-1.0.0 \
		chrono-0.4.39 \
		ciborium-0.2.2 \
		ciborium-io-0.2.2 \
		ciborium-ll-0.2.2 \
		clap-4.5.23 \
		clap_builder-4.5.23 \
		clap_complete-4.5.40 \
		clap_derive-4.5.18 \
		clap_lex-0.7.4 \
		clru-0.6.2 \
		codespan-reporting-0.11.1 \
		codspeed-2.7.2 \
		codspeed-criterion-compat-2.7.2 \
		colorchoice-1.0.3 \
		colored-2.2.0 \
		compact_str-0.6.1 \
		concurrent-queue-2.5.0 \
		console-0.15.10 \
		constant_time_eq-0.3.1 \
		core-foundation-0.9.4 \
		core-foundation-sys-0.8.7 \
		core2-0.4.0 \
		cpp_demangle-0.4.4 \
		cpufeatures-0.2.16 \
		crc32fast-1.4.2 \
		criterion-0.5.1 \
		criterion-plot-0.5.0 \
		crossbeam-0.8.4 \
		crossbeam-channel-0.5.14 \
		crossbeam-deque-0.8.6 \
		crossbeam-epoch-0.9.18 \
		crossbeam-queue-0.3.12 \
		crossbeam-utils-0.8.21 \
		crunchy-0.2.2 \
		crypto-common-0.1.6 \
		daggy-0.8.0 \
		darling-0.20.10 \
		darling_core-0.20.10 \
		darling_macro-0.20.10 \
		dary_heap-0.3.7 \
		dashmap-5.5.3 \
		dashmap-6.1.0 \
		data-encoding-2.6.0 \
		dbus-0.9.7 \
		debugid-0.8.0 \
		deranged-0.3.11 \
		derive_builder-0.20.2 \
		derive_builder_core-0.20.2 \
		derive_builder_macro-0.20.2 \
		difflib-0.4.0 \
		digest-0.10.7 \
		directories-5.0.1 \
		dirs-4.0.0 \
		dirs-sys-0.3.7 \
		dirs-sys-0.4.1 \
		displaydoc-0.2.5 \
		doc-comment-0.3.3 \
		dunce-1.0.5 \
		either-1.13.0 \
		elasticlunr-rs-3.0.2 \
		encode_unicode-1.0.0 \
		encoding_rs-0.8.35 \
		enum-as-inner-0.6.1 \
		env_filter-0.1.3 \
		env_logger-0.11.6 \
		equator-0.2.2 \
		equator-macro-0.2.1 \
		equivalent-1.0.1 \
		errno-0.3.10 \
		event-listener-5.3.1 \
		event-listener-strategy-0.5.3 \
		fastrand-1.9.0 \
		fastrand-2.3.0 \
		fern-0.7.1 \
		filetime-0.2.25 \
		findshlibs-0.10.2 \
		fixedbitset-0.4.2 \
		flate2-1.0.35 \
		fnv-1.0.7 \
		form_urlencoded-1.2.1 \
		fs4-0.12.0 \
		fsevent-sys-4.1.0 \
		function_name-0.3.0 \
		function_name-proc-macro-0.3.0 \
		funty-2.0.0 \
		futf-0.1.5 \
		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 \
		generic-array-0.14.7 \
		getopts-0.2.21 \
		getrandom-0.2.15 \
		gimli-0.31.1 \
		git-actor-0.17.2 \
		git-attributes-0.8.3 \
		git-bitmap-0.2.2 \
		git-chunk-0.4.2 \
		git-command-0.2.4 \
		git-config-0.16.2 \
		git-config-value-0.10.2 \
		git-credentials-0.9.2 \
		git-date-0.4.3 \
		git-diff-0.26.2 \
		git-discover-0.13.1 \
		git-features-0.26.5 \
		git-glob-0.5.4 \
		git-hash-0.10.3 \
		git-hashtable-0.1.2 \
		git-index-0.12.4 \
		git-lock-3.0.3 \
		git-mailmap-0.9.3 \
		git-object-0.26.2 \
		git-odb-0.40.2 \
		git-pack-0.30.2 \
		git-packetline-0.14.3 \
		git-path-0.7.2 \
		git-prompt-0.3.3 \
		git-protocol-0.26.4 \
		git-quote-0.4.2 \
		git-ref-0.24.1 \
		git-refspec-0.7.3 \
		git-repository-0.35.0 \
		git-revision-0.10.4 \
		git-sec-0.6.3 \
		git-tempfile-3.0.3 \
		git-transport-0.25.5 \
		git-traverse-0.22.2 \
		git-url-0.13.3 \
		git-validate-0.7.3 \
		git-worktree-0.12.3 \
		glob-0.3.2 \
		globset-0.4.15 \
		graph-cycles-0.1.0 \
		h2-0.3.26 \
		half-2.4.1 \
		handlebars-6.3.0 \
		hashbrown-0.13.2 \
		hashbrown-0.14.5 \
		hashbrown-0.15.2 \
		headers-0.3.9 \
		headers-core-0.2.0 \
		heck-0.5.0 \
		hermit-abi-0.3.9 \
		hermit-abi-0.4.0 \
		hex-0.4.3 \
		hickory-proto-0.24.2 \
		hickory-resolver-0.24.2 \
		home-0.5.11 \
		hostname-0.3.1 \
		html5ever-0.27.0 \
		http-0.2.12 \
		http-1.2.0 \
		http-body-0.4.6 \
		httparse-1.9.5 \
		httpdate-1.0.3 \
		human_format-1.1.0 \
		humantime-2.1.0 \
		hyper-0.14.32 \
		hyper-rustls-0.24.2 \
		iana-time-zone-0.1.61 \
		iana-time-zone-haiku-0.1.2 \
		icu_collections-1.5.0 \
		icu_locid-1.5.0 \
		icu_locid_transform-1.5.0 \
		icu_locid_transform_data-1.5.0 \
		icu_normalizer-1.5.0 \
		icu_normalizer_data-1.5.0 \
		icu_properties-1.5.1 \
		icu_properties_data-1.5.0 \
		icu_provider-1.5.0 \
		icu_provider_macros-1.5.0 \
		ident_case-1.0.1 \
		idna-1.0.3 \
		idna_adapter-1.2.0 \
		if_chain-1.0.2 \
		ignore-0.4.23 \
		imara-diff-0.1.7 \
		include-flate-0.3.0 \
		include-flate-codegen-0.2.0 \
		indexmap-2.7.0 \
		inferno-0.11.21 \
		inotify-0.9.6 \
		inotify-sys-0.1.5 \
		instant-0.1.13 \
		io-close-0.3.7 \
		ipconfig-0.3.2 \
		ipnet-2.10.1 \
		is-terminal-0.4.13 \
		is_ci-1.2.0 \
		is_terminal_polyfill-1.70.1 \
		itertools-0.10.5 \
		itertools-0.14.0 \
		itoa-1.0.14 \
		js-sys-0.3.76 \
		jwalk-0.8.1 \
		kqueue-1.0.8 \
		kqueue-sys-1.0.4 \
		lalry-0.1.0 \
		lazy_static-1.5.0 \
		libc-0.2.169 \
		libdbus-sys-0.2.5 \
		libflate-2.1.0 \
		libflate_lz77-2.1.0 \
		libredox-0.1.3 \
		line-col-0.2.1 \
		linked-hash-map-0.5.6 \
		linux-raw-sys-0.4.14 \
		litemap-0.7.4 \
		lock_api-0.4.12 \
		log-0.4.22 \
		lru-cache-0.1.2 \
		lsp-types-0.94.1 \
		mac-0.1.1 \
		maplit-1.0.2 \
		markup5ever-0.12.1 \
		match_cfg-0.1.0 \
		maybe-async-0.2.10 \
		mdbook-0.4.43 \
		memchr-2.7.4 \
		memmap2-0.5.10 \
		memmap2-0.9.5 \
		merkle_hash-3.7.0 \
		miette-7.4.0 \
		miette-derive-7.4.0 \
		mime-0.3.17 \
		mime_guess-2.0.5 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.8.2 \
		mio-0.8.11 \
		mio-1.0.3 \
		new_debug_unreachable-1.0.6 \
		nix-0.26.4 \
		nom-7.1.3 \
		normpath-1.3.0 \
		notify-6.1.1 \
		notify-debouncer-mini-0.4.1 \
		num-conv-0.1.0 \
		num-format-0.4.4 \
		num-modular-0.6.1 \
		num-order-1.2.0 \
		num-traits-0.2.19 \
		num_cpus-1.16.0 \
		num_threads-0.1.7 \
		object-0.36.7 \
		once_cell-1.20.2 \
		oorandom-11.1.4 \
		opener-0.7.2 \
		option-ext-0.2.0 \
		outref-0.1.0 \
		owo-colors-4.1.0 \
		parking-2.2.1 \
		parking_lot-0.12.3 \
		parking_lot_core-0.9.10 \
		parol-1.0.3 \
		parol-macros-1.0.0 \
		parol_runtime-1.0.2 \
		paste-1.0.15 \
		pathdiff-0.2.3 \
		percent-encoding-2.3.1 \
		pest-2.7.15 \
		pest_derive-2.7.15 \
		pest_generator-2.7.15 \
		pest_meta-2.7.15 \
		petgraph-0.6.5 \
		phf-0.11.2 \
		phf_codegen-0.11.2 \
		phf_generator-0.10.0 \
		phf_generator-0.11.2 \
		phf_shared-0.10.0 \
		phf_shared-0.11.2 \
		pin-project-1.1.7 \
		pin-project-internal-1.1.7 \
		pin-project-lite-0.2.15 \
		pin-utils-0.1.0 \
		pkg-config-0.3.31 \
		plotters-0.3.7 \
		plotters-backend-0.3.7 \
		plotters-svg-0.3.7 \
		powerfmt-0.2.0 \
		pprof-0.14.0 \
		ppv-lite86-0.2.20 \
		precomputed-hash-0.1.1 \
		predicates-3.1.3 \
		predicates-core-1.0.9 \
		predicates-tree-1.0.12 \
		proc-macro2-1.0.92 \
		prodash-23.1.2 \
		pulldown-cmark-0.10.3 \
		pulldown-cmark-0.12.2 \
		pulldown-cmark-escape-0.10.1 \
		pulldown-cmark-escape-0.11.0 \
		quick-error-1.2.3 \
		quick-error-2.0.1 \
		quick-xml-0.26.0 \
		quote-1.0.38 \
		radium-0.7.0 \
		rand-0.8.5 \
		rand_chacha-0.3.1 \
		rand_core-0.6.4 \
		rand_regex-0.17.0 \
		rayon-1.10.0 \
		rayon-core-1.12.1 \
		redox_syscall-0.5.8 \
		redox_users-0.4.6 \
		regex-1.11.1 \
		regex-automata-0.4.9 \
		regex-syntax-0.8.5 \
		relative-path-1.9.3 \
		reqwest-0.11.27 \
		resolv-conf-0.7.0 \
		rgb-0.8.50 \
		ring-0.17.8 \
		rle-decode-fast-1.0.3 \
		ropey-1.6.1 \
		rust-embed-8.5.0 \
		rust-embed-impl-8.5.0 \
		rust-embed-utils-8.5.0 \
		rustc-demangle-0.1.24 \
		rustc-hash-1.1.0 \
		rustc_version-0.2.3 \
		rustix-0.38.42 \
		rustls-0.21.12 \
		rustls-pemfile-1.0.4 \
		rustls-webpki-0.101.7 \
		rustversion-1.0.19 \
		ryu-1.0.18 \
		same-file-1.0.6 \
		scoped-tls-1.0.1 \
		scopeguard-1.2.0 \
		sct-0.7.1 \
		semver-0.9.0 \
		semver-1.0.24 \
		semver-parser-0.7.0 \
		serde-1.0.217 \
		serde_derive-1.0.217 \
		serde_json-1.0.134 \
		serde_regex-1.1.0 \
		serde_repr-0.1.19 \
		serde_spanned-0.6.8 \
		serde_urlencoded-0.7.1 \
		sha1-0.10.6 \
		sha1_smol-1.0.1 \
		sha2-0.10.8 \
		shlex-1.3.0 \
		signal-hook-0.3.17 \
		signal-hook-registry-1.4.2 \
		simd-abstraction-0.7.1 \
		similar-2.6.0 \
		siphasher-0.3.11 \
		slab-0.4.9 \
		smallvec-1.13.2 \
		socket2-0.5.8 \
		sourcemap-9.1.2 \
		spdx-0.10.8 \
		spin-0.9.8 \
		stable_deref_trait-1.2.0 \
		str_indices-0.4.4 \
		str_stack-0.1.0 \
		string_cache-0.8.7 \
		string_cache_codegen-0.5.2 \
		strnum_bitwidth-0.1.2 \
		strsim-0.11.1 \
		supports-color-3.0.2 \
		supports-hyperlinks-3.1.0 \
		supports-unicode-3.0.0 \
		symbolic-common-12.12.4 \
		symbolic-demangle-12.12.4 \
		syn-2.0.95 \
		sync_wrapper-0.1.2 \
		synstructure-0.13.1 \
		syntree-0.14.5 \
		syntree_layout-0.2.0 \
		system-configuration-0.5.1 \
		system-configuration-sys-0.5.0 \
		tap-1.0.1 \
		tempfile-3.15.0 \
		tendril-0.4.3 \
		termcolor-1.4.1 \
		terminal_size-0.4.1 \
		termtree-0.5.1 \
		textwrap-0.16.1 \
		thiserror-1.0.69 \
		thiserror-2.0.9 \
		thiserror-impl-1.0.69 \
		thiserror-impl-2.0.9 \
		time-0.3.37 \
		time-core-0.1.2 \
		time-macros-0.2.19 \
		tinystr-0.7.6 \
		tinytemplate-1.2.1 \
		tinyvec-1.8.1 \
		tinyvec_macros-0.1.1 \
		tokio-1.42.0 \
		tokio-macros-2.4.0 \
		tokio-rustls-0.24.1 \
		tokio-tungstenite-0.21.0 \
		tokio-util-0.7.13 \
		toml-0.5.11 \
		toml-0.8.19 \
		toml_datetime-0.6.8 \
		toml_edit-0.22.22 \
		topological-sort-0.2.2 \
		tower-0.4.13 \
		tower-layer-0.3.3 \
		tower-lsp-0.20.0 \
		tower-lsp-macros-0.9.0 \
		tower-service-0.3.3 \
		tracing-0.1.41 \
		tracing-attributes-0.1.28 \
		tracing-core-0.1.33 \
		try-lock-0.2.5 \
		ts-rs-10.1.0 \
		ts-rs-macros-10.1.0 \
		tungstenite-0.21.0 \
		typenum-1.17.0 \
		ucd-trie-0.1.7 \
		uluru-3.1.0 \
		ume-0.1.0 \
		unicase-2.8.1 \
		unicode-bom-1.1.4 \
		unicode-id-start-1.3.1 \
		unicode-ident-1.0.14 \
		unicode-linebreak-0.1.5 \
		unicode-normalization-0.1.24 \
		unicode-width-0.1.14 \
		unicode-width-0.2.0 \
		untrusted-0.9.0 \
		url-2.5.4 \
		utf-8-0.7.6 \
		utf16_iter-1.0.5 \
		utf8_iter-1.0.4 \
		utf8parse-0.2.2 \
		uuid-1.11.0 \
		version_check-0.9.5 \
		wait-timeout-0.2.0 \
		walkdir-2.5.0 \
		want-0.3.1 \
		warp-0.3.7 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.99 \
		wasm-bindgen-backend-0.2.99 \
		wasm-bindgen-futures-0.4.49 \
		wasm-bindgen-macro-0.2.99 \
		wasm-bindgen-macro-support-0.2.99 \
		wasm-bindgen-shared-0.2.99 \
		web-sys-0.3.76 \
		webpki-roots-0.25.4 \
		widestring-1.1.0 \
		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-0.43.0 \
		windows-core-0.52.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.42.2 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_msvc-0.42.2 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_i686_gnu-0.42.2 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_msvc-0.42.2 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_x86_64_gnu-0.42.2 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnullvm-0.42.2 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_msvc-0.42.2 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		winnow-0.6.22 \
		winreg-0.50.0 \
		write16-1.0.0 \
		writeable-0.5.5 \
		wyz-0.5.1 \
		xml_writer-0.4.0 \
		yoke-0.7.5 \
		yoke-derive-0.7.5 \
		zerocopy-0.7.35 \
		zerocopy-derive-0.7.35 \
		zerofrom-0.1.5 \
		zerofrom-derive-0.1.5 \
		zerovec-0.10.4 \
		zerovec-derive-0.10.3

PLIST_FILES=	bin/${PORTNAME}

WITHOUT_LTO=	yes # this fixes runaway build problem with rust-1.81.0 and eartier

.include <bsd.port.mk>
