@@ -26,8 +26,6 @@ All examples can be launched via the command line, using `cargo` as follows:
26
26
cargo run --bin adapter
27
27
```
28
28
29
- 👉 You can find ALL targets in [ .github/workflows/test.yml] ( .github/workflows/test.yml ) .
30
-
31
29
Each target name can be found in ` Cargo.toml ` of each example:
32
30
33
31
``` toml
@@ -38,7 +36,42 @@ path = "main.rs"
38
36
39
37
Also, the examples contain a ** README.md** with instructions and additional explanations.
40
38
41
- ## 💡 Overview
39
+ ## ✅ List of Examples
40
+
41
+ ``` bash
42
+ cargo run --bin chain-of-responsibility
43
+ cargo run --bin command
44
+ cargo run --bin iterator
45
+ cargo run --bin mediator
46
+ cargo run --bin memento
47
+ cargo run --bin memento-serde
48
+ cargo run --bin observer
49
+ cargo run --bin state
50
+ cargo run --bin strategy
51
+ cargo run --bin strategy-func
52
+ cargo run --bin template-method
53
+ cargo run --bin visitor
54
+ cargo run --bin abstract-factory
55
+ cargo run --bin abstract-factory-dyn
56
+ cargo run --bin builder
57
+ cargo run --bin factory-method-maze-game
58
+ cargo run --bin factory-method-render-dialog
59
+ cargo run --bin prototype
60
+ cargo run --bin simple-factory
61
+ cargo run --bin singleton
62
+ cargo run --bin singleton-lazy
63
+ cargo run --bin singleton-mutex # Requires Rust 1.63
64
+ cargo run --bin static-creation-method
65
+ cargo run --bin adapter
66
+ cargo run --bin bridge
67
+ cargo run --bin composite
68
+ cargo run --bin decorator
69
+ cargo run --bin facade
70
+ cargo run --bin flyweight
71
+ cargo run --bin proxy
72
+ ```
73
+
74
+ ## 💡 Notes
42
75
43
76
Interestingly, in Rust:
44
77
0 commit comments