Skip to content

Commit

Permalink
try vecmap, doesnt realy work, moving on from there
Browse files Browse the repository at this point in the history
  • Loading branch information
LizardWizzard committed Feb 10, 2024
1 parent f283ccc commit a7c4427
Show file tree
Hide file tree
Showing 14 changed files with 846 additions and 597 deletions.
105 changes: 103 additions & 2 deletions Cargo.lock

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

9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ edition = "2021"
hashbrown = { version = "0.14.3", features = ["raw"] }
tracing = "0.1.40"

# dev dependencies are not allowed to be optional
# kani doesnt use dev-dependencies :(
# https://github.com/model-checking/kani/issues/585
# vector-map = { version = "1.0.1", optional = true }
vector-map = { path = "vec-map-rs", optional = true }

[dev-dependencies]
once_cell = "1.19.0"
tracing-subscriber = "0.3.18"

[features]
verification = ["vector-map"]
6 changes: 6 additions & 0 deletions clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
disallowed-types = [
{ path = "std::collections::HashMap", reason = "Unsuitable for verification use crate::collections:Map that cfg's into the right version" },
{ path = "std::collections::HashSet", reason = "Unsuitable for verification use crate::collections:Set that cfg's into the right version" },
{ path = "hashbrown::HashMap", reason = "Unsuitable for verification use crate::collections:Map that cfg's into the right version" },
{ path = "hashbrown::HashSet", reason = "Unsuitable for verification use crate::collections:Set that cfg's into the right version" },
]
Loading

0 comments on commit a7c4427

Please sign in to comment.