fastjames / ex-gpgme

Elixir NIF for GPGME
MIT License
0 stars 0 forks source link

Update gpgme rust package URL / version #8

Closed fastjames closed 2 years ago

fastjames commented 2 years ago

In Cargo.toml, the URL to the gpgme rust package points to a repo that no longer exists. The new URL appears to be

https://github.com/gpg-rs/gpgme

We should refer to the new repository.

fastjames commented 2 years ago

I tried switching the URL and I got several new errors during compilation, some around updated constant names and one regarding error[E0596]: cannot borrow data in dereference ofRwLockReadGuard<'_, gpgme::Context>as mutable, so the repo change must result in a change to the Cargo.lock as well, introducing some code changes.

fastjames commented 2 years ago

I checked the current Cargo.lock file, and the gpgme library is locked to https://github.com/gpg-rs/gpgme/commit/9df869c3bd2776241f3a4bca31029caf468b3c41 which is from 2017(!), and I believe is on the 0.6.1 release of gpgme. The most recent version is 0.10.0.

fastjames commented 2 years ago

Closed by https://github.com/fastjames/ex-gpgme/pull/13