Changeset

12252:4bfe658415a0

core.features: New module to track and expose the features supported by Prosody A "feature" is a simple string, and it's expected that we will add to (and maybe remove from) this list over the course of time.
author Matthew Wild <mwild1@gmail.com>
date Fri, 04 Feb 2022 14:10:34 +0000
parents 12251:21ed12cfe300
children 12253:57d35fcde488
files core/features.lua
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/features.lua	Fri Feb 04 14:10:34 2022 +0000
@@ -0,0 +1,8 @@
+local set = require "util.set";
+
+return {
+	available = set.new{
+		-- mod_bookmarks bundled
+		"mod_bookmarks";
+	};
+};