Packages

A wrapper around Erlang's depcache, an in-memory caching server. depcache bases its caching around ETS but can also switch to using the in-process dictionary for maintaining a process-local cache. Convenient functions are provided for getting/setting cache values, with ttl and cache key dependen...

Current section

Files

Jump to
xepcache mix.exs
Raw

mix.exs

defmodule Depcache.Mixfile do
use Mix.Project
def project do
[app: :xepcache,
version: "1.0.1",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
package: package,
description: description,
name: "XepCache"]
end
def application do
[mod: {XepCache, []},
applications: [:logger, :depcache]]
end
defp deps do
[
{:depcache, "~> 1.2"},
{:ex_doc, "~> 0.11.4", only: [:dev]}
]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Arjan Scherpenisse"],
licenses: ["Apache"],
links: %{"GitHub" => "https://github.com/arjan/xepcache"}
]
end
defp description do
"""
A wrapper around Erlang's depcache, an in-memory caching server.
depcache bases its caching around ETS but can also switch to using
the in-process dictionary for maintaining a process-local cache.
Convenient functions are provided for getting/setting cache
values, with ttl and cache key dependencies, as well as a memo
function for caching the result of function executions.
"""
end
end