didkit icon indicating copy to clipboard operation
didkit copied to clipboard

Compilation error with fresh build depending on didkit 0.3.0

Open cobward opened this issue 3 years ago • 3 comments

Building a crate that depends on didkit 0.3.0 will fail for fresh builds (no Cargo.lock). This can be replicated by creating a new crate which only depends on didkit 0.3.0 and running cargo build.

This is due to didkit 0.3.0 depending on ssi 0.3.0 and did_methods of the form "x.y". Did method crates increment z when ssi is upgraded, so both ssi v0.4.0 and v0.3.0 are in the dependency tree of didkit.

I suggest:

  • We release didkit v0.3.1 and yank v0.3.0.
  • Going forwards in didkit we always depend on did method versions of the form x.y.z to prevent ssi version clashes.

cobward avatar Mar 14 '22 19:03 cobward

I think this is fixed; @cobward can you confirm?

clehner avatar Apr 12 '22 15:04 clehner

Yes, just checked. This works now by depending on 0.3.1. Do we want to yank 0.3.0?

cobward avatar Apr 13 '22 16:04 cobward

I also saw that for ssi version 0.3 the ethr version is 0.0.1 not 0.1.0 so we still have the compile issue, same for the other dependencies that we use from ssi

nayrban avatar May 24 '22 18:05 nayrban