mirror of https://github.com/MingweiSamuel/Riven
docs: small updates to README.md
parent
4e74fefaae
commit
136ecc3c05
|
@ -18,8 +18,9 @@ Data structs and endpoints are automatically generated from the
|
|||
# Design
|
||||
|
||||
* Fast, asynchronous, thread-safe.
|
||||
* Automatically retries failed requests.
|
||||
* Automatically retries failed requests, configurable.
|
||||
* Supports all endpoints, kept up-to-date using [riotapi-schema](https://github.com/MingweiSamuel/riotapi-schema).
|
||||
* Can compile to Wasm for server-side or browser+proxy use.
|
||||
|
||||
# Usage
|
||||
|
||||
|
@ -96,7 +97,10 @@ and specifying the `rustls-tls` feature:
|
|||
riven = { version = "...", default-features = false, features = [ "rustls-tls" ] }
|
||||
```
|
||||
|
||||
Riven is additionally able to produce [tracing](https://docs.rs/tracing) spans for requests if the `tracing` feature is enabled. This feature is disabled by default.
|
||||
### `log` or `tracing`
|
||||
|
||||
Riven is additionally able to produce [tracing](https://docs.rs/tracing) spans for requests if the `tracing` feature is enabled.
|
||||
By default the `tracing` feature is disabled and Riven instead writes to [`log`](https://docs.rs/log).
|
||||
|
||||
## Docs
|
||||
|
||||
|
|
Loading…
Reference in New Issue