Disable default enabled features (#577)

When running crossterm-backend with this command, on linux, I will get an error that ncurses is not installed. By adding this, it works fine.
This commit is contained in:
Timon 2021-05-05 16:58:13 +02:00 committed by GitHub
parent 52188d3dca
commit 2065e1012c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ To run an example, use `cargo run --bin EXAMPLE_NAME`.
To use a specific cursive backend, you can do, for example: To use a specific cursive backend, you can do, for example:
``` ```
cargo run --bin EXAMPLE_NAME --features cursive/crossterm-backend cargo run --bin EXAMPLE_NAME --features cursive/crossterm-backend --no-default-features
``` ```
## [`hello_world`](src/bin/hello_world.rs) ## [`hello_world`](src/bin/hello_world.rs)