# HG changeset patch # User Matthew Wild # Date 1643983834 0 # Node ID 4bfe658415a0b5f19e760fec0346599a5db568a3 # Parent 21ed12cfe300ee5788bae8d366b3ae3ddec40efb 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. diff -r 21ed12cfe300 -r 4bfe658415a0 core/features.lua --- /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"; + }; +};