Packages
cooklang_ex
0.0.1-alpha3
Elixir bindings for the canonical Cooklang parser (cooklang-rs). Parse, scale, and convert Cooklang recipes with full support for extensions.
Current section
Files
Jump to
Current section
Files
cooklang_ex
mix.exs
mix.exs
defmodule CooklangEx.MixProject do
use Mix.Project
@version File.read!("VERSION") |> String.trim()
@source_url "https://github.com/nathanbegbie/cooklang_ex"
def project do
[
app: :cooklang_ex,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
name: "CooklangEx",
source_url: @source_url
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:rustler, "~> 0.34.0"},
{:jason, "~> 1.4"},
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:stream_data, "~> 1.1", only: [:dev, :test]}
]
end
defp description do
"""
Elixir bindings for the canonical Cooklang parser (cooklang-rs).
Parse, scale, and convert Cooklang recipes with full support for extensions.
"""
end
defp package do
[
name: "cooklang_ex",
files: ~w(lib native .formatter.exs mix.exs README.md LICENSE VERSION),
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "LICENSE"]
]
end
end