What's the best practice to combine verified code and original rust code? #736
Replies: 3 comments 3 replies
-
Hi, Do these utility functions that you want to try out have any (Cargo) dependencies? If they don't have any dependencies, and once the #733 is merged, you should be able to move these simple functions to a separate crate that you verify with Verus and that you can use as a regular cargo dependency. When built outside Verus, the |
Beta Was this translation helpful? Give feedback.
-
@HaoYang670 The new pull request #771 adds an |
Beta Was this translation helpful? Give feedback.
-
@HaoYang670 I am going to close this as potentially resolved by #771, but feel free to re-open if you have further questions. |
Beta Was this translation helpful? Give feedback.
-
Hi,
We have a rust project maintained and we'd like to try verus to replace some runtime test.
However, we don't want to refactor the whole project, instead we want to get a taste from simple util functions.
Is it achievable?
Beta Was this translation helpful? Give feedback.
All reactions