I have the same problem for an internal project that I'm working on. Since
some of the crates we use are not yet in Fedora we took the decision to
package them ourselves following the Rust Package Guidelines[1] and submit
them to the distribution.
This is more work but remember that if you create the package for the
crates you're using you are helping another developer and making Fedora
better :)

Cheers,
Iván


[1]https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/

El vie, 22 mar 2024 a las 10:00, Fabio Valentini (<decatho...@gmail.com>)
escribió:

> On Fri, Mar 22, 2024 at 3:26 PM Ming Lei <ming....@redhat.com> wrote:
> >
> > I love this easy way.
> >
> > But when I try to build in this way, I got the following failure:
> >
> >  Problem 1: nothing provides requested (crate(ilog/default) >= 1.0.1
> > with crate(ilog/default) < 2.0.0~)
> >  Problem 2: nothing provides requested (crate(libublk/default) >=
> > 0.3.0 with crate(libublk/default) < 0.4.0~)
> >  Problem 3: nothing provides requested (crate(qcow2-rs/default) >=
> > 0.1.2 with crate(qcow2-rs/default) < 0.2.0~)
> >  Problem 4: nothing provides requested (crate(shared_memory/default)
> > >= 0.12.4 with crate(shared_memory/default) < 0.13.0~)
> >  Problem 5: nothing provides requested (crate(smol/default) >= 1.3.0
> > with crate(smol/default) < 2.0.0~)
> >
> > I guess it is because that all above crate aren't packaged in Fedora,
> > can you share how to
> > deal with this issue?
>
> Yes, these error messages represent all the crate dependencies that
> cannot be resolved from Fedora repositories.
> They will need to be packaged separately if you want to submit this as
> an official package for Fedora.
> Or if you want a "quick and dirty" solution for unofficial packages,
> you can use "rust2rpm --vendor".
>
> Fabio
> --
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to