moonlight-core 0.1.0

Shared comparison, diffing, classification, and JSONL storage primitives for Moonlight.
Documentation

Moonlight

Moonlight is a Rust and React behavior comparer for checking candidate behavior against one or two reference targets.

Install

Install the Rust CLI:

cargo install moonlight-cli --locked
moonlight run --primary 'printf "{\"value\":42}\n"' --candidate 'printf "{\"value\":43}\n"'

Run it through npm:

npx @moritzbrantner/moonlight run \
  --primary 'printf "{\"value\":42}\n"' \
  --candidate 'printf "{\"value\":43}\n"'

Run it through Bun:

bunx @moritzbrantner/moonlight run \
  --primary 'printf "{\"value\":42}\n"' \
  --candidate 'printf "{\"value\":43}\n"'

The GitHub Pages site explains the repository layout and shows the latest HTTP and CLI benchmark reports:

https://moritzbrantner.github.io/moonlight/?page=overview

For detailed local usage, see docs/moonlight/README.md.