Run the maintained examples

Public GitHub source publication is prepared for the current 0.1.0-dev candidate, but the crate has no Alire index entry. Clone the source after publication; do not add an indexed dependency yet.

Use Ada 2022 and Alire

The manifest accepts GCC-based GNAT 13 through 16. The repository uses indexed runtime dependencies only. The website build additionally requires Node.js, GNATdoc 26.0.0, and the pinned website-kit.

Clone and build the source

git clone --recurse-submodules https://github.com/flyology-ada/flyology-cbor.git
cd flyology-cbor
alr build
alr test

The test action covers:

  • parser and writer behavior;
  • installed-client compilation and allocation restrictions;
  • dependency isolation and public-unit checks;
  • the 110-column handwritten-source gate.

Run the three maintained examples

./scripts/test-examples.sh

The streaming parser feeds one map through two arbitrary-bound chunks. The bounded writer emits the same map and checks the exact output bytes. The homepage sample parses and writes the unsigned value 42 through the same public APIs shown on the overview page.

The example capacities are application choices.

The library supplies no default profile, buffer capacity, or syntax-depth limit.

Choose the next operation