Packages
enux
1.2.0
1.6.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.9.19
0.9.18
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
utility package for loading, validating and documenting your app's configuration variables from env, json, jsonc and toml files at runtime and injecting them into your environment
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Enux.MixProject do
use Mix.Project
@source_url "https://github.com/massivefermion/enux"
def project do
[
app: :enux,
version: "1.2.0",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
source_url: @source_url,
description: description(),
package: package(),
docs: docs()
]
end
defp description do
"utility package for loading, validating and documenting your app's configuration variables from env, json, jsonc and toml files at runtime and injecting them into your environment"
end
defp package do
[
name: "enux",
licenses: ["Apache-2.0"],
files: ["lib", "mix.exs", "README*", "LICENSE"],
maintainers: ["Shayan Javani"],
links: %{"GitHub" => @source_url}
]
end
def application do
[]
end
defp deps do
[
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
# jsonc parser
{:jsonc, "~> 0.2", optional: true},
# json parsers
{:jason, "~> 1.3", optional: true},
{:poison, "~> 5.0", optional: true},
{:jaxon, "~> 2.0", optional: true},
{:thoas, "~> 0.2", optional: true},
{:jsone, "~> 1.7", optional: true},
{:jiffy, "~> 1.1", optional: true},
{:json, "~> 1.4", optional: true},
# toml parsers
{:toml, "~> 0.6.2", optional: true},
{:tomerl, "~> 0.5.0", optional: true},
{:tomlex, "~> 0.0.5", optional: true}
]
end
defp docs do
[
main: Enux,
api_reference: false,
source_url: @source_url,
source_ref: "main",
logo: "logo.png",
extras: ["LICENSE", "README.md"]
]
end
end