.nornir/build-variants.toml
# korp-map — .nornir/build-variants.toml — EMITTED, NOT SOURCE.
#
# Generated by `cargo run -p korp-map-build-thing -- emit` from
# crates/korp-map-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: ONE package (korp-map), ONE shipped `[[bin]]` (korp-map-server, the map
# wire over the region exports it provisions) and its library, which korp links as
# its map half. Every other feature is excused BY NAME in [build.allow_unbuilt].
[build]
offers = [
"collectors-daemon",
"planet-download",
"server",
"sweden-clip",
"testmatrix",
"wire-client",
]
base_suite = "ORIGINAL"
[build.allow_unbuilt]
collectors-daemon = "the tile daemon path through korp-collectors' `osm-daemon`. A host's choice (korp's `collectors` atoms turn it on), not a shape this repository ships."
planet-download = "the in-process librqbit planet TORRENT (forwards osm-katana/planet-fixture). Deliberately off every build point: provisioning and every test rely on a planet already on disk, and a BitTorrent client in a delivery is a network dependency nobody asked for. Mirrors korp's own `planet-download` gate, which forwards to it."
sweden-clip = "the region clip through osm-katana (planet → region cut). Reached by `server`, which the korp-map-server row builds; no row names it alone because a clip with no server or host around it is not an artifact anybody ships. korp turns it on through its own `sweden-clip`."
testmatrix = "turns the tests' `functional_status` self-reports into real nornir test-matrix rows. A TEST-HARNESS mode, never a delivery."
wire-client = "the map read over korp-map-wire's MapClient (`korp_map::wire_read`): the CLIENT side, turned on by korp's `client` together with `map` (korp-cli, korp-probe, korp-ui, korp-server). The server row serves the wire; it never reads it."
[build.allow_unbuilt_bins]
korp-map-build-thing = "this recipe crate's own emit door (`cargo run -p korp-map-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 = "korp-map-server"
package = "korp-map"
bin = "korp-map-server"
features = ["server"]
profile = "release"
member = "korp-map"
linkage = "thin"
role = "server"
suites = ["ORIGINAL"]
default = true
kind = "service"
[[build.variant]]
name = "korp-map-lib"
package = "korp-map"
profile = "release"
member = "korp-map"
linkage = "not-applicable"
role = "library"
suites = ["ORIGINAL"]
kind = "lib"
[build.toolchain]
image = "nordisk-cargo-toolchain"
image_sha256 = "86d575e874677da3eb9aff3ba6e38ca600781ee9b7948a9df43ef89a6213c762"
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 = [
"Skidbladnir",
"draupnir",
"edda",
"facett",
"korp-collectors",
"znippy-zoomies",
]