Use jiffy 1.1.0 when erlang < 20 because it doesn't have string:split/2

This commit is contained in:
Badlop 2022-02-23 21:52:09 +01:00
parent 265e0610a3
commit de8abc15a8
1 changed files with 6 additions and 1 deletions

View File

@ -37,7 +37,12 @@
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.48"}}},
{fast_yaml, ".*", {git, "https://github.com/processone/fast_yaml", {tag, "1.0.32"}}},
{idna, ".*", {git, "https://github.com/benoitc/erlang-idna", {tag, "6.0.0"}}},
{jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "1.1.1"}}},
{if_version_below, "20",
{jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "1.1.0"}}}
},
{if_version_above, "19",
{jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "1.1.1"}}}
},
{jose, ".*", {git, "https://github.com/potatosalad/erlang-jose", {tag, "1.11.1"}}},
{if_version_below, "22",
{lager, ".*", {git, "https://github.com/erlang-lager/lager", {tag, "3.9.1"}}}