Current section

Files

Jump to
Raw

mix.exs

defmodule Bridge.LMDB.MixProject do
use Mix.Project
def project do
[
app: :bridge_lmdb,
version: "0.1.4",
description: "Rust based connector to LMDB",
package: [
files: ["lib", "native", ".formatter.exs", "README*", "mix.exs"],
exclude_patterns: ["target"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/ironbay/bridge_lmdb"}
],
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
compilers: [:rustler] ++ Mix.compilers(),
rustler_crates: [
bridge_lmdb: [
path: "native/bridge_lmdb"
]
],
deps: deps()
]
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
[
{:rustler, "~> 0.21.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
end