summaryrefslogtreecommitdiffstats
path: root/examples/stopwatch
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stopwatch')
-rw-r--r--examples/stopwatch/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/stopwatch/README.md b/examples/stopwatch/README.md
new file mode 100644
index 00000000..4cf4582e
--- /dev/null
+++ b/examples/stopwatch/README.md
@@ -0,0 +1,18 @@
+## Stopwatch
+
+A watch with start/stop and reset buttons showcasing how to listen to time.
+
+The __[`main`]__ file contains all the code of the example.
+
+<div align="center">
+ <a href="https://gfycat.com/granularenviousgoitered-rust-gui">
+ <img src="https://thumbs.gfycat.com/GranularEnviousGoitered-small.gif">
+ </a>
+</div>
+
+You can run it with `cargo run`:
+```
+cargo run --package stopwatch
+```
+
+[`main`]: src/main.rs