From 6953b4f9902f5f524e92a15518d0132fb662704a Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 6 Feb 2020 17:46:56 +0100 Subject: autocrypt: New crate. - Move the autocrypt-related functionality to a new crate. - Fixes #424. --- tool/Cargo.toml | 1 + tool/src/sq.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tool') 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; -- cgit v1.2.3