From 32a9c77703c76e5fbe8a9e38c0c39f4575186f09 Mon Sep 17 00:00:00 2001 From: Rosa Richter Date: Tue, 14 Sep 2021 21:38:30 -0600 Subject: [PATCH] make HTTPoison and Poison deps optional --- mix.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 8ff7726..8e1fc4e 100644 --- a/mix.exs +++ b/mix.exs @@ -41,8 +41,8 @@ defmodule HexLicenses.MixProject do [ # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} - {:httpoison, "~> 1.8"}, - {:poison, "~> 3.0"}, + {:httpoison, "~> 1.8", optional: true}, + {:poison, "~> 3.0", optional: true}, {:credo, "~> 1.5", only: [:dev], runtime: false}, {:ex_doc, "~> 0.25", only: [:dev], runtime: false} ] -- 2.34.2