From a96ca8700856c261396d71c2c8bf6908852851fa Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Wed, 12 Oct 2022 00:14:35 +0200 Subject: Fix proc-macros2 version so it works with 1.52 The latest proc-macros2 versions are incompatible with Rust 1.52. This fixes the version to 1.0.43. Also update to latest passwordmaker-rs version. --- rust/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rust/Cargo.toml') diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 85c38d7..05e3a7f 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -12,7 +12,9 @@ unicode-segmentation = "1.10.0" mockall_double = "0.2" ripemd = {version = "0.1.3", features = ["std"] } passwordmaker_macros = { path = "../rust_macro" } -passwordmaker-rs = { git = "https://github.com/soulsource/passwordmaker-rs.git" } +passwordmaker-rs = { git = "https://github.com/soulsource/passwordmaker-rs.git", branch="main" } +# Need to pin proc-macro2 to version 1.0.43. Newer versions are incompatible with Rust 1.52 +proc-macro2 = "=1.0.43" [dev-dependencies] mockall = "0.11" -- cgit v1.2.3