Skip to content

Commit

Permalink
testsys: update toml to 0.8
Browse files Browse the repository at this point in the history
According to toml-rs/toml#613, the tables_last
function is no longer needed. This allows us to update testsys to use
toml 0.8
  • Loading branch information
webern committed Oct 4, 2023
1 parent 4010237 commit 778e923
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
21 changes: 6 additions & 15 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ skip = [
{ name = "socket2", version = "0.4" },
# multiple deps are using an older version of syn
{ name = "syn", version = "1" },
# Testsys is using a feature of TOML 0.5 that has been removed in subsequent versions.
{ name = "toml", version = "0.5" },

# aws-sdk-rust is using an old version of rustls, hyper-rustls, and tokio-rustls
{ name = "rustls", version = "=0.20" },
Expand Down
2 changes: 1 addition & 1 deletion tools/testsys-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ serde = { version = "1", features = ["derive"] }
serde_plain = "1"
serde_yaml = "0.9"
snafu = "0.7"
toml = "0.5"
toml = "0.8"
2 changes: 1 addition & 1 deletion tools/testsys-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct TestConfig {
/// High level configuration for TestSys
pub test: Option<Test>,

#[serde(flatten, serialize_with = "toml::ser::tables_last")]
#[serde(flatten)]
/// Configuration for testing variants
pub configs: HashMap<String, GenericConfig>,
}
Expand Down

0 comments on commit 778e923

Please sign in to comment.