Improve Markdown table formatting (#647)
This commit is contained in:
parent
c90f3190df
commit
2e5ba7431f
29
README.md
29
README.md
@ -134,24 +134,23 @@ version = "0.23"
|
|||||||
features = ["event-stream"]
|
features = ["event-stream"]
|
||||||
```
|
```
|
||||||
|
|
||||||
| Feature | Description |
|
| Feature | Description |
|
||||||
| :----- | :----- |
|
|:---------------|:---------------------------------------------|
|
||||||
| `event-stream` | `futures::Stream` producing `Result<Event>`.|
|
| `event-stream` | `futures::Stream` producing `Result<Event>`. |
|
||||||
| `serde`| Se/dese/rializing of events. |
|
| `serde` | Se/dese/rializing of events. |
|
||||||
|
|
||||||
### Dependency Justification
|
### Dependency Justification
|
||||||
|
|
||||||
| Dependency | Used for | Included |
|
| Dependency | Used for | Included |
|
||||||
| :----- | :----- | :-----
|
|:---------------|:---------------------------------------------------------------------------------|:--------------------------------------|
|
||||||
| `bitflags` | `KeyModifiers`, those are differ based on input.| always
|
| `bitflags` | `KeyModifiers`, those are differ based on input. | always |
|
||||||
| `parking_lot` | locking `RwLock`s with a timeout, const mutexes. | always
|
| `parking_lot` | locking `RwLock`s with a timeout, const mutexes. | always |
|
||||||
| `libc` | UNIX terminal_size/raw modes/set_title and several other lowlevel functionality. | UNIX only
|
| `libc` | UNIX terminal_size/raw modes/set_title and several other lowlevel functionality. | UNIX only |
|
||||||
| `Mio` | event readiness polling, waking up poller | UNIX only
|
| `Mio` | event readiness polling, waking up poller | UNIX only |
|
||||||
| `signal-hook`| signalhook is used to handle terminal resize SIGNAL with Mio. | UNIX only
|
| `signal-hook` | signalhook is used to handle terminal resize SIGNAL with Mio. | UNIX only |
|
||||||
| `winapi`| Used for low-level windows system calls which ANSI codes can't replace | windows only
|
| `winapi` | Used for low-level windows system calls which ANSI codes can't replace | windows only |
|
||||||
| `futures-core`| For async stream of events | only with `event-stream` feature flag
|
| `futures-core` | For async stream of events | only with `event-stream` feature flag |
|
||||||
| `serde`| Se/dese/rializing of events | only with `serde` feature flag
|
| `serde` | Se/dese/rializing of events | only with `serde` feature flag |
|
||||||
|
|
||||||
|
|
||||||
### Other Resources
|
### Other Resources
|
||||||
|
|
||||||
|
@ -39,11 +39,11 @@ _Languages & Frameworks_ -> _Rust_ -> _Rustfmt_ -> _Run rustfmt on save_.
|
|||||||
|
|
||||||
### Max Line Length
|
### Max Line Length
|
||||||
|
|
||||||
| Type | Max line length |
|
| Type | Max line length |
|
||||||
| :--- | ---: |
|
|:---------------------|----------------:|
|
||||||
| Code | 100 |
|
| Code | 100 |
|
||||||
| Comments in the code | 120 |
|
| Comments in the code | 120 |
|
||||||
| Documentation | 120 |
|
| Documentation | 120 |
|
||||||
|
|
||||||
100 is the [`max_width`](https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#max_width)
|
100 is the [`max_width`](https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#max_width)
|
||||||
default value.
|
default value.
|
||||||
|
@ -12,12 +12,12 @@ The examples are compatible with the latest release.
|
|||||||
│ └── event-*
|
│ └── event-*
|
||||||
│ └── stderr
|
│ └── stderr
|
||||||
```
|
```
|
||||||
| File Name | Description | Topics
|
| File Name | Description | Topics |
|
||||||
| :------- | :------- | :------- |
|
|:----------------------------|:-------------------------------|:------------------------------------------|
|
||||||
| `examples/interactive-test` | interactive, walk trough, demo | cursor, style, event
|
| `examples/interactive-test` | interactive, walk trough, demo | cursor, style, event |
|
||||||
| `event-*`| event reading demos | (async) event reading
|
| `event-*` | event reading demos | (async) event reading |
|
||||||
| `stderr` | crossterm over stderr demo | raw mode, alternate screen, custom output
|
| `stderr` | crossterm over stderr demo | raw mode, alternate screen, custom output |
|
||||||
| `is_tty` | Is this instance a tty ? | tty |
|
| `is_tty` | Is this instance a tty ? | tty |
|
||||||
|
|
||||||
## Run examples
|
## Run examples
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user