Current section

Files

Jump to
Raw

mix.exs

defmodule PactElixir.MixProject do
use Mix.Project
def project do
[
app: :pact_verifier_ex,
version: "0.1.2",
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "Elixir NIF bindings for the pact_verifier Rust library.",
package: package()
]
end
defp package do
[
name: "pact_verifier_ex",
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/valerio-iachini/pact_verifier_ex"},
maintainers: ["Valerio Iachini"],
files: [
"lib",
"native",
".cargo",
"Cargo.toml",
"Cargo.lock",
"mix.exs",
"checksum-*.exs",
"README.md",
"LICENSE"
]
]
end
defp deps do
[
{:rustler, "~> 0.37.1", optional: true},
{:rustler_precompiled, "~> 0.8.2"},
{:jason, "~> 1.4.4"},
{:httpoison, "~> 2.3.0", only: [:test]},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:plug_cowboy, "~> 2.7", only: :test}
]
end
end