Packages

Modern push notifications for Elixir. Supports Apple APNS and Google FCM with HTTP/2, JWT authentication, and a clean unified API.

Current section

Files

Jump to
pushx mix.exs
Raw

mix.exs

defmodule PushX.MixProject do
use Mix.Project
@version "0.10.0"
@source_url "https://github.com/cignosystems/pushx"
def project do
[
app: :pushx,
version: @version,
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
name: "PushX",
source_url: @source_url
]
end
def application do
[
extra_applications: [:logger],
mod: {PushX.Application, []}
]
end
defp deps do
[
{:finch, "~> 0.21"},
{:joken, "~> 2.6"},
{:goth, "~> 1.4"},
{:telemetry, "~> 1.3"},
# Dev/Test
{:ex_doc, "~> 0.40", only: :dev, runtime: false},
{:bypass, "~> 2.1", only: :test}
]
end
defp description do
"""
Modern push notifications for Elixir. Supports Apple APNS and Google FCM
with HTTP/2, JWT authentication, and a clean unified API.
"""
end
defp package do
[
name: "pushx",
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => "#{@source_url}/blob/main/CHANGELOG.md"
},
maintainers: ["Cigno Systems AB"],
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md pushx_logo.png)
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md", "LICENSE"],
source_ref: "v#{@version}",
source_url: @source_url,
logo: "pushx_logo.png",
groups_for_modules: [
"Core API": [PushX, PushX.Message, PushX.Response],
Providers: [PushX.APNS, PushX.FCM],
"Runtime Instances": [PushX.Instance],
Infrastructure: [PushX.Config, PushX.Retry, PushX.Token],
Observability: [PushX.Telemetry, PushX.CircuitBreaker, PushX.RateLimiter]
]
]
end
end