aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/experimental-features.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/experimental-features.hh')
-rw-r--r--src/libutil/experimental-features.hh22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/libutil/experimental-features.hh b/src/libutil/experimental-features.hh
index cc841c0a6..38889e7bc 100644
--- a/src/libutil/experimental-features.hh
+++ b/src/libutil/experimental-features.hh
@@ -1,9 +1,7 @@
#pragma once
///@file
-#include "comparator.hh"
#include "error.hh"
-#include "json-utils.hh"
#include "types.hh"
namespace nix {
@@ -53,13 +51,6 @@ const std::optional<ExperimentalFeature> parseExperimentalFeature(
std::string_view showExperimentalFeature(const ExperimentalFeature);
/**
- * Compute the documentation of all experimental features.
- *
- * See `doc/manual` for how this information is used.
- */
-nlohmann::json documentExperimentalFeatures();
-
-/**
* Shorthand for `str << showExperimentalFeature(feature)`.
*/
std::ostream & operator<<(
@@ -87,17 +78,4 @@ public:
MissingExperimentalFeature(ExperimentalFeature missingFeature);
};
-/**
- * Semi-magic conversion to and from json.
- * See the nlohmann/json readme for more details.
- */
-void to_json(nlohmann::json &, const ExperimentalFeature &);
-void from_json(const nlohmann::json &, ExperimentalFeature &);
-
-/**
- * It is always rendered as a string
- */
-template<>
-struct json_avoids_null<ExperimentalFeature> : std::true_type {};
-
}