Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7003ead
perf(parsing): isolate per-field helpers in NamedTupleParser, destruc…
clockblocker Nov 29, 2026
5f85a91
perf(tuple): replace O(N^2) calculate_positions fold and per-index Tu…
clockblocker Nov 30, 2026
ba007ee
perf(internal): add apply_to_fields and avoid NamedTuple in HasDefaul…
clockblocker Nov 29, 2026
7caae91
fix(error): preserve structured Error::details() paths in FieldVarian…
clockblocker Nov 29, 2026
0c64f23
perf(generic): eliminate O(N*D) subtree deep copies in Generic constr…
clockblocker Nov 30, 2026
f2933be
perf(internal): use O(log N) exponential + binary search in cpp20::nu…
clockblocker Nov 29, 2026
effb0f7
perf(parsing): isolate per-field helpers in ViewReader and ViewReader…
clockblocker Nov 29, 2026
f095e6f
feat(enums): add rfl::TransformEnumNames processors (#731)
clockblocker Nov 29, 2026
bcd8f9d
feat(reflection): add public rfl::type_name<T>() and rfl::type_name_v<T>
clockblocker Nov 29, 2026
bfe3401
perf(schema): fast-path scalar defaults in NamedTupleParser::to_schema
clockblocker Nov 29, 2026
a332dda
perf(cli): lower_bound prefix skipping in cli::Reader, O(F) usage pos…
clockblocker Nov 30, 2026
732e0f9
perf(named-tuple): O(1)-instantiation find_index, non-recursive find_…
clockblocker Nov 30, 2026
5c994db
perf(processors): eliminate redundant Tuple round-trip copies in case…
clockblocker Nov 30, 2026
526eb7b
feat(json-schema): add rfl::IntegerBounds opt-in processor (#683)
clockblocker Nov 29, 2026
d240a04
fix(schema): cast char to unsigned char for std::isalnum and add miss…
clockblocker Nov 29, 2026
a56289d
feat(reflection): expose public rfl::StringLiteral header and constex…
clockblocker Nov 29, 2026
505bde3
perf(literal): O(1) name lookup, O(log N) string lookup, and O(1)-ins…
clockblocker Nov 30, 2026
b2a93ad
perf(formats): O(1) Cap'n Proto union discriminant, O(log M) flexbuf/…
clockblocker Nov 30, 2026
b1ec799
perf(internal): O(1) nth_element/nth_element_t, single-bind C++20 get…
clockblocker Nov 30, 2026
c218cb9
feat(json-schema): add rfl::VariantsAsOneOf opt-in processor (#375)
clockblocker Nov 29, 2026
b4a233e
perf(parsing): short-circuit dispatch and symbol isolation for Parser…
clockblocker Nov 30, 2026
32f5fcf
perf(parsing): add FieldNameLookup cursor-hint and binary-search fiel…
clockblocker Nov 29, 2026
0576c04
perf(parsing): O(log K) lookup and symbol isolation for FieldVariantR…
clockblocker Nov 30, 2026
7fc3375
perf(parsing): O(1) TupleReader dispatch, strip-name/destructor symbo…
clockblocker Nov 30, 2026
8f506ea
fix(schema): unwrap Type::Description and Type::Deprecated in Avro an…
clockblocker Nov 29, 2026
f0a7850
feat(enums): add rfl::EnumNames<E> per-enum wire-name trait (#106)
clockblocker Nov 29, 2026
52aaaaa
feat(json): add rfl::json::Raw for passthrough raw JSON values (#368)
clockblocker Nov 29, 2026
2b9873a
perf(variant): inline switch-based Variant::visit, O(1) get_if/elemen…
clockblocker Nov 30, 2026
7c449ff
perf(tuple): single-pass O(N) tuple_cat, move_from_tuple fast path, w…
clockblocker Nov 30, 2026
f93d1a1
build(cmake): subproject ergonomics, CMake 3.20 support, warning/lint…
clockblocker Nov 30, 2026
96883cf
perf(schema): eliminate O(N^2) Object::operator[] schema insertions a…
clockblocker Nov 30, 2026
a7ae2e6
build(cmake): isolate bundled yyjson visibility, support external yyj…
clockblocker Nov 30, 2026
7bfe63c
perf(internal): O(N) remove_fields and balanced define_* type builders
clockblocker Nov 30, 2026
04cb8f8
feat(json,yaml): add opt-in rfl::NoDuplicateKeys processor for JSON a…
clockblocker Nov 29, 2026
1874ef9
feat(tagged-union): add opt-in rfl::DefaultTag<Discriminator, Tag> pr…
clockblocker Nov 29, 2026
6392e66
feat(internal): add cycle-safe is_safe_default_constructible trait an…
clockblocker Nov 29, 2026
2791e40
feat(schema): emit JSON Schema defaults for rfl::DefaultIfMissing (#396)
clockblocker Nov 29, 2026
d9cf3be
feat(parsing): add opt-in rfl::DefaultIfNull processor (#796)
clockblocker Nov 29, 2026
ff06591
feat(schema): add opt-in zero-bloat rfl::Metadata<T> for out-of-band …
clockblocker Nov 29, 2026
315ce69
feat(json-schema): add rfl::SchemaName<T> and rfl::SchemaExtension<T>
clockblocker Nov 29, 2026
83ea90e
feat(error): add format-agnostic rfl::ErrorKind with inline zero-allo…
clockblocker Nov 29, 2026
1b35856
feat(error): add machine-readable Error::code() and ErrorDetail::code…
clockblocker Nov 29, 2026
7a8c9bd
feat(processors): add rfl::AddNullFields write-side processor
clockblocker Nov 29, 2026
d5279aa
feat(wrappers): add rfl::Nullable<T> and rfl::TriState<T>
clockblocker Nov 29, 2026
0680403
feat(wrappers): add rfl::Alias read-only field aliases on FieldNameLo…
clockblocker Nov 29, 2026
457a524
feat(nlohmann): add opt-in header-only nlohmann::json adapter (<rfl/n…
clockblocker Nov 29, 2026
6952582
feat(processors): add opt-in rfl::Int64AsString processor with OpenAP…
clockblocker Nov 29, 2026
9e96db7
feat(parsing): add opt-in rfl::MaxDepth<N> processor for recursion-de…
clockblocker Nov 29, 2026
1be0c82
build(cmake): remove dev-only vcpkg git submodule from default checkouts
clockblocker Nov 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/actions/setup-vcpkg/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,25 @@ runs:
--retry-delay 10 --connect-timeout 30 --output {dst} {url}
run: |
cache_dir="${RUNNER_TEMP//\\//}/vcpkg-binary-cache"
vcpkg_dir="${RUNNER_TEMP//\\//}/vcpkg"
mkdir -p "$cache_dir"
vcpkg_commit=$(sed -n 's/.*"baseline"[[:space:]]*:[[:space:]]*"\([0-9a-f]\{40\}\)".*/\1/p' vcpkg-configuration.json | head -n 1)
if [ -z "$vcpkg_commit" ]; then
echo "::error::Failed to read vcpkg baseline from vcpkg-configuration.json"
exit 1
fi
echo "VCPKG_BINARY_SOURCES=clear;files,$cache_dir,readwrite" >> "$GITHUB_ENV"
echo "X_VCPKG_ASSET_SOURCES=$X_VCPKG_ASSET_SOURCES" >> "$GITHUB_ENV"
echo "cache-path=$cache_dir" >> "$GITHUB_OUTPUT"
echo "vcpkg-revision=$(git rev-parse HEAD:vcpkg)" >> "$GITHUB_OUTPUT"
echo "vcpkg-dir=$vcpkg_dir" >> "$GITHUB_OUTPUT"
echo "vcpkg-revision=$vcpkg_commit" >> "$GITHUB_OUTPUT"
echo "image-version=${ImageVersion:-unknown}" >> "$GITHUB_OUTPUT"

# run-vcpkg requires binaryCachePath to exist before the action starts.
- uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: ${{ steps.config.outputs.vcpkg-dir }}
vcpkgGitCommitId: ${{ steps.config.outputs.vcpkg-revision }}
binaryCachePath: ${{ steps.config.outputs.cache-path }}

- name: Cache vcpkg binaries
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history for .GitInfo and .Lastmod
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v5
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
format: ["JSON", "AVRO", "BOOST_SERIALIZATION", "CAPNPROTO", "CBOR", "CEREAL", "FLEXBUFFERS", "MSGPACK", "PARQUET", "TOML", "UBJSON", "XML", "YAML", "benchmarks", "headers"]
format: ["JSON", "AVRO", "BOOST_SERIALIZATION", "CAPNPROTO", "CBOR", "CEREAL", "FLEXBUFFERS", "MSGPACK", "NLOHMANN", "PARQUET", "TOML", "UBJSON", "XML", "YAML", "benchmarks", "headers"]
compiler: [llvm, gcc]
compiler-version: [11, 12, 13, 14, 16, 17, 18]
cxx: [20, 23]
Expand Down Expand Up @@ -60,7 +60,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
format: ["JSON", "AVRO", "BOOST_SERIALIZATION", "CAPNPROTO", "CBOR", "CEREAL", "FLEXBUFFERS", "MSGPACK", "PARQUET", "TOML", "UBJSON", "XML", "YAML", "benchmarks"]
format: ["JSON", "AVRO", "BOOST_SERIALIZATION", "CAPNPROTO", "CBOR", "CEREAL", "FLEXBUFFERS", "MSGPACK", "NLOHMANN", "PARQUET", "TOML", "UBJSON", "XML", "YAML", "benchmarks"]
name: "windows-msvc (${{ matrix.format }})"
concurrency:
group: "windows-${{ github.ref }}-${{ github.job }}-${{ matrix.format }}"
Expand All @@ -17,7 +17,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: ilammy/msvc-dev-cmd@v1
- name: Set up vcpkg
Expand Down Expand Up @@ -76,14 +75,13 @@ jobs:
strategy:
fail-fast: false
matrix:
format: ["JSON", "BOOST_SERIALIZATION", "CAPNPROTO", "CBOR", "FLEXBUFFERS", "MSGPACK", "PARQUET", "TOML", "UBJSON", "XML", "YAML"]
format: ["JSON", "BOOST_SERIALIZATION", "CAPNPROTO", "CBOR", "FLEXBUFFERS", "MSGPACK", "NLOHMANN", "PARQUET", "TOML", "UBJSON", "XML", "YAML"]
name: "windows-msvc-shared (${{ matrix.format }})"
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: ilammy/msvc-dev-cmd@v1
- name: Set up vcpkg
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
*.yas

!vcpkg.json
!vcpkg-configuration.json
!.github/**/*.yml
!.github/**/*.yaml
!benchmarks/**/*.json
Expand Down Expand Up @@ -90,6 +91,7 @@ lib64/
parts/
sdist/
var/
/vcpkg/
vcpkg_installed/
wheels/
share/python-wheels/
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

Loading
Loading