Skip to content

Commit

Permalink
Update lang and dependencies versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sleipnir authored and LesnyRumcajs committed Jan 7, 2022
1 parent c9e588b commit 0d60b20
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
4 changes: 1 addition & 3 deletions elixir_grpc_bench/config/config.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use Mix.Config
import Config

# Start server in OTP
# config :grpc, start_server: true

import_config "#{Mix.env}.exs"
2 changes: 1 addition & 1 deletion elixir_grpc_bench/config/dev.exs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
use Mix.Config
import Config
2 changes: 1 addition & 1 deletion elixir_grpc_bench/config/prod.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

config :grpc, start_server: true

Expand Down
22 changes: 12 additions & 10 deletions elixir_grpc_bench/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@ defmodule Helloworld.Mixfile do
use Mix.Project

def project do
[app: :helloworld,
version: "0.1.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()]
[
app: :helloworld,
version: "0.1.0",
elixir: "~> 1.13",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps()
]
end

def application do
[mod: {HelloworldApp, []},
applications: [:logger, :grpc]]
[mod: {HelloworldApp, []}, applications: [:logger, :grpc]]
end

defp deps do
[
{:grpc, github: "elixir-grpc/grpc"},
{:protobuf, github: "tony612/protobuf-elixir", override: true},
{:cowlib, "~> 2.9.0", override: true},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
{:cowlib, "~> 2.9", override: true},
{:ranch, "~> 2.1", override: true},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false}
]
end
end
9 changes: 9 additions & 0 deletions elixir_grpc_bench/mix.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
%{
"cowboy": {:hex, :cowboy, "2.9.0", "865dd8b6607e14cf03282e10e934023a1bd8be6f6bacf921a7e2a96d800cd452", [:make, :rebar3], [{:cowlib, "2.11.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "2c729f934b4e1aa149aff882f57c6372c15399a20d54f65c8d67bef583021bde"},
"cowlib": {:hex, :cowlib, "2.9.1", "61a6c7c50cf07fdd24b2f45b89500bb93b6686579b069a89f88cb211e1125c78", [:rebar3], [], "hexpm", "e4175dc240a70d996156160891e1c62238ede1729e45740bdd38064dad476170"},
"dialyxir": {:hex, :dialyxir, "0.5.1", "b331b091720fd93e878137add264bac4f644e1ddae07a70bf7062c7862c4b952", [:mix], [], "hexpm", "6c32a70ed5d452c6650916555b1f96c79af5fc4bf286997f8b15f213de786f73"},
"grpc": {:git, "https://github.com/elixir-grpc/grpc.git", "eff8a8828d27ddd7f63a3c1dd5aae86246df215e", []},
"gun": {:hex, :grpc_gun, "2.0.0", "f99678a2ab975e74372a756c86ec30a8384d3ac8a8b86c7ed6243ef4e61d2729", [:rebar3], [{:cowlib, "~> 2.8.0", [hex: :cowlib, repo: "hexpm", optional: false]}], "hexpm", "03dbbca1a9c604a0267a40ea1d69986225091acb822de0b2dbea21d5815e410b"},
"protobuf": {:git, "https://github.com/tony612/protobuf-elixir.git", "bb8085047c5484358704b862cf6736cc41e2e404", []},
"ranch": {:hex, :ranch, "1.8.0", "8c7a100a139fd57f17327b6413e4167ac559fbc04ca7448e9be9057311597a1d", [:make, :rebar3], [], "hexpm", "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"},
}

0 comments on commit 0d60b20

Please sign in to comment.