mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 00:01:16 +00:00
## Description This allows all of the -rc0, -rc1 and the GA releases of the curve25519-dalek and ed25519-dalek crates. Giving downstream users the flexibility to use either of them. The pieces that iroh depends on have no breaking changes, so iroh can work with both. ## Breaking Changes None. ## Notes & open questions Alternative to #4407. Closes #4415. Tested using this manifest on a new project: ``` toml [package] name = "testproj" version = "0.1.0" edition = "2024" [dependencies] # curve25519-dalek = "5.0.0" # ed25519-dalek = "3.0.0" curve25519-dalek = "5.0.0-rc.0" ed25519-dalek = "3.0.0-rc.0" iroh = "1.0.2" [patch.crates-io] iroh = { path = "/home/flub/n0/iroh/iroh" } iroh-base = { path = "/home/flub/n0/iroh/iroh-base" } ``` Both versions seem to work. But please check if this makes sense. I was a little surprise by this myself. ## Change checklist - [x] Self-review. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect.