elixir-uuid icon indicating copy to clipboard operation
elixir-uuid copied to clipboard

Adds :crypto as a dependency in extra_applications

Open vrcca opened this issue 3 years ago • 3 comments

This is in order to stop Elixir 1.11 warning about undeclared dependencies.

==> elixir_uuid
Compiling 1 file (.ex)
warning: :crypto.hash/2 defined in application :crypto is used by the current application but the current application does not directly depend on :crypto. To fix this, you must do one of:

  1. If :crypto is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :crypto is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :crypto, you may optionally skip this warning by adding [xref: [exclude: :crypto] to your "def project" in mix.exs

Found at 2 locations:
  lib/uuid.ex:589: UUID.namebased_uuid/2
  lib/uuid.ex:593: UUID.namebased_uuid/2

vrcca avatar Oct 07 '20 07:10 vrcca

Thanks for the hard work! Hope this will be merged soon.

WannesFransen1994 avatar Jan 21 '21 08:01 WannesFransen1994

@zyro can we get this merged?

jrissler avatar Feb 25 '21 21:02 jrissler

@zyro It's been more than a year that this PR has been up. Do you no longer maintain this repo / do you need more maintainers?

shadiramadan avatar Nov 11 '21 16:11 shadiramadan