-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Multiple documentation additions and fixes * Better names for `testing` mocks * `Debug` impls for public items
- Loading branch information
Showing
22 changed files
with
244 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
/target | ||
Cargo.lock | ||
*.sublime-project | ||
*.sublime-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "0.0.0" | |
edition = "2021" | ||
authors = ['Entropy Cryptography <[email protected]>'] | ||
license = "MIT" | ||
description = "Examples of usage for `manul` crate" | ||
description = "Usage examples for the `manul` crate" | ||
repository = "https://github.com/entropyxyz/manul/examples" | ||
readme = "README.md" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Manul examples | ||
|
||
This crate illustrates the usage of `manul` for implementing distributed protocols. | ||
|
||
The library itself is the perspective of the protocol implementor, where they create a set of `Round` impls and write unit-tests for them. | ||
The library itself takes the perspective of the protocol implementor, as they create a set of `Round` impls and write unit-tests for them. | ||
|
||
The integration tests are written from the perspective of the protocol user, emulating an asynchronous execution of the protocol on multiple nodes. | ||
|
||
The integration tests are the perspective of the protocol user, emulating an asynchronous execution of the protocol on multiple nodes. | ||
To run the example, execute: `RUST_LOG=debug cargo t -p manul-example --test async_runner` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.