feat: Support Verus verification (#759)

Support for Verus verification. Also add a verus github workflow.

Signed-off-by: Jay Lorch <jaylorch@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jay Lorch
2026-07-22 16:21:00 -07:00
committed by GitHub
parent f98865fc98
commit 4c183e931d
12 changed files with 621 additions and 25 deletions
Generated
+85 -4
View File
@@ -614,6 +614,12 @@ dependencies = [
"zerocopy",
]
[[package]]
name = "hashbrown"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
[[package]]
name = "hashbrown"
version = "0.14.5"
@@ -796,6 +802,16 @@ dependencies = [
"icu_properties",
]
[[package]]
name = "indexmap"
version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
dependencies = [
"autocfg",
"hashbrown 0.12.3",
]
[[package]]
name = "indexmap"
version = "2.14.0"
@@ -1381,7 +1397,7 @@ dependencies = [
"globset",
"hashbrown 0.17.1",
"icu_casemap",
"indexmap",
"indexmap 2.14.0",
"ipnet",
"jsonschema",
"lazy_static",
@@ -1405,6 +1421,7 @@ dependencies = [
"thiserror",
"url",
"uuid",
"vstd",
"walkdir",
]
@@ -1504,7 +1521,7 @@ version = "0.9.34+deprecated"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
dependencies = [
"indexmap",
"indexmap 2.14.0",
"itoa",
"ryu",
"serde",
@@ -1666,7 +1683,7 @@ version = "0.25.13+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6975367e4d2ef766d86af01ffad14b622fecc8d4357a998fbc4deb6e9bacaf9b"
dependencies = [
"indexmap",
"indexmap 2.14.0",
"toml_datetime",
"toml_parser",
"toml_writer",
@@ -1768,12 +1785,76 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "verus_builtin"
version = "0.0.0-2026-05-17-0151"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cab9266bfb5cf45a080f425c560b0e0be2bf81194f0e80258990c49c1829d8b9"
[[package]]
name = "verus_builtin_macros"
version = "0.0.0-2026-07-12-0122"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fb60e3a141ababe618fbdb759f14aa8544f6346a98a44c1e3a7dbe20b1f2892"
dependencies = [
"proc-macro2 1.0.106",
"quote 1.0.46",
"syn 2.0.119",
"synstructure",
"verus_prettyplease",
"verus_syn",
]
[[package]]
name = "verus_prettyplease"
version = "0.0.0-2026-05-31-0205"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ffdc94c89109a67c59646f6b6e71b49de394020f45294247dd716470523245b"
dependencies = [
"proc-macro2 1.0.106",
"verus_syn",
]
[[package]]
name = "verus_state_machines_macros"
version = "0.0.0-2026-06-14-0213"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6704a9ce586a5027f87933d9a84817411c937804090a9585c28bf335ac37eefc"
dependencies = [
"indexmap 1.9.3",
"proc-macro2 1.0.106",
"quote 1.0.46",
"verus_syn",
]
[[package]]
name = "verus_syn"
version = "0.0.0-2026-05-31-0205"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "030b774330d5ec618691c2cd6fba8bbb13bd538f3884a1143450baec25749706"
dependencies = [
"proc-macro2 1.0.106",
"quote 1.0.46",
"unicode-ident",
]
[[package]]
name = "vsimd"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64"
[[package]]
name = "vstd"
version = "0.0.0-2026-07-12-0122"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd0a0d328e1d6382af99a65f71677cf4b9200ec24e09fcafa7b1a3af8c8f5111"
dependencies = [
"verus_builtin",
"verus_builtin_macros",
"verus_state_machines_macros",
]
[[package]]
name = "walkdir"
version = "2.5.0"
@@ -2087,7 +2168,7 @@ checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b"
dependencies = [
"crc32fast",
"flate2",
"indexmap",
"indexmap 2.14.0",
"memchr",
"typed-path",
"zopfli",