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
This commit is contained in:
Ian Jackson 2022-09-27 19:21:43 +01:00
parent c41ea6e07b
commit 4b28c0e120
1 changed files with 3 additions and 1 deletions

View File

@ -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.