Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/verus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
echo "${z3_sha256} z3.zip" | sha256sum --check --strict
unzip -q z3.zip
echo "$PWD/z3-4.16.0-x64-glibc-2.39/bin" >> "$GITHUB_PATH"
echo "VERUS_Z3_PATH=$PWD/z3-4.16.0-x64-glibc-2.39/bin/z3" >> "$GITHUB_ENV"
- name: Cache cargo
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
Expand All @@ -45,8 +46,8 @@ jobs:
shell: bash
run: |
set -euxo pipefail
asset_url=https://github.com/verus-lang/verus/releases/download/release%2F0.2026.09.06.8dea4a2/verus-0.2026.09.06.8dea4a2-x86-linux.zip
asset_sha256=13d01e134c0620c3b29770874707d16c33b3d227c843a489c8ceb744d43c0a16
asset_url=https://github.com/verus-lang/verus/releases/download/release%2F0.2026.10.04.426d8b0/verus-0.2026.10.04.426d8b0-x86-linux.zip
asset_sha256=624018662868563a7bec0dd07be5e4dd0c3d61124b4b55105765884bf2d4d1a0
test -n "$asset_url"
curl -fsSL "$asset_url" -o verus.zip

Expand Down Expand Up @@ -103,3 +104,6 @@ jobs:
cargo verus --help
cargo fetch --locked
cargo verus verify --locked
# Regorus's history host proofs (history_host) only compile with `history`.
cargo verus verify --locked --features history
cargo verus verify --locked --no-default-features --features history,arc,std
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ docs/plans/

# C# build folders
**bin
# Binary test fixtures are loaded with include_bytes!.
!tests/fixtures/*.bin
**obj
bindings/csharp/.nuget/

Expand Down
97 changes: 89 additions & 8 deletions Cargo.lock

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

19 changes: 15 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[workspace]

members = [
"src/history-semantics",
"src/history-store",
"src/history-syntax",
"src/junco-core",
"tests/ensure_no_std",
"xtask",
]
Expand Down Expand Up @@ -42,18 +46,19 @@ hex = ["dep:data-encoding"]
http = []
glob = ["dep:globset"]
graph = []
history = ["rvm", "arc", "dep:history-store", "dep:history-semantics", "history-store/runtime", "history-semantics/runtime"]
jsonschema = ["dep:jsonschema"]
jsonpatch = []
mimalloc = ["dep:mimalloc"]
net = ["dep:ipnet"]
no_std = ["lazy_static/spin_no_std"]
opa-runtime = []
regex = ["dep:regex"]
cache = ["dep:lru"]
cache = ["dep:lru", "history-semantics?/cache"]
rvm = ["dep:postcard", "dep:indexmap"]
semver = ["dep:semver"]
allocator-memory-limits = ["std", "mimalloc", "mimalloc/allocator-memory-limits"]
std = ["rand/std", "rand/std_rng", "serde_json/std", "indexmap?/std", "msvc_spectre_libs", "dep:parking_lot", "vstd/std" ]
std = ["rand/std", "rand/std_rng", "serde_json/std", "indexmap?/std", "msvc_spectre_libs", "dep:parking_lot", "vstd/std", "junco-core/std", "history-syntax/std", "history-store?/std", "history-semantics?/std" ]
time = ["dep:chrono", "dep:chrono-tz"]
uuid = ["dep:uuid"]
urlquery = ["dep:url", "dep:percent-encoding"]
Expand Down Expand Up @@ -108,6 +113,10 @@ opa-testutil = []
rand = ["dep:rand"]

[dependencies]
junco-core = { path = "src/junco-core", version = "0.1.0", default-features = false, features = ["serde"] }
history-syntax = { path = "src/history-syntax", version = "0.1.0", default-features = false, features = ["serde"] }
history-store = { path = "src/history-store", version = "0.1.0", default-features = false, optional = true }
history-semantics = { path = "src/history-semantics", version = "0.1.0", default-features = false, optional = true }
anyhow = { version = "1.0.102", default-features = false }
serde = {version = "1.0.150", default-features = false, features = ["derive", "rc", "alloc"] }
serde_json = { version = "1.0.150", default-features = false, features = ["alloc", "raw_value"] }
Expand All @@ -119,7 +128,7 @@ data-encoding = { version = "2.8.0", optional = true, default-features=false, fe
num-bigint = { version = "0.5", default-features = false }
num-traits = { version = "0.2", default-features = false }
parking_lot = { version = "0.13", optional = true }
spin = { version = "0.12.0", default-features = false, features = ["mutex", "spin_mutex"] }
spin = { version = "0.12.0", default-features = false, features = ["mutex", "spin_mutex", "rwlock"] }

globset = { version = "0.4.16", features = ["simd-accel"], default-features = false, optional = true }
regex = {version = "1.12.3", optional = true, default-features = false }
Expand Down Expand Up @@ -151,9 +160,11 @@ postcard = { version = "1.1.3", default-features = false, features = ["alloc"],
# Keep vstd aligned with the Verus release pinned in .github/workflows/verus.yml.
# In no_std builds only the `alloc` feature is used; the crate's `std` feature
# additionally enables `vstd/std` (matching vstd's default features).
vstd = { version = "=0.0.0-2026-09-06-0133", default-features = false, features = ["alloc"] }
vstd = { version = "=0.0.0-2026-10-04-0306", default-features = false, features = ["alloc"] }

[dev-dependencies]
junco-core = { path = "src/junco-core", default-features = false, features = ["test-util"] }
history-semantics = { path = "src/history-semantics", default-features = false, features = ["test-util"] }
anyhow = "1.0.102"
cfg-if = "1.0.0"
clap = { version = "4.5.53", features = ["derive"] }
Expand Down
62 changes: 56 additions & 6 deletions bindings/ffi/Cargo.lock

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

Loading
Loading