acd-versions 1.0.1
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);
- Registered by Anton Curmanschii
- 1.0.1 released 3 years ago
- AntonC9018/acd.versions
- MIT
- Copyright © 2021, Anton Curmanschii
- Authors:
- 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 - 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