acd-versions 1.0.4

Treat D versions as boolean expressions.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

acd.versions

Adds Version, that can be used to find out whether a given version is set, getting it as a boolean expression.

Example:

import acd.versions : Versions;
mixin Versions;

version = Hello;
static assert(Version.Hello && !Version.Foo);
Authors:
  • Anton Curmanschii
Dependencies:
none
Versions:
1.0.4 2022-Aug-27
1.0.3 2021-Dec-09
1.0.2 2021-Dec-09
1.0.1 2021-Dec-09
1.0.0 2021-Dec-09
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 14 downloads total

Score:
0.5
Short URL:
acd-versions.dub.pm