From fdfaff07e0a21e457e6c206c9e269f63efcac256 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 4 Feb 2022 14:10:34 +0000 Subject: 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. --- core/features.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 core/features.lua (limited to 'core') diff --git a/core/features.lua b/core/features.lua new file mode 100644 index 00000000..7248f881 --- /dev/null +++ b/core/features.lua @@ -0,0 +1,8 @@ +local set = require "util.set"; + +return { + available = set.new{ + -- mod_bookmarks bundled + "mod_bookmarks"; + }; +}; -- cgit v1.2.3