rrrodzilla / rusty_paseto

A type-driven, ergonomic RUST implementation of the PASETO protocol for secure stateless tokens.
https://crates.io/crates/rusty_paseto
MIT License
71 stars 9 forks source link

Build issues on Fedora #43

Closed LecrisUT closed 3 months ago

LecrisUT commented 3 months ago

I did not catch this issue because I was only running the default feature, but when building with v3 and v4, it caught another familiar issue:

error[E0119]: conflicting implementations of trait `From<ed25519_dalek::ed25519::Error>` for type `core::error::PasetoError`
 --> src/core/error.rs:5:17
  |
5 | #[derive(Debug, Error)]
  |                 ^^^^^
  |                 |
  |                 first implementation here
  |                 conflicting implementation for `core::error::PasetoError`
  |
  = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)

Full log

Any idea what may be causing things? Maybe it's of use to mention Fedora builds as release.

LecrisUT commented 3 months ago

Ah nvm, I forgot the discussion in: https://github.com/rrrodzilla/rusty_paseto/issues/36#issuecomment-2136816916