Codebase list rust-libslirp / b064f78
debcargo: rebuild with cargo 0.66 Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email> Fabian Grünbichler authored 1 year, 3 months ago Peter Michael Green committed 1 year, 3 months ago
5 changed file(s) with 56 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 cargo 0.66 update
0 rust-debcargo (2.6.0-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Rebuild debcargo 2.6.0 with cargo 0.66.0
4
5 -- Fabian Gruenbichler <debian@fabian.gruenbichler.email> Sun, 08 Jan 2023 16:49:18 +0100
6
07 rust-debcargo (2.6.0-1) unstable; urgency=medium
18
29 * Team upload.
1717 be correct information so you should review and fix this before uploading to
1818 the archive.
1919
20 Files: ./src/debian/licenses/AGPL-3.0
20 Files: src/debian/licenses/AGPL-3.0
2121 Copyright: 2007 Free Software Foundation, Inc. <http://fsf.org/>
2222 License: UNKNOWN-LICENSE; FIXME (overlay)
2323 Comment:
2626
2727 Files: debian/*
2828 Copyright:
29 2018-2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
30 2018-2022 Ximin Luo <infinity0@debian.org>
29 2018-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
30 2018-2023 Ximin Luo <infinity0@debian.org>
3131 License: MIT or Apache-2.0
3232
3333 License: Apache-2.0
0 Index: debcargo/Cargo.toml
1 ===================================================================
2 --- debcargo.orig/Cargo.toml
3 +++ debcargo/Cargo.toml
4 @@ -31,7 +31,7 @@ version = "0.12"
5 version = "1.0"
6
7 [dependencies.cargo]
8 -version = "0.63"
9 +version = "0.66"
10
11 [dependencies.chrono]
12 version = "0.4"
13 @@ -53,7 +53,7 @@ version = "0.2"
14 version = "1"
15
16 [dependencies.git2]
17 -version = "0.14"
18 +version = "0.15"
19
20 [dependencies.glob]
21 version = "0.3"
22 diff --git a/src/crates.rs b/src/crates.rs
23 index c57a61f..e5dc842 100644
24 --- a/src/crates.rs
25 +++ b/src/crates.rs
26 @@ -60,7 +60,7 @@ fn hash<H: Hash>(hashable: &H) -> u64 {
27 }
28
29 fn fetch_candidates(registry: &mut PackageRegistry, dep: &Dependency) -> Result<Vec<Summary>> {
30 - let mut summaries = match registry.query_vec(dep, false) {
31 + let mut summaries = match registry.query_vec(dep, cargo::core::QueryKind::Exact) {
32 std::task::Poll::Ready(res) => res?,
33 std::task::Poll::Pending => {
34 registry.block_until_ready()?;
35 @@ -125,7 +125,7 @@ impl CrateInfo {
36 let dep = Dependency::parse(crate_name, None, source_id)?;
37 let mut package_id: Option<PackageId> = None;
38 loop {
39 - match source.query(&dep, &mut |p| package_id = Some(p.package_id())) {
40 + match source.query(&dep, cargo::core::QueryKind::Exact, &mut |p| package_id = Some(p.package_id())) {
41 std::task::Poll::Ready(res) => {
42 res?;
43 break;