-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The formatting options that were passed as a parameter to `toml.enc…
…ode`, `toml.encodeToFile`, `toml.toJSON`, and `toml.toYAML` previously had no effect when overriding values. - Resolved CMake `FetchContent_Populate` warning. - Updated to magic_enum v0.9.7. - Added encoding options tests.
- Loading branch information
Showing
10 changed files
with
157 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"database" : { | ||
"data" : [ | ||
[ | ||
"delta", | ||
"phi" | ||
], | ||
[ | ||
3.1400000000000001 | ||
] | ||
], | ||
"enabled" : true, | ||
"ports" : [ | ||
8000, | ||
8001, | ||
8002 | ||
], | ||
"temp_targets" : { | ||
"case" : 72, | ||
"cpu" : 79.5 | ||
} | ||
}, | ||
"owner" : { | ||
"dob" : "1979-05-27T07:32:00-08:00", | ||
"name" : "Tom Preston-Werner" | ||
}, | ||
"servers" : { | ||
"alpha" : { | ||
"ip" : "10.0.0.1", | ||
"role" : "frontend" | ||
}, | ||
"beta" : { | ||
"ip" : "10.0.0.2", | ||
"role" : "backend" | ||
} | ||
}, | ||
"title" : "TOML Example" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
title="TOML Example" | ||
|
||
[database] | ||
data=[ [ "delta", "phi" ], [ 3.1400000000000001 ] ] | ||
enabled=true | ||
ports=[ 8000, 8001, 8002 ] | ||
|
||
[database.temp_targets] | ||
case=72 | ||
cpu=79.5 | ||
|
||
[owner] | ||
dob="1979-05-27T07:32:00-08:00" | ||
name="Tom Preston-Werner" | ||
|
||
[servers.alpha] | ||
ip="10.0.0.1" | ||
role="frontend" | ||
|
||
[servers.beta] | ||
ip="10.0.0.2" | ||
role="backend" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package = "toml" | ||
version = "0.4.0-0" | ||
version = "0.4.1-0" | ||
|
||
local v = version:gsub("%-%d", "") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters