gpg-rs / gpgme

GPGme bindings for Rust
GNU Lesser General Public License v2.1
83 stars 13 forks source link

Replace tempdir with tempfile, as tempfile have superseded tempdir #40

Closed alexanderkjall closed 2 years ago

alexanderkjall commented 2 years ago

Not tested as well as I would have liked, due to that i had some compilation errors unrelated to this pr.

Based on the patch i wrote for debian:

https://salsa.debian.org/rust-team/debcargo-conf/-/blob/master/src/gpgme/debian/patches/replace-tempdir-with-tempfile.patch

The deprecation of tempdir can be seen here: https://crates.io/crates/tempdir