parcel 0.2.2
Wrappable, wire-transferable C++23 value system with JSON serialization
Loading...
Searching...
No Matches
ulid.h File Reference

Optional cell adapter for ulid::Ulid (from aurimasniekis/cpp-ulid). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Optional cell adapter for ulid::Ulid (from aurimasniekis/cpp-ulid).

Gated on PARCEL_HAS_ULID: a build-predefined value (set by the PARCEL_WITH_ULID CMake option / Meson ulid option) always wins; otherwise it is auto-detected via __has_include(<ulid/ulid.h>), mirroring commons' own COMMONS_WITH_ULID gate. The header is inert (defines nothing) when ULID is unavailable, so it is safe to include unconditionally — which <parcel/builtins.h> does to keep the umbrella header complete.

Wire shape: {"k": "ulid", "v": "<26-char Crockford base32>"}.