mirror of
https://github.com/nushell/nushell.git
synced 2025-01-03 04:50:28 +01:00
Make neso dependency optional
This commit is contained in:
parent
7ca95ba9dd
commit
a7d4a8b065
@ -63,7 +63,7 @@ subprocess = "0.1.18"
|
|||||||
mime = "0.3.13"
|
mime = "0.3.13"
|
||||||
regex = "1.2.1"
|
regex = "1.2.1"
|
||||||
pretty-hex = "0.1.0"
|
pretty-hex = "0.1.0"
|
||||||
neso = "0.5.0"
|
neso = { version = "0.5.0", optional = true }
|
||||||
crossterm = "0.10.2"
|
crossterm = "0.10.2"
|
||||||
tempfile = "3.1.0"
|
tempfile = "3.1.0"
|
||||||
image = "0.22.1"
|
image = "0.22.1"
|
||||||
@ -79,6 +79,9 @@ rawkey = {version = "0.1.2", optional = true }
|
|||||||
clipboard = {version = "0.5", optional = true }
|
clipboard = {version = "0.5", optional = true }
|
||||||
shellexpand = "1.0.0"
|
shellexpand = "1.0.0"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
raw-key = ["rawkey", "neso"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pretty_assertions = "0.6.1"
|
pretty_assertions = "0.6.1"
|
||||||
|
|
||||||
|
@ -41,12 +41,12 @@ cargo +nightly install nu
|
|||||||
You can also install Nu with all the bells and whistles:
|
You can also install Nu with all the bells and whistles:
|
||||||
|
|
||||||
```
|
```
|
||||||
cargo +nightly install nu --features rawkey,clipboard
|
cargo +nightly install nu --features raw-key,clipboard
|
||||||
```
|
```
|
||||||
|
|
||||||
The following optional features are currently supported:
|
The following optional features are currently supported:
|
||||||
|
|
||||||
* **rawkey** - direct keyboard input, which creates a smoother experience in viewing text and binaries
|
* **raw-key** - direct keyboard input, which creates a smoother experience in viewing text and binaries
|
||||||
* **clipboard** - integration with the native clipboard via the `clip` command
|
* **clipboard** - integration with the native clipboard via the `clip` command
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
Loading…
Reference in New Issue
Block a user