we should at some point reconsider using branch = "main" for the ssi crate, any breaking changes pushed to main will break didkit builds everywhere. this pr just fixes builds for the latest update by changing imports and some types, users of the FFI libraries should not notice any breaking changes. notably this pr also slightly reorganises src/lib/error.rs to use thiserror and expands the set of features to match those of ssi. this should resolve #310 and #311 for now, but users will have to change their p256 feature selection to secp256r1. This feature is also now a default.
we should at some point reconsider using
branch = "main"
for thessi
crate, any breaking changes pushed to main will break didkit builds everywhere. this pr just fixes builds for the latest update by changing imports and some types, users of the FFI libraries should not notice any breaking changes. notably this pr also slightly reorganisessrc/lib/error.rs
to usethiserror
and expands the set of features to match those ofssi
. this should resolve #310 and #311 for now, but users will have to change theirp256
feature selection tosecp256r1
. This feature is also now a default.