Skip to content

Dependencies

Detent is assembled from small, single-purpose libraries, most of them extracted from Xapiand into standalone repositories. Everything is fetched with CMake FetchContent.


detent is the core; the managed delivery and local client targets build on it; detent-agent and detent are executables over themdetent is the core; the managed delivery and local client targets build on it; detent-agent and detent are executables over them
TargetDepends onPurpose
detentthe core libraries belowClient, schema, evaluation, overrides, file source
detent::local_clientdetent, local viewManaged generation reader

detent deliberately has no networking dependency, and the test suites link the daemon libraries directly instead of spawning subprocesses.


LibraryRole in Detent
atomic-shared-ptrLock-free snapshot publication
sha256 + endianStable rollout bucket
char-classifyKnob-name validation
strict-stoxStrict integer parsing
randomFull-jitter backoff
compressorszstd and gzip encoding and decoding
RapidJSONStrict JSON parsing, pinned to a post-1.1.0 commit
http + reactor, http-parser, radix-routerdetent-authority’s HTTP server; handlers are task::task coroutines
taskThe one coroutine type, bound to Asio
consensusDurable Raft for the authority, with journal and completion I/O
loggerDaemon logging
AsioNetworking, pulled in by http and consensus
OpenSSL 3.0+TLS for the authority and managed delivery

Every Kronuz dependency is pinned by commit in cmake/dependencies.json, and CI fails if a pin differs from the pin of a library that declares the same dependency. As of November 4 each Kronuz pin is its library’s default-branch head, outside every range its upgrade guide marks as broken. RapidJSON is pinned to commit 24b5e7a8, because the 1.1.0 release doesn’t compile with Clang 23. The old and new pin of every library, and what changed for Detent, are in the changelog.


detent-agent on macOS/arm64:

BuildSize
Default (no CMAKE_BUILD_TYPE)1.15 MB
Release295 KB
Release + strip -x242 KB

Most of the remaining size is RapidJSON and ordinary C++ runtime support.