From 6590a56e7cafcd1dba179bf9e129e563d1e25a54 Mon Sep 17 00:00:00 2001 From: Sergey Prokhorov Date: Sun, 9 Jun 2019 20:07:28 +0200 Subject: [PATCH] Use erlang_psq from hex.pm --- rebar.config | 2 +- rebar.lock | 8 +++----- src/mtproto_proxy.app.src | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/rebar.config b/rebar.config index d43439a..f0830dc 100644 --- a/rebar.config +++ b/rebar.config @@ -6,7 +6,7 @@ {deps, [{ranch, "1.7.0"}, {hut, "1.3.0"}, {lager, "3.6.3"}, - {psq, {git, "https://github.com/eryx67/psq.git", {branch, "master"}}} + {erlang_psq, "1.0.0"} ]}. {plugins, [rebar3_proper]}. diff --git a/rebar.lock b/rebar.lock index da27c6c..eb3bde4 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,14 +1,12 @@ {"1.1.0", -[{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1}, +[{<<"erlang_psq">>,{pkg,<<"erlang_psq">>,<<"1.0.0">>},0}, + {<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1}, {<<"hut">>,{pkg,<<"hut">>,<<"1.3.0">>},0}, {<<"lager">>,{pkg,<<"lager">>,<<"3.6.3">>},0}, - {<<"psq">>, - {git,"https://github.com/eryx67/psq.git", - {ref,"acf8cb6620a9f9cb6123cc45aeb8767fa1a2ab08"}}, - 0}, {<<"ranch">>,{pkg,<<"ranch">>,<<"1.7.0">>},0}]}. [ {pkg_hash,[ + {<<"erlang_psq">>, <<"995E328461A5949A54BDFC7686609A08EFB82313914F9AEAD494A2644629EA26">>}, {<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>}, {<<"hut">>, <<"71F2F054E657C03F959CF1ACC43F436EA87580696528CA2A55C8AFB1B06C85E7">>}, {<<"lager">>, <<"FE78951D174616273F87F0DBC3374D1430B1952E5EFC4E1C995592D30A207294">>}, diff --git a/src/mtproto_proxy.app.src b/src/mtproto_proxy.app.src index 875f120..18919df 100644 --- a/src/mtproto_proxy.app.src +++ b/src/mtproto_proxy.app.src @@ -1,12 +1,12 @@ {application, mtproto_proxy, [{description, "High-performance Telegram MTProto proxy server"}, - {vsn, "0.5.0"}, + {vsn, "0.5.1"}, {registered, []}, {mod, { mtproto_proxy_app, []}}, {applications, [lager, ranch, - psq, + erlang_psq, crypto, ssl, inets,