nushell/crates/nu-cmd-lang/Cargo.toml

31 lines
823 B
TOML
Raw Normal View History

[package]
authors = ["The Nushell Project Developers"]
build = "build.rs"
description = "Nushell's core language commands"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-lang"
edition = "2021"
license = "MIT"
name = "nu-cmd-lang"
2024-08-22 09:36:32 +00:00
version = "0.97.2"
[lib]
bench = false
[dependencies]
2024-08-22 09:36:32 +00:00
nu-engine = { path = "../nu-engine", version = "0.97.2" }
nu-parser = { path = "../nu-parser", version = "0.97.2" }
nu-protocol = { path = "../nu-protocol", version = "0.97.2" }
nu-utils = { path = "../nu-utils", version = "0.97.2" }
itertools = { workspace = true }
Bump shadow-rs from 0.30.0 to 0.31.1 (#13616) Bumps [shadow-rs](https://github.com/baoyachi/shadow-rs) from 0.30.0 to 0.31.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/baoyachi/shadow-rs/releases">shadow-rs's releases</a>.</em></p> <blockquote> <h2>[Improvement] Correct git command directory</h2> <p>ref: <a href="https://redirect.github.com/baoyachi/shadow-rs/issues/170">#170</a></p> <p>Thx <a href="https://github.com/MichaelScofield"><code>@​MichaelScofield</code></a></p> <h2>Make build_with function public</h2> <p>ref:<a href="https://redirect.github.com/baoyachi/shadow-rs/issues/169">#169</a></p> <p>Thx <a href="https://github.com/MichaelScofield"><code>@​MichaelScofield</code></a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/baoyachi/shadow-rs/commit/aa804ec8a2370621122092c25fc561b5fbc0f673"><code>aa804ec</code></a> Update Cargo.toml</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/b3fbe36403c6e94897b1bdaefd048fc15b92a7cd"><code>b3fbe36</code></a> Merge pull request <a href="https://redirect.github.com/baoyachi/shadow-rs/issues/170">#170</a> from MichaelScofield/find-right-branch</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/fe6f940f8b96446c4b796d9740c2d0b5a51fc1f8"><code>fe6f940</code></a> execute &quot;git&quot; command in the right path</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/458be25e74dc687e8ac90fdc70d17c2337c72c16"><code>458be25</code></a> Merge pull request <a href="https://redirect.github.com/baoyachi/shadow-rs/issues/169">#169</a> from MichaelScofield/flexible-for-submodule</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/1521a288b46861cd7ad79e48471adadcc67d2ac3"><code>1521a28</code></a> Expose the &quot;build&quot; function to let projects with submodules control where to ...</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/ee12741fa064b944e2aaa6c9cb678eb52f4fabc5"><code>ee12741</code></a> Merge pull request <a href="https://redirect.github.com/baoyachi/shadow-rs/issues/168">#168</a> from baoyachi/issue/149</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/dfb8b24adbbb6adc961ad033eab1ac29e7dbfd19"><code>dfb8b24</code></a> cargo fmt</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/a3be8680aaf61a8a45024b178bb965c637c1c12e"><code>a3be868</code></a> fix clippy</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/c8e7cd5704f2ddb5ea61d79b36f44ebeabe476d3"><code>c8e7cd5</code></a> Fix compilation failures caused by unwrap</li> <li>See full diff in <a href="https://github.com/baoyachi/shadow-rs/compare/v0.30.0...v0.31.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=shadow-rs&package-manager=cargo&previous-version=0.30.0&new-version=0.31.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-14 06:41:12 +00:00
shadow-rs = { version = "0.31", default-features = false }
[build-dependencies]
Bump shadow-rs from 0.30.0 to 0.31.1 (#13616) Bumps [shadow-rs](https://github.com/baoyachi/shadow-rs) from 0.30.0 to 0.31.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/baoyachi/shadow-rs/releases">shadow-rs's releases</a>.</em></p> <blockquote> <h2>[Improvement] Correct git command directory</h2> <p>ref: <a href="https://redirect.github.com/baoyachi/shadow-rs/issues/170">#170</a></p> <p>Thx <a href="https://github.com/MichaelScofield"><code>@​MichaelScofield</code></a></p> <h2>Make build_with function public</h2> <p>ref:<a href="https://redirect.github.com/baoyachi/shadow-rs/issues/169">#169</a></p> <p>Thx <a href="https://github.com/MichaelScofield"><code>@​MichaelScofield</code></a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/baoyachi/shadow-rs/commit/aa804ec8a2370621122092c25fc561b5fbc0f673"><code>aa804ec</code></a> Update Cargo.toml</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/b3fbe36403c6e94897b1bdaefd048fc15b92a7cd"><code>b3fbe36</code></a> Merge pull request <a href="https://redirect.github.com/baoyachi/shadow-rs/issues/170">#170</a> from MichaelScofield/find-right-branch</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/fe6f940f8b96446c4b796d9740c2d0b5a51fc1f8"><code>fe6f940</code></a> execute &quot;git&quot; command in the right path</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/458be25e74dc687e8ac90fdc70d17c2337c72c16"><code>458be25</code></a> Merge pull request <a href="https://redirect.github.com/baoyachi/shadow-rs/issues/169">#169</a> from MichaelScofield/flexible-for-submodule</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/1521a288b46861cd7ad79e48471adadcc67d2ac3"><code>1521a28</code></a> Expose the &quot;build&quot; function to let projects with submodules control where to ...</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/ee12741fa064b944e2aaa6c9cb678eb52f4fabc5"><code>ee12741</code></a> Merge pull request <a href="https://redirect.github.com/baoyachi/shadow-rs/issues/168">#168</a> from baoyachi/issue/149</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/dfb8b24adbbb6adc961ad033eab1ac29e7dbfd19"><code>dfb8b24</code></a> cargo fmt</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/a3be8680aaf61a8a45024b178bb965c637c1c12e"><code>a3be868</code></a> fix clippy</li> <li><a href="https://github.com/baoyachi/shadow-rs/commit/c8e7cd5704f2ddb5ea61d79b36f44ebeabe476d3"><code>c8e7cd5</code></a> Fix compilation failures caused by unwrap</li> <li>See full diff in <a href="https://github.com/baoyachi/shadow-rs/compare/v0.30.0...v0.31.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=shadow-rs&package-manager=cargo&previous-version=0.30.0&new-version=0.31.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-14 06:41:12 +00:00
shadow-rs = { version = "0.31", default-features = false }
[features]
Changes global allocator to mimalloc, improving performance. (#9415) # Description <!-- Thank you for improving Nushell. Please, check our [contributing guide](../CONTRIBUTING.md) and talk to the core team before making major changes. Description of your pull request goes here. **Provide examples and/or screenshots** if your changes affect the user experience. --> this PR makes nushell use mimalloc as the default allocator, this has the benefit of reducing startup time on my machine. `17%` on linux and `22%` on windows, when testing using hyperfine. the overhead to compile seem to be quite small, aswell as the increase of binary size quite small on linux the binary went from `33.1mb` to `33.2mb` linux ![image](https://github.com/nushell/nushell/assets/17986183/ba5379b4-2c08-483a-a9ff-a9d8524d2943) windows ![image](https://github.com/nushell/nushell/assets/17986183/fda5090f-96a9-48d1-ada4-617694b9d880) # User-Facing Changes <!-- List of all changes that impact the user experience here. This helps us keep track of breaking changes. --> # Tests + Formatting <!-- Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect -A clippy::result_large_err` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass - `cargo run -- crates/nu-std/tests/run.nu` to run the tests for the standard library > **Note** > from `nushell` you can also use the `toolkit` as follows > ```bash > use toolkit.nu # or use an `env_change` hook to activate it automatically > toolkit check pr > ``` --> # After Submitting <!-- If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date. -->
2023-06-14 22:27:12 +00:00
mimalloc = []
trash-support = []
sqlite = []
static-link-openssl = []
Bump to 0.95.0 (#13221) <!-- if this PR closes one or more issues, you can automatically link the PR with them by using one of the [*linking keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword), e.g. - this PR should close #xxxx - fixes #xxxx you can also mention related issues, PRs or discussions! --> # Description <!-- Thank you for improving Nushell. Please, check our [contributing guide](../CONTRIBUTING.md) and talk to the core team before making major changes. Description of your pull request goes here. **Provide examples and/or screenshots** if your changes affect the user experience. --> # User-Facing Changes <!-- List of all changes that impact the user experience here. This helps us keep track of breaking changes. --> # Tests + Formatting <!-- Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass (on Windows make sure to [enable developer mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging)) - `cargo run -- -c "use toolkit.nu; toolkit test stdlib"` to run the tests for the standard library > **Note** > from `nushell` you can also use the `toolkit` as follows > ```bash > use toolkit.nu # or use an `env_change` hook to activate it automatically > toolkit check pr > ``` --> # After Submitting <!-- If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date. -->
2024-06-25 18:29:47 +00:00
system-clipboard = []