nushell/src
Stefan Holderbach 6a7a60429f
Remove unnecessary #[allow(...)] annotations (#6870)
* Remove unnecessary `#[allow]` annots

Reduce the number of lint exceptions that are not necessary with the
current state of the code (or more recent toolchain)

* Remove dead code from `FileStructure` in nu-command

* Replace `allow(unused)` with relevant feature switch

* Deal with `needless_collect` with annotations

* Change hack for needless_collect in `from json`

This change obviates the need for `allow(needless_collect)`
Removes a pessimistic allocation for empty strings, but increases
allocation size to `Value`

Probably not really worth it.

* Revert "Deal with `needless_collect` with annotations"

This reverts commit 05aca98445.

The previous state seems to better from a performance perspective as a
`Vec<String>` is lighter weight than `Vec<Value>`
2022-10-24 20:12:16 +02:00
..
tests Removes export env command (#6468) 2022-09-25 19:52:43 +03:00
config_files.rs Remove perf flag to streamline logging configuration (#6834) 2022-10-21 10:20:21 -05:00
logger.rs Fix color settings for logger (#6285) 2022-08-10 06:52:11 -05:00
main.rs Remove unnecessary #[allow(...)] annotations (#6870) 2022-10-24 20:12:16 +02:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
test_bins.rs Allow captured stderr saving to file (#6793) 2022-10-20 07:56:44 -05:00
tests.rs Add test cases for $nu.config-path change (#6385) 2022-08-23 10:18:14 +03:00

Nushell REPL

This directory contains the main Nushell REPL (read eval print loop) as part of the CLI portion of Nushell, which creates the nu binary itself.

Current versions of the nu binary will use the Nu argument parsing logic to parse the commandline arguments passed to nu, leaving the logic here to be a thin layer around what the core libraries.