Hello everyone,
Does somebody here have experience with adding Rust tools to Bioconda?
I would like to add BarcodEX-rs to Bioconda, but unfortunately the build fails. Since there is no dedicated documentation for adding Rust packages and my attempts to copy the recipes from other Rust packages have not been successful (I tried those of perbase, rust-bio-tools and fastqc-rs ), I am somewhat out of ideas how to proceed with troubleshooting.
Regardless of what I try, the build fails with:
error[E0432]: unresolved import
error[E0433]: failed to resolve. Use of undeclared type or module
error[E0599]: no function or associated item found for struct in the current scope
However, if I build the tool locally with cargo build --release
everything works smoothly and all imports are automatically resolved. What peculiarities of the Bioconda build system am I missing?
Tagging - Devon Ryan (bioconda) and Rob (rust advocate)