Packages
event_cell
0.6.1
BEAM-native coordinate event store. Append-only segment files, ETS indexes, BLAKE3 hash chains.
Current section
Files
Jump to
Current section
Files
event_cell
mix.exs
mix.exs
defmodule EventCell.MixProject do
use Mix.Project
@version "0.6.1"
@source_url "https://github.com/TheFreeBatteryFactory/EventCell"
def project do
[
app: :event_cell,
version: @version,
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
description: "BEAM-native coordinate event store. Append-only segment files, ETS indexes, BLAKE3 hash chains.",
# Docs
name: "EventCell",
source_url: @source_url,
homepage_url: @source_url,
docs: docs(),
# Dialyzer
dialyzer: [
plt_add_apps: [:ex_unit],
plt_local_path: "priv/plts",
plt_core_path: "priv/plts"
],
# Test
test_coverage: [
ignore_modules: [
EventCell.Case,
EventCell.Factory,
EventCell.Assertions,
EventCell.Generators,
EventCell.Telemetry,
EventCell.Auditor
]
]
]
end
def application do
[
extra_applications: [:logger],
mod: {EventCell.Application, []}
]
end
defp deps do
[
{:b3, "~> 0.2.0"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:stream_data, "~> 1.0", only: :test},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url},
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md)
]
end
defp aliases do
[]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp docs do
[
main: "readme",
extras: [
"../README.md",
"../docs/ARCHITECTURE.md",
"../docs/MENTAL_MODEL.md",
"../docs/QUICK_START.md",
"../docs/FORMAT_VERSIONS.md",
"../docs/OPERATIONS.md"
],
groups_for_modules: [
"Public API": [EventCell, EventCell.Store],
"Data Types": [EventCell.Coordinate, EventCell.Entry, EventCell.Entry.Ref],
Storage: [EventCell.Segment, EventCell.Segment.Writer, EventCell.Segment.Reader],
Index: [EventCell.Index, EventCell.Symbols],
Infrastructure: [
EventCell.Supervisor,
EventCell.Application,
EventCell.Config,
EventCell.Snapshot
],
Features: [EventCell.Subscription, EventCell.Compaction, EventCell.Auditor],
Optional: [EventCell.Telemetry]
]
]
end
end