# znippy-zoomies — .nornir/build-variants.toml — EMITTED, NOT SOURCE.
#
# Generated by `cargo run -p znippy-zoomies-build-thing -- emit` from
# znippy-zoomies-build-thing (the Rust `impl BuildThing`). The code is the one
# source; this file DESCRIBES the build. Editing it changes NOTHING: re-emit
# after changing the code. Do not edit by hand.
#
# Model: variant → features → settings/sub-settings → typ. FIVE atoms, one per
# shipped executable, and every one of them `no_default_features` with an EMPTY
# feature list: this repo's deliveries are the pure-Rust decoders themselves, and
# every feature it declares is a comparison arm, a bench instrument, a fixture
# downloader or a matrix mode. Each is excused BY NAME in [build.allow_unbuilt]
# — see .nornir/build-thing-design.md.
[build]
offers = [
"dev",
"gen",
"planet-fixture",
"search-index",
"testmatrix",
"timing",
"zlib-ng",
]
base_suite = "ORIGINAL"
[build.allow_unbuilt]
dev = "the one-word alias for `planet-fixture` above; same reason, and it exists so a human types `--features dev`, not so a build point does."
gen = "ljar + lzip-parallel: pulls `zip` and `miniz_oxide`, the third-party implementations this repo exists to beat, and gates the three bench-only bins. Shipping it would ship the rivals."
planet-fixture = "pulls librqbit + tokio to torrent the OSM planet as a test fixture (3 cfg sites). A fixture downloader has no business inside a delivered artifact — that is the whole reason it is a feature."
search-index = "osm-katana's inverted-name index (4 cfg sites): an opt-in extra output, not part of the converter every shipped atom runs. A variant would double the katana build for a path nobody installs."
testmatrix = "every crate: turns the `functional_status(...)` self-reports into nornir test-matrix rows (26 cfg sites). It is on for a MATRIX run, which is a different question from what a delivery contains — the same reason it is unbuilt in korp and dwarves."
timing = "lbzip2 + lgz: stderr stage timings (10 cfg sites). A decompressor that prints its own schedule is a dev instrument; the atoms ship quiet."
zlib-ng = "ljar + lzip-parallel: swaps the pure-Rust inflate for `flate2`/zlib-ng (11 cfg sites) — a COMPARISON arm. The shipped decoder is this repo's own; a build point for it would ship the thing under test."
[build.allow_unbuilt_bins]
bench_inflate_cmp = "ljar's A/B bench of this repo's inflate against the third-party one, behind `gen`. Shipping it would ship the rival implementation it measures."
bench_large = "ljar's large-archive bench, behind `gen`. Same reason: a bench harness is an instrument, not a delivery."
gen_large_zip = "ljar's fixture GENERATOR for the two benches above, behind `gen`. It writes test data; nothing installs it."
planet_bench = "osm-katana's whole-planet bench. Same reason as `vtd_bench`, and it additionally wants a planet on disk — a build point for it would be a button that fails on every box without one."
vtd_bench = "osm-katana's tag-decode micro-bench. An instrument run by hand and by the bench suite, never installed."
xtask = "the `cargo xtask` door onto this repo's build thing — repository tooling, never shipped."
znippy-zoomies-build-thing = "this recipe crate's own emit door (`cargo run -p znippy-zoomies-build-thing -- emit` regenerates .nornir/build-variants.toml); the forge loads the crate as wasm, the bin is repository tooling, never shipped."
[[build.variant]]
name = "osm-katana"
package = "osm-katana"
bin = "osm-katana"
no_default_features = true
profile = "release"
member = "znippy-zoomies"
linkage = "not-applicable"
role = "tool"
suites = ["ORIGINAL"]
default = true
[[build.variant]]
name = "lbunzip2"
package = "lbzip2"
bin = "lbunzip2"
no_default_features = true
profile = "release"
member = "znippy-zoomies"
linkage = "not-applicable"
role = "tool"
suites = ["ORIGINAL"]
[[build.variant]]
name = "lgz"
package = "lgz"
bin = "lgz"
no_default_features = true
profile = "release"
member = "znippy-zoomies"
linkage = "not-applicable"
role = "tool"
suites = ["ORIGINAL"]
[[build.variant]]
name = "ljar"
package = "ljar"
bin = "ljar"
no_default_features = true
profile = "release"
member = "znippy-zoomies"
linkage = "not-applicable"
role = "tool"
suites = ["ORIGINAL"]
[[build.variant]]
name = "lzip"
package = "lzip-parallel"
bin = "lzip"
no_default_features = true
profile = "release"
member = "znippy-zoomies"
linkage = "not-applicable"
role = "tool"
suites = ["ORIGINAL"]
[build.toolchain]
image = "nordisk-cargo-toolchain"
image_sha256 = "668468e775ad80f32d700cbc9709d41cac726f40d00649461a0932f30d1b2067"
rust_version = "1.97.1"
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"wasm32-unknown-unknown",
]
timeout_secs = 3600
mem_limit_mb = 8192
cpus = 8
siblings = ["edda"]