Compare commits

..

No commits in common. "7a8b28f0f400920895e0c361a58ed6c640ac4de1" and "9c3f902bfdb5892b863c409e73ad816c565ab0d9" have entirely different histories.

3 changed files with 17 additions and 27 deletions

View File

@ -10,10 +10,3 @@ dependency "sdlang-d" version="~>0.10.5"
preGenerateCommands "./generate-package-version.fish"
versions "VibeDefaultMain"
targetPath "out"
configuration "application" {
}
configuration "modern" {
versions "BasicFixes" "SupportTLS"
}

View File

@ -1,14 +1,14 @@
{
"fileVersion": 1,
"versions": {
"eventcore": "0.8.50",
"libasync": "0.8.6",
"eventcore": "0.8.48",
"libasync": "0.8.5",
"memutils": "1.0.4",
"sdlang-d": "0.10.6",
"sdlang-d": "0.10.5",
"stdx-allocator": "2.77.5",
"taggedalgebraic": "0.11.18",
"taggedalgebraic": "0.11.8",
"unit-threaded": "0.7.55",
"vibe-core": "1.8.1",
"vibe-d": "0.9.2"
"vibe-d": "0.9.0-alpha.1"
}
}

View File

@ -3,30 +3,27 @@ module ircd.versions;
/++
Supported versions:
* SupportTLS: compile with TLS support
* NotStrict: enabled when any versions are enabled that disable RFC-strictness (i.e. any of the following)
* SupportTLS: compile with TLS support, enabled when NotStrict is on
* BasicFixes: enable basic/sanity RFC fixes
* MaxNickLengthConfigurable: makes max nick length configurable
* Modern: enable all versions
(* NotStrict: enabled when any versions are enabled that disable RFC-strictness, i.e. any of the above)
+/
version (Modern)
{
version = SupportTLS;
version = BasicFixes;
version = MaxNickLengthConfigurable;
}
version (SupportTLS) version = NotStrict;
version (BasicFixes) version = NotStrict;
version (MaxNickLengthConfigurable) version = NotStrict;
version (NotStrict)
{
version (SupportTLS) {}
else
{
static assert(false, "TLS support must be enabled if any non-strict versions are enabled.");
}
version = SupportTLS;
}
version (Modern)
{
version = NotStrict;
version = SupportTLS;
version = BasicFixes;
version = MaxNickLengthConfigurable;
}