nushell/crates
nibon7 15ebf45f46
Apply clippy fix for rust 1.63.0 (#6576)
* Apply clippy fix to avoid extra allocation

error: `format!(..)` appended to existing `String`
  --> crates/nu-engine/src/documentation.rs:82:9
   |
82 |         long_desc.push_str(&format!("\n{G}Subcommands{RESET}:\n"));
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::format-push-string` implied by `-D warnings`
   = help: consider using `write!` to avoid the extra allocation
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string

error: `format!(..)` appended to existing `String`
  --> crates/nu-engine/src/documentation.rs:96:9
   |
96 |         long_desc.push_str(&format!("\n{G}Parameters{RESET}:\n"));
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: consider using `write!` to avoid the extra allocation
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string

error: `format!(..)` appended to existing `String`
   --> crates/nu-engine/src/documentation.rs:128:9
    |
128 |         long_desc.push_str(&format!("\n{}Examples{}:", G, RESET));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: consider using `write!` to avoid the extra allocation
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string

error: `format!(..)` appended to existing `String`
   --> crates/nu-engine/src/documentation.rs:202:5
    |
202 |     long_desc.push_str(&format!("\n{}Flags{}:\n", G, RESET));
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: consider using `write!` to avoid the extra allocation
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string

error: could not compile `nu-engine` due to 4 previous errors

* Apply clippy fix to avoid deref on an immutable reference

error: deref on an immutable reference
   --> crates/nu-command/src/dataframe/eager/sql_context.rs:188:77
    |
188 |                         SetExpr::Select(select_stmt) => self.execute_select(&*select_stmt)?,
    |                                                                             ^^^^^^^^^^^^^
    |
    = note: `-D clippy::borrow-deref-ref` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
help: if you would like to reborrow, try removing `&*`
    |
188 |                         SetExpr::Select(select_stmt) => self.execute_select(select_stmt)?,
    |                                                                             ~~~~~~~~~~~
help: if you would like to deref, try using `&**`
    |
188 |                         SetExpr::Select(select_stmt) => self.execute_select(&**select_stmt)?,
    |                                                                             ~~~~~~~~~~~~~~

error: deref on an immutable reference
   --> crates/nu-command/src/database/values/dsl/expression.rs:252:15
    |
252 |         match &*expr {
    |               ^^^^^^ help: if you would like to reborrow, try removing `&*`: `expr`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref

error: could not compile `nu-command` due to 2 previous errors
2022-09-17 12:10:32 -05:00
..
nu_plugin_custom_values Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu_plugin_example Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu_plugin_gstat Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu_plugin_inc Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu_plugin_python fix python plugin example (#6242) 2022-08-05 23:57:31 -04:00
nu_plugin_query Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-cli update to the latest sysinfo crate (#6563) 2022-09-15 05:47:40 -05:00
nu-color-config Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-command Apply clippy fix for rust 1.63.0 (#6576) 2022-09-17 12:10:32 -05:00
nu-engine Apply clippy fix for rust 1.63.0 (#6576) 2022-09-17 12:10:32 -05:00
nu-glob Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-json Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-parser escape external args (#6560) 2022-09-17 06:07:45 -05:00
nu-path Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-plugin Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-pretty-hex Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-protocol Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-system Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-table Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-term-grid Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-test-support Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
nu-utils Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
old Bump dev version to v0.68.2 (#6538) 2022-09-12 08:29:39 +12:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.