mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-11-02 02:26:28 +00:00
v3.2.0
This commit is contained in:
parent
be0fbd5203
commit
4b166b69f2
@ -14,7 +14,8 @@ template:
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
## Unreleased
|
## v3.2.0
|
||||||
|
[Released](https://github.com/marzer/tomlplusplus/releases/tag/v3.2.0) 2022-08-29
|
||||||
|
|
||||||
#### Fixes:
|
#### Fixes:
|
||||||
- fixed `[dotted.table]` source columns sometimes being off by one (#152) (@vaartis)
|
- fixed `[dotted.table]` source columns sometimes being off by one (#152) (@vaartis)
|
||||||
@ -23,7 +24,7 @@ template:
|
|||||||
|
|
||||||
#### Additions:
|
#### Additions:
|
||||||
- added value type deduction to `emplace()` methods
|
- added value type deduction to `emplace()` methods
|
||||||
- added `toml::path` utility type (#153, #156) (@jonestristand)
|
- added `toml::path` utility type (#153, #156, #168) (@jonestristand, @kcsaul)
|
||||||
- added config option `TOML_CALLCONV`
|
- added config option `TOML_CALLCONV`
|
||||||
- added missing relational operators for `source_position`
|
- added missing relational operators for `source_position`
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.14)
|
|||||||
|
|
||||||
project(
|
project(
|
||||||
tomlplusplus
|
tomlplusplus
|
||||||
VERSION 3.1.0
|
VERSION 3.2.0
|
||||||
DESCRIPTION "Header-only TOML config file parser and serializer for C++17"
|
DESCRIPTION "Header-only TOML config file parser and serializer for C++17"
|
||||||
HOMEPAGE_URL "https://marzer.github.io/tomlplusplus/"
|
HOMEPAGE_URL "https://marzer.github.io/tomlplusplus/"
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
|
@ -104,13 +104,13 @@ You'll find some more code examples in the `examples` directory, and plenty more
|
|||||||
3. `#include <toml++/toml.h>`
|
3. `#include <toml++/toml.h>`
|
||||||
|
|
||||||
### Conan
|
### Conan
|
||||||
Add `tomlplusplus/3.1.0` to your conanfile.
|
Add `tomlplusplus/3.2.0` to your conanfile.
|
||||||
|
|
||||||
### DDS
|
### DDS
|
||||||
Add `tomlpp` to your `package.json5`, e.g.:
|
Add `tomlpp` to your `package.json5`, e.g.:
|
||||||
```
|
```
|
||||||
depends: [
|
depends: [
|
||||||
'tomlpp^3.1.0',
|
'tomlpp^3.2.0',
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
> ℹ️ _[What is DDS?](https://dds.pizza/)_
|
> ℹ️ _[What is DDS?](https://dds.pizza/)_
|
||||||
@ -151,7 +151,7 @@ include(FetchContent)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
tomlplusplus
|
tomlplusplus
|
||||||
GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git
|
GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git
|
||||||
GIT_TAG v3.1.0
|
GIT_TAG v3.2.0
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(tomlplusplus)
|
FetchContent_MakeAvailable(tomlplusplus)
|
||||||
```
|
```
|
||||||
|
@ -453,7 +453,7 @@ and [emoji sundae] Regular. The API is the same for both.
|
|||||||
|
|
||||||
|
|
||||||
\subsection mainpage-adding-lib-conan Conan
|
\subsection mainpage-adding-lib-conan Conan
|
||||||
Add `tomlplusplus/3.1.0` to your conanfile.
|
Add `tomlplusplus/3.2.0` to your conanfile.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -461,7 +461,7 @@ Add `tomlplusplus/3.1.0` to your conanfile.
|
|||||||
Add `tomlpp` to your `package.json5`, e.g.:
|
Add `tomlpp` to your `package.json5`, e.g.:
|
||||||
\json
|
\json
|
||||||
depends: [
|
depends: [
|
||||||
'tomlpp^3.1.0',
|
'tomlpp^3.2.0',
|
||||||
]
|
]
|
||||||
\endjson
|
\endjson
|
||||||
|
|
||||||
@ -507,7 +507,7 @@ include(FetchContent)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
tomlplusplus
|
tomlplusplus
|
||||||
GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git
|
GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git
|
||||||
GIT_TAG v3.1.0
|
GIT_TAG v3.2.0
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(tomlplusplus)
|
FetchContent_MakeAvailable(tomlplusplus)
|
||||||
\endcmake
|
\endcmake
|
||||||
|
@ -20,6 +20,7 @@ TOML_NAMESPACE_START
|
|||||||
/// \brief Represents a single component of a complete 'TOML-path': either a key or an array index
|
/// \brief Represents a single component of a complete 'TOML-path': either a key or an array index
|
||||||
class TOML_EXPORTED_CLASS path_component
|
class TOML_EXPORTED_CLASS path_component
|
||||||
{
|
{
|
||||||
|
/// \cond
|
||||||
struct storage_t
|
struct storage_t
|
||||||
{
|
{
|
||||||
static constexpr size_t size =
|
static constexpr size_t size =
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define TOML_LIB_MAJOR 3
|
#define TOML_LIB_MAJOR 3
|
||||||
#define TOML_LIB_MINOR 1
|
#define TOML_LIB_MINOR 2
|
||||||
#define TOML_LIB_PATCH 0
|
#define TOML_LIB_PATCH 0
|
||||||
|
|
||||||
#define TOML_LANG_MAJOR 1
|
#define TOML_LANG_MAJOR 1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
project(
|
project(
|
||||||
'tomlplusplus',
|
'tomlplusplus',
|
||||||
'cpp',
|
'cpp',
|
||||||
version: '3.1.0',
|
version: '3.2.0',
|
||||||
meson_version: '>=0.54.0',
|
meson_version: '>=0.54.0',
|
||||||
license: 'MIT',
|
license: 'MIT',
|
||||||
default_options: [ # https://mesonbuild.com/Builtin-options.html
|
default_options: [ # https://mesonbuild.com/Builtin-options.html
|
||||||
|
4
toml.hpp
4
toml.hpp
@ -1,6 +1,6 @@
|
|||||||
//----------------------------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// toml++ v3.1.0
|
// toml++ v3.2.0
|
||||||
// https://github.com/marzer/tomlplusplus
|
// https://github.com/marzer/tomlplusplus
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
@ -932,7 +932,7 @@ TOML_ENABLE_WARNINGS;
|
|||||||
//******** impl/version.h ********************************************************************************************
|
//******** impl/version.h ********************************************************************************************
|
||||||
|
|
||||||
#define TOML_LIB_MAJOR 3
|
#define TOML_LIB_MAJOR 3
|
||||||
#define TOML_LIB_MINOR 1
|
#define TOML_LIB_MINOR 2
|
||||||
#define TOML_LIB_PATCH 0
|
#define TOML_LIB_PATCH 0
|
||||||
|
|
||||||
#define TOML_LANG_MAJOR 1
|
#define TOML_LANG_MAJOR 1
|
||||||
|
Loading…
Reference in New Issue
Block a user