-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add examples, integration tests and docs for simulated device and rea… (
#87) **Integration tests:** - add simulated device and reader interaction - also for simulated device and reader interaction, add a more structured one using `state pattern`, `Mutex` and `Arc` - one test from the holder's POV with a simulated reader, and vice-versa for another test **Docs:** - add example from the holder's POV with a simulated reader, and vice-versa for another example - add diagram for simulated device and reader interaction - add diagrams for simulated device perspective and simulated reader perspective - add diagrams in readme and links to examples - add ASCII diagrams in `lib.rs` and include examples from device and reader's perspective - fix some docs **Code:** - add `allow invisible_characters` for clippy in a file **CI:** - upgrade `actions/checkout` - add `--all-targets` to build so that it builds tests too (to make sure they don't fall behind) - add `--all-targets` to `clippy` so that it runs on tests too (it will run o tests too but I assume it's fine) - don't explicitly run in in `macros` because `--all-targets` takes care of that - add `--all` to `fmt --check` so that it runs on examples too - don't explicitly run in in `macros` because `--all` takes care of that
- Loading branch information
1 parent
41823af
commit 9d99da6
Showing
14 changed files
with
830 additions
and
28 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
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,3 +1,4 @@ | ||
**/Cargo.lock | ||
**/target | ||
*~ | ||
*~ | ||
**/.idea |
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
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.