Skip to content

Commit

Permalink
⬆️ Pump toml-rs to 0.5.9 to fix #39 (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
  • Loading branch information
pwwang and samuelcolvin committed May 11, 2022
1 parent 43c7938 commit 54cceba
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 66 deletions.
144 changes: 79 additions & 65 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Samuel Colvin <s@muelcolvin.com>"]
edition = "2018"

[dependencies]
toml = {version = "0.5.8", features = ["preserve_order"]}
toml = {version = "0.5.9", features = ["preserve_order"]}
serde = "1.0.126"
pyo3 = {version = "0.16.2", features = ["extension-module"]}

Expand Down
1 change: 1 addition & 0 deletions tests/test_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@pytest.mark.parametrize(
'input_toml,output_obj',
[
('"" = "bar"', {'': 'bar'}),
('foo = "bar"', {'foo': 'bar'}),
('ports = [ 8001, 8001, 8002 ]', {'ports': [8001, 8001, 8002]}),
('x = 1979-05-27T07:32:00', {'x': datetime(1979, 5, 27, 7, 32)}),
Expand Down

0 comments on commit 54cceba

Please sign in to comment.