Skip to content

Commit

Permalink
cmm: Never inline package.metadata.* tables
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <nick@nickspinale.com>
  • Loading branch information
nspin committed May 29, 2024
1 parent 680d6fc commit 00e9dfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion crates/private/tests/root-task/verus/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ version = "0.1.0"
authors = ["Nick Spinale <nick.spinale@coliasgroup.com>"]
edition = "2021"
license = "BSD-2-Clause"
metadata = { verus = { verify = true } }

[package.metadata.verus]
verify = true

[dependencies.builtin]
git = "https://github.com/coliasgroup/verus.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub fn cargo_manifest_policy() -> Policy {
| . [-]
| ['target'] .{2}
| ['profile'] . ['build-override']?
| ['package'] ['metadata'] .
"#,
)
.unwrap(),
Expand Down Expand Up @@ -66,7 +67,7 @@ pub fn cargo_manifest_policy() -> Policy {
path_regex: PathRegex::new("['package']").unwrap(),
key_ordering: KeyOrdering {
front: vec!["name".to_owned(), "version".to_owned()],
back: vec!["description".to_owned()],
back: vec!["description".to_owned(), "metadata".to_owned()],
},
..Default::default()
},
Expand Down

0 comments on commit 00e9dfe

Please sign in to comment.