Skip to content

Commit

Permalink
updated toml++ dependency (#44)
Browse files Browse the repository at this point in the history
also a few minor README tweaks
  • Loading branch information
marzer authored Dec 26, 2020
1 parent 4b3957c commit 2feaff6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

You can try this parser online [here](http://toml-parser.com).

This is an unofficial python wrapper for tomlplusplus (https://marzer.github.io/tomlplusplus/).
This is an unofficial python wrapper for `toml++` (https://marzer.github.io/tomlplusplus/).

Some points you may want to know before use:
* Using `tomlplusplus` means that this module is fully compatible with TOML v1.0.0.
* Using `toml++` means that this module is fully compatible with TOML [v1.0.0-rc.3](https://toml.io/en/v1.0.0-rc.3).
* We convert toml structure to native python data structures (dict/list etc.) when parsing, this is more inline with what `json` module does.
* The binding is using [pybind11](https://github.com/pybind/pybind11).
* The project is tested using [toml-test](https://github.com/BurntSushi/toml-test) and [pytest](https://github.com/pytest-dev/pytest).
Expand Down
3 changes: 3 additions & 0 deletions include/pytomlpp/pytomlpp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
#define TOML_LARGE_FILES 1
#define TOML_HEADER_ONLY 0
#define TOML_UNDEF_MACROS 0 // leaves some toml++'s macros for us to use
#ifdef __APPLE__
#define TOML_INT_CHARCONV 0
#endif

// pytomlpp config
#ifndef PYTOMLPP_PROFILING
Expand Down
2 changes: 1 addition & 1 deletion third_party/tomlplusplus
Submodule tomlplusplus updated 91 files
+35 −49 .circleci/config.yml
+14 −2 .github/ISSUE_TEMPLATE/bug_report.md
+1 −0 .github/ISSUE_TEMPLATE/config.yml
+3 −3 .github/ISSUE_TEMPLATE/feature_request.md
+4 −14 .github/pull_request_template.md
+21 −10 CONTRIBUTING.md
+11 −6 README.md
+1 −1 docs/badge-TOML.svg
+6 −6 docs/main_page.dox
+26 −25 docs/muu.css
+6 −1 examples/error_printer.cpp
+16 −27 examples/meson.build
+1 −1 examples/utf8_console.h
+1 −1 extern/Catch2
+1 −1 extern/mcss
+1 −1 extern/toml-test
+3 −1 include/toml++/toml.h
+27 −13 include/toml++/toml_array.h
+39 −2 include/toml++/toml_array.hpp
+70 −21 include/toml++/toml_common.h
+3 −2 include/toml++/toml_default_formatter.h
+9 −12 include/toml++/toml_default_formatter.hpp
+32 −48 include/toml++/toml_formatter.h
+6 −4 include/toml++/toml_node.hpp
+3 −3 include/toml++/toml_node_view.h
+12 −2 include/toml++/toml_parser.h
+135 −37 include/toml++/toml_parser.hpp
+48 −43 include/toml++/toml_preprocessor.h
+70 −18 include/toml++/toml_print_to_stream.h
+20 −4 include/toml++/toml_table.h
+39 −2 include/toml++/toml_table.hpp
+48 −52 include/toml++/toml_utf8.h
+4 −3 include/toml++/toml_utf8_streams.h
+56 −5 include/toml++/toml_value.h
+1 −1 include/toml++/toml_version.h
+488 −158 meson.build
+5 −6 meson_options.txt
+422 −296 python/generate_documentation.py
+1 −0 python/generate_single_header.py
+3 −1 python/generate_windows_test_targets.py
+7 −0 python/requirements.txt
+3 −2 python/utils.py
+25 −0 tests/conformance_burntsushi_valid.cpp
+0 −27 tests/evil_macros.h
+45 −1 tests/impl_catch2.cpp
+0 −37 tests/impl_toml.cpp
+19 −0 tests/leakproof.h
+3 −6 tests/manipulating_tables.cpp
+3 −1 tests/manipulating_values.cpp
+78 −302 tests/meson.build
+6 −0 tests/settings.h
+24 −2 tests/tests.h
+9 −9 tests/unicode.cpp
+57 −16 tests/user_feedback.cpp
+55 −0 tests/using_iterators.cpp
+1 −1 tests/windows_compat.cpp
+607 −263 toml.hpp
+3 −1 vs/tests/test_debug_x64.vcxproj
+3 −1 vs/tests/test_debug_x64_cpplatest.vcxproj
+3 −1 vs/tests/test_debug_x64_cpplatest_noexcept.vcxproj
+3 −1 vs/tests/test_debug_x64_cpplatest_noexcept_unrel.vcxproj
+3 −1 vs/tests/test_debug_x64_cpplatest_unrel.vcxproj
+3 −1 vs/tests/test_debug_x64_noexcept.vcxproj
+3 −1 vs/tests/test_debug_x64_noexcept_unrel.vcxproj
+3 −1 vs/tests/test_debug_x64_unrel.vcxproj
+3 −1 vs/tests/test_debug_x86.vcxproj
+3 −1 vs/tests/test_debug_x86_cpplatest.vcxproj
+3 −1 vs/tests/test_debug_x86_cpplatest_noexcept.vcxproj
+3 −1 vs/tests/test_debug_x86_cpplatest_noexcept_unrel.vcxproj
+3 −1 vs/tests/test_debug_x86_cpplatest_unrel.vcxproj
+3 −1 vs/tests/test_debug_x86_noexcept.vcxproj
+3 −1 vs/tests/test_debug_x86_noexcept_unrel.vcxproj
+3 −1 vs/tests/test_debug_x86_unrel.vcxproj
+3 −1 vs/tests/test_release_x64.vcxproj
+3 −1 vs/tests/test_release_x64_cpplatest.vcxproj
+3 −1 vs/tests/test_release_x64_cpplatest_noexcept.vcxproj
+3 −1 vs/tests/test_release_x64_cpplatest_noexcept_unrel.vcxproj
+3 −1 vs/tests/test_release_x64_cpplatest_unrel.vcxproj
+3 −1 vs/tests/test_release_x64_noexcept.vcxproj
+3 −1 vs/tests/test_release_x64_noexcept_unrel.vcxproj
+3 −1 vs/tests/test_release_x64_unrel.vcxproj
+3 −1 vs/tests/test_release_x86.vcxproj
+3 −1 vs/tests/test_release_x86_cpplatest.vcxproj
+3 −1 vs/tests/test_release_x86_cpplatest_noexcept.vcxproj
+3 −1 vs/tests/test_release_x86_cpplatest_noexcept_unrel.vcxproj
+3 −1 vs/tests/test_release_x86_cpplatest_unrel.vcxproj
+3 −1 vs/tests/test_release_x86_noexcept.vcxproj
+3 −1 vs/tests/test_release_x86_noexcept_unrel.vcxproj
+3 −1 vs/tests/test_release_x86_unrel.vcxproj
+3 −2 vs/toml++.vcxproj
+9 −6 vs/toml++.vcxproj.filters

0 comments on commit 2feaff6

Please sign in to comment.