From 6441fa800fcb9407c0f72f5f960531767a432c94 Mon Sep 17 00:00:00 2001 From: Leonid Belyaev Date: Thu, 11 Apr 2024 01:58:01 -0400 Subject: [PATCH] Add instructions for curve25519-dalek workaround (#250) * Add instructions for curve25519-dalek workaround * pin commit of libsignal docs in readme --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 3fe5aa5ff..f9a08de6f 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,11 @@ Add the following to your `Cargo.toml`: [dependencies] presage = { git = "https://github.com/whisperfish/presage" } presage-store-sled = { git = "https://github.com/whisperfish/presage" } + +# For a discussion as to why, see: +# https://github.com/whisperfish/libsignal-service-rs/tree/93c23cf27d27a17a803e34ea3dd6a82d268fa79e#working-around-the-issue-with-curve25519-dalek +[patch.crates-io] +curve25519-dalek = { git = 'https://github.com/signalapp/curve25519-dalek', tag = 'signal-curve25519-4.1.1' } ``` and look at the generated Rust documentation of the `Manager` struct to get started.