diff options
| author | Andreas Grois <andi@grois.info> | 2022-10-12 00:14:35 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2022-10-12 00:14:35 +0200 |
| commit | a96ca8700856c261396d71c2c8bf6908852851fa (patch) | |
| tree | 1e6392baef7d05e8b121888e6d045a5357a20bb4 /rust/Cargo.toml | |
| parent | 562ec4b97244038e1b5011bf5c43eb06ae5acdca (diff) | |
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.
Diffstat (limited to 'rust/Cargo.toml')
| -rw-r--r-- | rust/Cargo.toml | 4 |
1 files changed, 3 insertions, 1 deletions
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" |
