Closed cortex closed 7 years ago
Ok, I figured out that this is actually a breaking API change in master, the examples work when I stick
gpgme = { git = "https://github.com/johnschug/rust-gpgme", branch = "master" }
into my Cargo.toml. Time for a new release in crates.io?
I tried creating an empty repository with the following code, directly from the example for decrypt
This however gives me a type error:
It works when I instantiate a gpgme::Data variable instead of a Vec. What I find quite strange is that the example in examples/decrypt.rs compiles just fine for me if I run
cargo run --example decrypt
.