NGen
Loading...
Searching...
No Matches
version.hpp
1/*
2Author: Nels Frazier
3Copyright (C) 2025 Lynker
4------------------------------------------------------------------------
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16------------------------------------------------------------------------
17Version constants for the `ngen_serialization` library.
18
19These track the *library API* — the public abstract surface in
20`record_backend.hpp`, `record.hpp`, and `id_predicates.hpp`. They
21do NOT track on-disk wire formats; concrete backends carry their
22own wire-format versions independent of this number.
23
24**Pre-1.0 (the current 0.X range): no API compatibility is
25guaranteed.** Any release in the 0.X series may change the public
26abstract surface without a major-version bump. Consumers should
27pin to an exact 0.X.Y release and expect to update on each new
28release. A 1.0.0 will lock in the surface as it stands then, and
29MAJOR / MINOR / PATCH will carry their conventional SemVer
30meanings from that point on. See this directory's README for the
31policy.
32
33The version is informational. Consumers MAY `static_assert` a
34minimum version if they depend on a feature added in a particular
35release, but the library doesn't enforce or read the version
36itself.
37*/
38#pragma once
39
40namespace ngen{ namespace serialization{
41
42inline constexpr int LIBRARY_VERSION_MAJOR = 0;
43inline constexpr int LIBRARY_VERSION_MINOR = 1;
44inline constexpr int LIBRARY_VERSION_PATCH = 0;
45
47inline constexpr const char* LIBRARY_VERSION_STRING = "0.1.0";
48
49}} // namespace ngen::serialization
constexpr int LIBRARY_VERSION_MINOR
Definition version.hpp:43
constexpr int LIBRARY_VERSION_PATCH
Definition version.hpp:44
constexpr const char * LIBRARY_VERSION_STRING
Human-readable "MAJOR.MINOR.PATCH" string.
Definition version.hpp:47
constexpr int LIBRARY_VERSION_MAJOR
Definition version.hpp:42
Definition DomainLayer.hpp:13