From cdc21b4b313b082d7cfb859b74dda3182e000ec5 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 18 May 2023 06:41:16 -0400 Subject: [PATCH] maturin: use sparse index-protocol with cargo --- srcpkgs/maturin/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/maturin/template b/srcpkgs/maturin/template index 26dee81cdb7..c8863f56181 100644 --- a/srcpkgs/maturin/template +++ b/srcpkgs/maturin/template @@ -16,6 +16,8 @@ checksum=605cfe879c68295eedcf0e874676c469dab34f293d58c496ad9c99e64da9cc0e # Tests use unstable features and fail to build make_check=no +export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse + if [ "$CROSS_BUILD" ]; then makedepends+=" rust-std" fi