Decided to use askar-crypto for processing JWK in simplest way possible, did not want to try process the keys myself, and couldn't find another smaller crate that was suitable.
For now I've made this feature optional via jwk feature-flag which a consumer can optionally enable. Didn't want to force a requirement on askar-crypto for a relatively small crate (public_key).
Closes #1289
Decided to use askar-crypto for processing JWK in simplest way possible, did not want to try process the keys myself, and couldn't find another smaller crate that was suitable.
For now I've made this feature optional via
jwk
feature-flag which a consumer can optionally enable. Didn't want to force a requirement on askar-crypto for a relatively small crate (public_key).