Packages

Elixir bindings to macOS Keychain Services via Security.framework. Store, retrieve, and manage passwords and secrets in the system keychain.

Current section

Files

Jump to
Raw

mix.exs

defmodule ExKeychain.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/HeroesLament/ex_keychain"
def project do
[
app: :ex_keychain,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
name: "ExKeychain",
source_url: @source_url
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:rustler, "~> 0.36.1", runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp description do
"Elixir bindings to macOS Keychain Services via Security.framework. Store, retrieve, and manage passwords and secrets in the system keychain."
end
defp package do
[
files: ~w(lib native/ex_keychain/.cargo native/ex_keychain/src native/ex_keychain/Cargo.toml mix.exs README.md LICENSE),
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
main: "ExKeychain",
source_ref: "v#{@version}",
source_url: @source_url
]
end
end