Packages

A unified caching library for Elixir with support for ETS and Redis backends.

Current section

Files

Jump to
Raw

mix.exs

defmodule Cachetastic.MixProject do
use Mix.Project
def project do
[
app: :cachetastic,
version: "1.0.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
dialyzer: [plt_add_apps: [:ex_unit]],
description:
"A unified caching library for Elixir with support for ETS and Redis backends.",
package: package(),
name: "Cachetastic",
source_url: "https://github.com/gskolber/cachetastic",
homepage_url: "https://github.com/gskolber/cachetastic",
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG.md", "docs/ecto.md"]
]
]
end
def application do
[
mod: {Cachetastic.Application, []},
extra_applications: [:logger, :crypto]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:redix, "~> 1.5"},
{:nimble_pool, "~> 1.0"},
{:jason, "~> 1.4"},
{:telemetry, "~> 1.0"},
{:ecto, "~> 3.6", only: :test, runtime: false},
{:ecto_sql, "~> 3.6", only: :test, runtime: false},
{:postgrex, ">= 0.0.0", only: :test, runtime: false},
{:patch, "~> 0.12.0", only: :test, runtime: false},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:credo, "~> 1.7.12", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
defp package do
[
maintainers: ["Gabriel Kolber"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/gskolber/cachetastic",
"Changelog" => "https://github.com/gskolber/cachetastic/blob/master/CHANGELOG.md"
}
]
end
end