1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! `embedded_minimal` - the smallest runnable embedded Dynomite.
//!
//! Five-call build chain, plus the start / shutdown handshake.
//! No external Redis, no peers, no gossip; the in-crate
//! [`MemoryDatastore`](dynomite::embed::MemoryDatastore) stands
//! in for the backing store. The point is the API shape: the
//! cookbook in `docs/book/src/embedding/cookbook.md` reproduces
//! this exact chain as the canonical \"smallest possible embedded
//! server\".
//!
//! Run with `cargo run --example embedded_minimal`.
//!
//! Expected output:
//!
//! ```text
//! embedded dynomite up; client listen=Some(127.0.0.1:NN) dnode listen=Some(127.0.0.1:NN)
//! shutdown ok
//! ```
use ;
async