Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ExSRTP.MixProject do
use Mix.Project
@version "0.4.0"
@github_url "https://github.com/elixir-streaming/ex_srtp"
def project do
[
app: :ex_srtp,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "SRTP (Secure Real-time Transport Protocol) implementation in Elixir",
package: package(),
name: "ExSRTP",
source_url: @github_url,
docs: docs()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_rtp, "~> 0.4.0"},
{:ex_rtcp, "~> 0.4.0"},
{:rustler, "~> 0.37", runtime: false, optional: true},
{:rustler_precompiled, "~> 0.8"},
{:ex_doc, "~> 0.30", only: :dev, runtime: false}
]
end
def package do
[
files: [
"lib",
"native",
"checksum-*.exs",
"mix.exs",
"README.md",
"LICENSE"
],
maintainers: ["Billal Ghilas"],
licenses: ["MIT"],
links: %{
"GitHub" => @github_url
}
]
end
def docs do
[
main: "readme",
extras: ["README.md", "LICENSE"],
formatters: ["html"],
source_ref: "v#{@version}",
groups_for_modules: [
SRTP: [
ExSRTP,
ExSRTP.Policy,
ExSRTP.ReplayList
],
Backends: [
ExSRTP.Backend,
ExSRTP.Backend.Crypto,
ExSRTP.Backend.RustCrypto
],
Ciphers: [
ExSRTP.Cipher,
ExSRTP.Cipher.AesCmHmacSha1,
ExSRTP.Cipher.AesGcm
]
]
]
end
end