summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-02-06 17:46:56 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-02-06 18:01:33 +0100
commit6953b4f9902f5f524e92a15518d0132fb662704a (patch)
treea02b4e656196a674146709ad42f32f4b295dcac3 /tool
parent2bd001a81fa53e4f3cbc972f6354c8e3e510d1c7 (diff)
autocrypt: New crate.
- Move the autocrypt-related functionality to a new crate. - Fixes #424.
Diffstat (limited to 'tool')
-rw-r--r--tool/Cargo.toml1
-rw-r--r--tool/src/sq.rs3
2 files changed, 3 insertions, 1 deletions
diff --git a/tool/Cargo.toml b/tool/Cargo.toml
index c866636c..fb9a36de 100644
--- a/tool/Cargo.toml
+++ b/tool/Cargo.toml
@@ -23,6 +23,7 @@ maintenance = { status = "actively-developed" }
[dependencies]
sequoia-openpgp = { path = "../openpgp", version = "0.13" }
+sequoia-autocrypt = { path = "../autocrypt", version = "0.13" }
sequoia-core = { path = "../core", version = "0.13" }
sequoia-net = { path = "../net", version = "0.13" }
sequoia-store = { path = "../store", version = "0.13" }
diff --git a/tool/src/sq.rs b/tool/src/sq.rs
index 4a53c3aa..2161592f 100644
--- a/tool/src/sq.rs
+++ b/tool/src/sq.rs
@@ -25,7 +25,8 @@ extern crate sequoia_core;
extern crate sequoia_net;
extern crate sequoia_store as store;
-use crate::openpgp::{armor, autocrypt, Fingerprint, Cert};
+use crate::openpgp::{armor, Fingerprint, Cert};
+use sequoia_autocrypt as autocrypt;
use crate::openpgp::fmt::hex;
use crate::openpgp::types::KeyFlags;
use crate::openpgp::parse::Parse;