# Copyright 2026 Chengxi Luo # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. defmodule WorkerLib.MixProject do use Mix.Project def project do [ app: :serify, version: "0.1.0", elixir: "~> 1.17", description: "Cross-language serialization conformance worker library for Elixir", source_url: "https://github.com/chengxilo/serify", package: [ licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/chengxilo/serify"}, # Explicit, because the default list is silently satisfied by lib/ and # mix.exs alone — the published tarball shipped neither the README nor # the LICENSE until both were copied in beside mix.exs. files: ~w(lib mix.exs README.md LICENSE) ], deps: deps() ] end def application do [extra_applications: [:logger]] end defp deps do [ {:jason, "~> 1.4"}, # hex.publish builds the docs by default, and the "docs" task comes # from ex_doc. It is dev-only: nothing in lib/ needs it at runtime. {:ex_doc, "~> 0.40", only: :dev, runtime: false} ] end end