Packages
ex_popcount
0.2.5
NIF library for computing a bit population-count (popcount) over integers and bitstrings.
Current section
Files
Jump to
Current section
Files
ex_popcount
mix.exs
mix.exs
defmodule ExPopcount.MixProject do
use Mix.Project
@version "0.2.5"
@source_url "https://github.com/tsutsu/ex_popcount"
def project do
[
app: :ex_popcount,
version: @version,
elixir: "~> 1.10",
description: description(),
compilers: Mix.compilers(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
source_url: @source_url,
package: package(),
deps: deps(),
name: "ExPopcount"
]
end
defp package do
[
maintainers: ["tsutsu"],
name: "ex_popcount",
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
files: [
"mix.exs",
"native/expopcount/.cargo",
"native/expopcount/src",
"native/expopcount/Cargo.*",
"checksum-*.exs",
"lib",
"LICENSE",
"README.md"
]
]
end
defp description do
"NIF library for computing a bit population-count (popcount) over integers and bitstrings."
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:rustler, ">= 0.0.0", optional: true},
{:rustler_precompiled, "~> 0.8"}
]
end
end