From 4b28c0e12005b901f8e0b436de8ac5b6156f4fc3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 27 Sep 2022 19:21:43 +0100 Subject: [PATCH] tor-guardmgr: Introduce pt-client feature guardmgr needs to know how to parse Bridge lines into Bridge structs so it needs to know about PTs specifically --- crates/tor-guardmgr/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/tor-guardmgr/Cargo.toml b/crates/tor-guardmgr/Cargo.toml index 7f6cf23ef..4a7ba34d7 100644 --- a/crates/tor-guardmgr/Cargo.toml +++ b/crates/tor-guardmgr/Cargo.toml @@ -17,9 +17,11 @@ default = [] experimental = ["bridge-client"] # Support for using bridges as a client. Note that this is not the same as -# other crates' pt-client feature, since here we are not concerned with +# the pt-client feature, since here we are not concerned with # pluggable transports necessarily. bridge-client = ["tor-netdoc/routerdesc"] +# Support for pluggable transports. +pt-client = ["bridge-client", "tor-linkspec/pt-client"] # Enable testing-only APIs. APIs under this feature are not # covered by semver.