From a9406796721d49885b3f98d756005b581b745c93 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 11 Nov 2021 10:38:23 -0500 Subject: [PATCH] Document that the "testing" feature is not semver-covered. --- crates/tor-guardmgr/Cargo.toml | 3 +++ crates/tor-netdir/Cargo.toml | 3 +++ crates/tor-persist/Cargo.toml | 2 ++ 3 files changed, 8 insertions(+) diff --git a/crates/tor-guardmgr/Cargo.toml b/crates/tor-guardmgr/Cargo.toml index 629b01ac8..724d67f2c 100644 --- a/crates/tor-guardmgr/Cargo.toml +++ b/crates/tor-guardmgr/Cargo.toml @@ -12,6 +12,9 @@ repository="https://gitlab.torproject.org/tpo/core/arti.git/" [features] default = [] + +# Enable testing-only APIs. APIs under this feature are not +# covered by semver. testing = [] [dependencies] diff --git a/crates/tor-netdir/Cargo.toml b/crates/tor-netdir/Cargo.toml index a243dbf3c..3094e4aab 100644 --- a/crates/tor-netdir/Cargo.toml +++ b/crates/tor-netdir/Cargo.toml @@ -13,6 +13,9 @@ repository="https://gitlab.torproject.org/tpo/core/arti.git/" [features] default = [] experimental-api = [] + +# Enable testing-only APIs. APIs under this feature are not +# covered by semver. testing = [ "hex", "hex-literal", "tor-netdoc/build_docs" ] [dependencies] diff --git a/crates/tor-persist/Cargo.toml b/crates/tor-persist/Cargo.toml index 8b554a47b..7428cbed9 100644 --- a/crates/tor-persist/Cargo.toml +++ b/crates/tor-persist/Cargo.toml @@ -11,6 +11,8 @@ categories = [ "config" ] repository="https://gitlab.torproject.org/tpo/core/arti.git/" [features] +# Enable testing-only APIs. APIs under this feature are not +# covered by semver. testing = [] [dependencies]