changeset 46861:c7c6c11fe1e4

rust: bump rust-cpython version to 0.5.2 we need a newer version to define "property" on Rust defined object. Differential Revision: https://phab.mercurial-scm.org/D10308
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 05 Apr 2021 12:22:12 +0200
parents 1dc86c2a43ce
children 82b17bfc13eb
files rust/Cargo.lock rust/hg-cpython/Cargo.toml
diffstat 2 files changed, 27 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/rust/Cargo.lock	Mon Apr 05 12:21:58 2021 +0200
+++ b/rust/Cargo.lock	Mon Apr 05 12:22:12 2021 +0200
@@ -139,12 +139,13 @@
 
 [[package]]
 name = "cpython"
-version = "0.4.1"
+version = "0.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfaf3847ab963e40c4f6dd8d6be279bdf74007ae2413786a0dcbb28c52139a95"
+checksum = "0f11357af68648b6a227e7e2384d439cec8595de65970f45e3f7f4b2600be472"
 dependencies = [
  "libc",
  "num-traits",
+ "paste",
  "python27-sys",
  "python3-sys",
 ]
@@ -570,6 +571,25 @@
 ]
 
 [[package]]
+name = "paste"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880"
+dependencies = [
+ "paste-impl",
+ "proc-macro-hack",
+]
+
+[[package]]
+name = "paste-impl"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6"
+dependencies = [
+ "proc-macro-hack",
+]
+
+[[package]]
 name = "pkg-config"
 version = "0.3.19"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -610,9 +630,9 @@
 
 [[package]]
 name = "python27-sys"
-version = "0.4.1"
+version = "0.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67cb041de8615111bf224dd75667af5f25c6e032118251426fed7f1b70ce4c8c"
+checksum = "f485897ed7048f5032317c4e427800ef9f2053355516524d73952b8b07032054"
 dependencies = [
  "libc",
  "regex",
@@ -620,9 +640,9 @@
 
 [[package]]
 name = "python3-sys"
-version = "0.4.1"
+version = "0.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90af11779515a1e530af60782d273b59ac79d33b0e253c071a728563957c76d4"
+checksum = "5b29b99c6868eb02beb3bf6ed025c8bcdf02efc149b8e80347d3e5d059a806db"
 dependencies = [
  "libc",
  "regex",
--- a/rust/hg-cpython/Cargo.toml	Mon Apr 05 12:21:58 2021 +0200
+++ b/rust/hg-cpython/Cargo.toml	Mon Apr 05 12:22:12 2021 +0200
@@ -29,5 +29,5 @@
 env_logger = "0.7.1"
 
 [dependencies.cpython]
-version = "0.4.1"
+version = "0.5.2"
 default-features = false