algebra icon indicating copy to clipboard operation
algebra copied to clipboard

Unergonomic process of developing code across algebra/curves boundaries etc.

Open jon-chuang opened this issue 4 years ago • 4 comments

Currently, it is extremely tedious to try to modify two separate git repos that are dependent. Especially with curves, one wishes for a way to propagate the pointer to a dependency throughout the entire git repo into each crate's Cargo.toml from a single location.

jon-chuang avatar Feb 04 '21 07:02 jon-chuang

You can use patch to replace paths to dependencies with local versions

Pratyush avatar Feb 04 '21 08:02 Pratyush

Can we make this standard? If so I'll submit a PR for it.

jon-chuang avatar Feb 04 '21 08:02 jon-chuang

As in, add a note to the readme or something?

Pratyush avatar Feb 04 '21 08:02 Pratyush

Something I'd find helpful is moving f_bench! macro from curve-benches to algebra, and including some potentially redundant benchmarks for the test fields in algebra.

Also maybe commenting out such a patch.crates.io lines with a relative path to algebra would be helpful

ValarDragon avatar Feb 04 '21 20:02 ValarDragon