[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1053589: RFP: rust-matchit -- high performance, zero-copy URL router





On 10/7/23 2:25 AM, Jonas Smedegaard wrote:
Package: wnpp
Severity: wishlist
X-Debbugs-Cc: Reinhard Tartler <siretart@tauware.de>

* Package name    : rust-matchit
   Version         : 0.7.3
   Upstream Contact: Ibraheem Ahmed <ibraheem@ibraheem.ca>
* URL             : https://github.com/ibraheemdev/matchit
* License         : BSD-3-Clause and Expat
   Programming Lang: Rust
   Description     : high performance, zero-copy URL router

  matchit is a high performance, zero-copy URL router,
  taking advantage of the fact
  that URL routes generally follow a hierarchical structure,
  allowing to reduce the route search to a small number of branches.

This package is needed for rust-axum (bug#1052404).


while trying to package this with debcargo, I'm seeing this error message:

$ REALVER=0.7.3 ./update.sh matchit
    Updating crates.io index
debcargo failed: Cannot represent prerelease part of dependency: gonzales Comparator { op: Caret, major: 0, minor: Some(0), patch: Some(3), pre: Prerelease("beta") }
Command failed. If the patches failed to apply, to rebase them, run:
cd /srv/scratch/packages/rust/debcargo-conf/build/matchit
quilt pop -a -f
rm -rf .pc
ln -s /srv/scratch/packages/rust/debcargo-conf/src/matchit/debian/patches
quilt push --fuzz=0 -a -f
emacsclient <file>
quilt refresh

I guess this is because of this line:

https://github.com/ibraheemdev/matchit/blob/64af4bd02757c7d12412d871c3143b18de60e9df/Cargo.toml#L21

gonzales = "0.0.3-beta"


How to package this? Does 'debcargo' need a fix?

-rt


Reply to: