Packages

Native Elixir authentication compatible with datadeft-auth Rust.

Current section

Files

Jump to
Raw

mix.exs

defmodule DatadeftAuth.MixProject do
  use Mix.Project

  # x-release-please-start-version
  @version "0.8.0"
  # x-release-please-end

  def project do
    [
      app: :datadeft_auth,
      version: @version,
      elixir: "~> 1.16",
      start_permanent: Mix.env() == :prod,
      elixirc_paths: if(Mix.env() == :test, do: ["lib", "test/support"], else: ["lib"]),
      deps: [
        {:b3, "== 0.2.1"},
        {:jason, "~> 1.4"},
        {:jose, "== 1.11.13"},
        {:aws_signature, "~> 0.4.3", optional: true},
        {:plug, "~> 1.20 and >= 1.20.4", optional: true},
        {:credo, "~> 1.7", only: [:dev, :test], runtime: false}
      ],
      description: "Native Elixir authentication compatible with datadeft-auth Rust.",
      package: [
        licenses: ["MIT"],
        links: %{"GitHub" => "https://github.com/DataDeft/datadeft-auth"},
        files: [
          "lib",
          "mix.exs",
          "*.md",
          "LICENSE"
        ]
      ]
    ]
  end

  def application do
    [extra_applications: [:crypto, :inets, :ssl, :public_key]]
  end
end