Packages
xentitlement
0.1.0
Lightweight, reusable Elixir library for RSA-signed entitlement token validation and creation. Stateless cryptographic layer for distributed microservices.
Current section
Files
Jump to
Current section
Files
xentitlement
mix.exs
mix.exs
defmodule Xentitlement.MixProject do
use Mix.Project
def project do
[
app: :xentitlement,
version: "0.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: description(),
docs: docs(),
name: "Xentitlement",
source_url: "https://github.com/Kwame42/xentitlement",
homepage_url: "https://github.com/Kwame42/xentitlement",
test_coverage: [tool: :excoveralls]
]
end
def cli do
[preferred_envs: [coveralls: :test, "coveralls.detail": :test]]
end
defp description do
"Lightweight, reusable Elixir library for RSA-signed entitlement token validation and creation. Stateless cryptographic layer for distributed microservices."
end
defp package do
[
name: :xentitlement,
files: ["lib", "test/fixtures", "test/support", "LICENSE", "README.md", "CHANGELOG.md", "mix.exs", ".formatter.exs"],
maintainers: ["Kwame Yamgnane"],
licenses: ["BSD-3-Clause"],
links: %{
GitHub: "https://github.com/Kwame42/xentitlement",
Documentation: "https://hexdocs.pm/xentitlement"
}
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"],
authors: ["Kwame Yamgnane"],
source_ref: "v0.1.0"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :public_key]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:jason, "~> 1.4"},
{:plug, "~> 1.20", optional: true},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.18", only: :test},
{:plug_cowboy, "~> 2.7", only: :test}
]
end
end