seams-rs-std 0.2.0

Standard-library-backed production impls of seams-rs-core ports: SystemClock, StdSleeper, StdSpawner, StdFileSystem, TokioFileSystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# seams-rs-std

Production implementations of every `seams-rs-core` port, backed by
the Rust standard library and `tokio`.

- `SystemClock` wraps `std::time::SystemTime::now`.
- `StdSleeper` wraps `std::thread::sleep`.
- `StdSpawner` wraps `std::thread::spawn`.
- `StdFileSystem` wraps `std::fs::*`.
- `TokioFileSystem` wraps `tokio::fs::*`.

Depends on `seams-rs-core` and `tokio` (with the `fs`, `io-util`, and
`rt` features). This is what production code should wire up via the
`seams-rs` facade.