Diff

core/features.lua @ 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
child 12655:a5a0783e9241
child 13110:d5f322dd424b
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";
+	};
+};