Skip to content

Commit f049b12

Browse files
committed
Sync from upstream.
2 parents e64865a + 6633c36 commit f049b12

40 files changed

+143
-1793
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ subprojects/*/
1414
.vscode/ipch/*
1515
.vscode/settings.json
1616
.vscode/c_cpp_properties.json
17-
benchmark/tl/*
1817
test/leaf.hpp
1918
doc/leaf.html

.vscode/tasks.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
{
77
"label": "Setup Meson build directories",
88
"type": "shell",
9-
"command": "cd ${workspaceRoot} && meson setup -D leaf_boost_examples=true -D leaf_lua_examples=true _bld/debug && meson setup -D leaf_boost_examples=false -D single_header=true _bld/debug_single_header && meson setup -D leaf_boost_examples=true -D leaf_lua_examples=true _bld/release --buildtype release && meson setup -D single_header=true _bld/release_single_header --buildtype release && meson setup -D leaf_diagnostics=0 -D cpp_eh=none -D b_ndebug=true -D b_lto=true -D leaf_enable_benchmarks=true _bld/benchmark --buildtype release",
9+
"command": "cd ${workspaceRoot} && meson setup -D leaf_boost_examples=true -D leaf_lua_examples=true _bld/debug && meson setup -D leaf_boost_examples=false -D single_header=true _bld/debug_single_header && meson setup -D leaf_boost_examples=true -D leaf_lua_examples=true _bld/release --buildtype release && meson setup -D single_header=true _bld/release_single_header --buildtype release",
10+
"problemMatcher": []
11+
},
12+
{
13+
"label": "Setup Meson build directories (no exceptions)",
14+
"type": "shell",
15+
"command": "cd ${workspaceRoot} && meson setup -D cpp_eh=none -D leaf_boost_examples=true -D leaf_lua_examples=true _bld/debug && meson setup -D cpp_eh=none -D leaf_boost_examples=true -D single_header=true _bld/debug_single_header && meson setup -D cpp_eh=none -D leaf_boost_examples=true -D leaf_lua_examples=true _bld/release --buildtype release && meson setup -D cpp_eh=none -D leaf_boost_examples=true -D single_header=true _bld/release_single_header --buildtype release",
1016
"problemMatcher": []
1117
},
1218
{
@@ -97,6 +103,9 @@
97103
"group": "test",
98104
"label": "Run all unit tests (b2, all configurations)",
99105
"type": "shell",
106+
"dependsOn": [
107+
"Generate leaf.hpp"
108+
],
100109
"command": "../../b2 test link=shared,static variant=debug,release,leaf_debug_diag0,leaf_release_diag0,leaf_debug_single_header,leaf_release_single_header,leaf_debug_embedded,leaf_release_embedded exception-handling=off rtti=off cxxstd=11,14,1z,17 && ../../b2 test link=shared,static variant=debug,release,leaf_debug_diag0,leaf_release_diag0,leaf_debug_single_header,leaf_release_single_header exception-handling=on,off cxxstd=11,14,1z,17",
101110
"windows": {
102111
"command": "..\\..\\b2 test link=shared,static variant=debug,release,leaf_debug_diag0,leaf_release_diag0,leaf_debug_single_header,leaf_release_single_header,leaf_debug_embedded,leaf_release_embedded exception-handling=off rtti=off cxxstd=14,17,latest && ..\\..\\b2 test link=shared,static variant=debug,release,leaf_debug_diag0,leaf_release_diag0,leaf_debug_single_header,leaf_release_single_header exception-handling=on,off cxxstd=14,17,latest",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://boostorg.github.io/leaf/
99
## Features
1010

1111
* Portable single-header format, no dependencies.
12-
* Tiny code size when configured for embedded development.
12+
* Tiny code size, configurable for embedded development.
1313
* No dynamic memory allocations, even with very large payloads.
1414
* Deterministic unbiased efficiency on the "happy" path and the "sad" path.
1515
* Error objects are handled in constant time, independent of call stack depth.
@@ -26,6 +26,6 @@ https://boostorg.github.io/leaf/
2626
Besides GitHub, there are two other distribution channels:
2727

2828
* LEAF is included in official [Boost](https://www.boost.org/) releases, starting with Boost 1.75.
29-
* For maximum portability, the library is also available in single-header format: simply download [leaf.hpp](https://boostorg.github.io/leaf/leaf.hpp) (direct download link).
29+
* For maximum portability, the library is also available in single-header format: [leaf.hpp](https://raw.githubusercontent.com/boostorg/leaf/gh-pages/leaf.hpp).
3030

3131
Copyright 2018-2024 Emil Dotchevski and Reverge Studios, Inc. Distributed under the http://www.boost.org/LICENSE_1_0.txt[Boost Software License, Version 1.0].

benchmark/b.bat

Lines changed: 0 additions & 6 deletions
This file was deleted.

benchmark/b.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)