Skip to content

Commit

Permalink
doc: add feature flags section to README
Browse files Browse the repository at this point in the history
Includes a note about how one runtime feature must be enabled.
  • Loading branch information
jmagnuson committed Nov 10, 2023
1 parent e36f793 commit 9b17424
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ Add linemux to your `Cargo.toml` with:
linemux = "0.3"
```

### Feature flags

Note that building with `default-features: false` must also be coupled with activating a desired
runtime (currently just `tokio`, but eventually others will be supported).

- `tokio`: Use the tokio runtime (default).

## Example

```rust,no_run
Expand Down

0 comments on commit 9b17424

Please sign in to comment.