Rust port: CARGO_CRATES in a file

From: Nuno Teixeira <>
Date: Mon, 11 Jul 2022 07:19:26 UTC

I'm looking for the correct way of using CARGO_CRATES list in a file
instead of Makefile.

I've found an example in www/so port:
USES=           cargo ssl
.include "${.CURDIR}/"
where is the CARGO_CRATES file list.

What you think about it? IMO a CARGO_CRATES file is good when we have a big
CARGO_CRATES_FILE will be very nice option.


Nuno Teixeira