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:
|
||||
- fixed `[dotted.table]` source columns sometimes being off by one (#152) (@vaartis)
|
||||
@ -23,7 +24,7 @@ template:
|
||||
|
||||
#### Additions:
|
||||
- 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 missing relational operators for `source_position`
|
||||
|
||||
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.14)
|
||||
|
||||
project(
|
||||
tomlplusplus
|
||||
VERSION 3.1.0
|
||||
VERSION 3.2.0
|
||||
DESCRIPTION "Header-only TOML config file parser and serializer for C++17"
|
||||
HOMEPAGE_URL "https://marzer.github.io/tomlplusplus/"
|
||||
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>`
|
||||
|
||||
### Conan
|
||||
Add `tomlplusplus/3.1.0` to your conanfile.
|
||||
Add `tomlplusplus/3.2.0` to your conanfile.
|
||||
|
||||
### DDS
|
||||
Add `tomlpp` to your `package.json5`, e.g.:
|
||||
```
|
||||
depends: [
|
||||
'tomlpp^3.1.0',
|
||||
'tomlpp^3.2.0',
|
||||
]
|
||||
```
|
||||
> ℹ️ _[What is DDS?](https://dds.pizza/)_
|
||||
@ -151,7 +151,7 @@ include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
tomlplusplus
|
||||
GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git
|
||||
GIT_TAG v3.1.0
|
||||
GIT_TAG v3.2.0
|
||||
)
|
||||
FetchContent_MakeAvailable(tomlplusplus)
|
||||
```
|
||||
|
@ -453,7 +453,7 @@ and [emoji sundae] Regular. The API is the same for both.
|
||||
|
||||
|
||||
\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.:
|
||||
\json
|
||||
depends: [
|
||||
'tomlpp^3.1.0',
|
||||
'tomlpp^3.2.0',
|
||||
]
|
||||
\endjson
|
||||
|
||||
@ -507,7 +507,7 @@ include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
tomlplusplus
|
||||
GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git
|
||||
GIT_TAG v3.1.0
|
||||
GIT_TAG v3.2.0
|
||||
)
|
||||
FetchContent_MakeAvailable(tomlplusplus)
|
||||
\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
|
||||
class TOML_EXPORTED_CLASS path_component
|
||||
{
|
||||
/// \cond
|
||||
struct storage_t
|
||||
{
|
||||
static constexpr size_t size =
|
||||
|
@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#define TOML_LIB_MAJOR 3
|
||||
#define TOML_LIB_MINOR 1
|
||||
#define TOML_LIB_MINOR 2
|
||||
#define TOML_LIB_PATCH 0
|
||||
|
||||
#define TOML_LANG_MAJOR 1
|
||||
|
@ -1,7 +1,7 @@
|
||||
project(
|
||||
'tomlplusplus',
|
||||
'cpp',
|
||||
version: '3.1.0',
|
||||
version: '3.2.0',
|
||||
meson_version: '>=0.54.0',
|
||||
license: 'MIT',
|
||||
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
|
||||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
@ -932,7 +932,7 @@ TOML_ENABLE_WARNINGS;
|
||||
//******** impl/version.h ********************************************************************************************
|
||||
|
||||
#define TOML_LIB_MAJOR 3
|
||||
#define TOML_LIB_MINOR 1
|
||||
#define TOML_LIB_MINOR 2
|
||||
#define TOML_LIB_PATCH 0
|
||||
|
||||
#define TOML_LANG_MAJOR 1
|
||||
|
Loading…
Reference in New Issue
Block a user