You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,26 +18,25 @@ To build, first run (Bash or Zsh)
18
18
```
19
19
. tools/activate.sh
20
20
```
21
-
This will first compile a vendored version of Verus, and then
22
-
provide a command `vargo` with the same usage as `cargo`.
21
+
This will first compile a vendored version of Verus and add relevant binaries to `PATH`.
23
22
24
23
To verify and build the entire project, run
25
24
```
26
-
vargo build --release
25
+
cargo verus build --release
27
26
```
28
27
Then use `target/release/verdict` to validate certificate chains or run benchmarks.
29
28
See `target/release/verdict --help` for details.
30
29
31
-
By default, we only use crypto primitives that are verified from [libcrux](https://github.com/cryspen/libcrux) and [aws-lc-rs](https://github.com/aws/aws-lc-rs).
30
+
By default, we only use *verified*crypto primitives from [libcrux](https://github.com/cryspen/libcrux) and [aws-lc-rs](https://github.com/aws/aws-lc-rs).
32
31
To use primitives entirely from `aws-lc-rs` which might have better performance but include unverified signature checking for RSA and ECDSA P-256,
33
32
compile with
34
33
```
35
-
vargo build --release --features aws-lc
34
+
cargo verus build --release --features aws-lc
36
35
```
37
36
38
37
To run some sanity checks
39
38
```
40
-
vargo test --workspace
39
+
cargo test --workspace
41
40
```
42
41
43
42
### Build without verification
@@ -56,7 +55,7 @@ which should work like in a normal Rust package, with all verification annotatio
56
55
57
56
Use
58
57
```
59
-
RUSTFLAGS="--cfg trace" vargo build [--release]
58
+
cargo verus build [--release] --features trace
60
59
```
61
60
to build a version with tracing enabled.
62
61
This will print out every successfully parsed construct and the result of each predicate in the policy DSL.
0 commit comments