jwt-compact icon indicating copy to clipboard operation
jwt-compact copied to clipboard

unresolved import `jwt_compact::alg::Ed25519` no `Ed25519` in `alg`

Open jsoneaday opened this issue 2 years ago • 1 comments

When importing use jwt_compact::alg::Ed25519; I get the shown error. I am on version 0.7.0. Has Ed25519 been moved to some other module?

jsoneaday avatar Aug 07 '23 21:08 jsoneaday

Hi! Terribly sorry for such a late response, I've missed this issue somehow. Ed25519 should be available provided that one of the crypto backends containing it is enabled via one of ed25519-compact, ed25519-dalek or exonum-crypto features. Note that none of these features is enabled by default (exonum-crypto was enabled by default previously, but this changed in the 0.4.0 release). Could you please tell which crate features you're using?

slowli avatar Sep 14 '23 20:09 slowli