Rerun readmes.sh
This commit is contained in:
parent
02a5a1c92d
commit
f2063d2810
|
@ -19,7 +19,7 @@ implement [Tor](https://www.torproject.org/) in Rust.
|
|||
|
||||
### Design notes
|
||||
|
||||
The crate is derived into three main parts. In the `parse`
|
||||
The crate is derived into three main parts. In the [`parse`]
|
||||
module, we have the generic code that we use to parse different
|
||||
kinds of network documents. In the [`types`] module we have
|
||||
implementations for parsing specific data structures that are used
|
||||
|
|
|
@ -59,6 +59,7 @@ to replace the internet _and_ the passage of time. (Here we're only
|
|||
replacing the internet.)
|
||||
|
||||
```rust
|
||||
#
|
||||
use tor_rtmock::{MockSleepRuntime,MockNetRuntime,net::MockNetwork};
|
||||
use tor_rtcompat::{TcpProvider,TcpListener};
|
||||
use futures::io::AsyncReadExt;
|
||||
|
|
|
@ -12,6 +12,7 @@ other parts of Arti.
|
|||
In particular, it provides:
|
||||
* a bounded i32 with both checked and clamping constructors,
|
||||
* an integer milliseconds wrapper with conversion to [`Duration`]
|
||||
* an integer seconds wrapper with conversion to [`Duration`]
|
||||
* a percentage wrapper, to prevent accidental failure
|
||||
to divide by 100.
|
||||
* a SendMeVersion which can be compared only.
|
||||
|
|
Loading…
Reference in New Issue