Packages

A simplified Elixir string-based XML processor that avoids the atom exhaustion vulnerability present with xmerl based parsers.

Current section

Files

Jump to
simple_xml mix.exs
Raw

mix.exs

defmodule SimpleXml.MixProject do
use Mix.Project
def project do
[
app: :simple_xml,
version: "0.1.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp description do
"""
A simplified Elixir string-based XML processor that avoids the atom exhaustion vulnerability
present with xmerl based parsers.
"""
end
defp package do
[
files: ~w(lib .formatter.exs mix.exs README* LICENSE* CHANGELOG*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/MBXSystems/simple_xml"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
end