-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Guibas
authored and
John Guibas
committed
Feb 11, 2024
1 parent
bb21b4d
commit 03d7c6e
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,16 @@ You may also need to update your `Cargo.lock` file. For example: | |
cargo update -p ed25519-consensus | ||
``` | ||
|
||
If you want to patch with a private repo, you have to use the following adjustment in your `Cargo.toml`: | ||
|
||
```toml | ||
ed25519-consensus = { git = "ssh://[email protected]/succinctlabs/ed25519-consensus-private.git" } | ||
``` | ||
and use the following command to apply the patch (assuming you have your ssh keys setup properly with Github): | ||
``` | ||
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo update -p ed25519-consensus | ||
``` | ||
|
||
### Sanity Checks | ||
|
||
**You must make sure your patch is in the workspace root, otherwise it will not be applied.** | ||
|