mix.exs

defmodule Cogito.MixProject do
  use Mix.Project

  def project do
    [
      app: :cogito,
      version: "0.4.0",
      elixir: "~> 1.17",
      start_permanent: Mix.env() == :prod,
      description: description(),
      package: package(),
      deps: deps(),
      name: "Cogito"
    ]
  end

  def application do
    []
  end

  defp deps do
    [
      {:ex_doc, "~> 0.14", only: :dev, runtime: false}
    ]
  end

  defp description() do
    "A lightweight parser combinator on pure Elixir"
  end

  defp package() do
    [
      licenses: ["Apache-2.0"],
      links: %{}
    ]
  end
end