Packages
A high-performance Elixir library for managing counters with pluggable backends. Supports ETS, Erlang :atomics, and :counters modules with namespace organization.
Current section
Files
Jump to
Current section
Files
counter_ex
mix.exs
mix.exs
defmodule CounterEx.MixProject do
use Mix.Project
def project do
[
app: :counter_ex,
version: "0.1.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "CounterEx",
description: description(),
source_url: "https://github.com/nyo16/CounterEx",
docs: [
main: "CounterEx",
extras: ["README.md"]
],
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp description() do
"A small library that simplifies the usage of ETS as Counter(s)"
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "counter_ex",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README.md LICENSE.md),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/nyo16/CounterEx"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:benchee, "~> 1.0"}
]
end
end