diff --git a/Cargo.lock b/Cargo.lock index 9d6e3dca06..b9497efefe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5075,7 +5075,7 @@ dependencies = [ [[package]] name = "nu_plugin_custom_values" -version = "0.1.0" +version = "0.113.0" dependencies = [ "nu-plugin", "nu-plugin-test-support", diff --git a/Cargo.toml b/Cargo.toml index a620c35cd4..2fa0b54b10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,23 +1,26 @@ -[package] +[workspace.package] authors = ["The Nushell Project Developers"] +edition = "2024" +rust-version = "1.93.1" +license = "MIT" +version = "0.113.0" + +[package] +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +license.workspace = true +version.workspace = true build = "scripts/build.rs" default-run = "nu" description = "A new type of shell" documentation = "https://www.nushell.sh/book/" -edition.workspace = true exclude = ["images"] homepage = "https://www.nushell.sh" -license = "MIT" name = "nu" repository = "https://github.com/nushell/nushell" -rust-version.workspace = true -version = "0.113.0" autotests = false -[workspace.package] -edition = "2024" -rust-version = "1.93.1" - [[test]] name = "tests" path = "tests/main.rs" @@ -83,6 +86,49 @@ members = [ ] [workspace.dependencies] + +nu-cli = { path = "crates/nu-cli", version = "0.113.0", default-features = false } +nu-cmd-base = { path = "crates/nu-cmd-base", version = "0.113.0", default-features = false } +nu-cmd-extra = { path = "crates/nu-cmd-extra", version = "0.113.0", default-features = false } +nu-cmd-lang = { path = "crates/nu-cmd-lang", version = "0.113.0", default-features = false } +nu-cmd-plugin = { path = "crates/nu-cmd-plugin", version = "0.113.0", default-features = false } +nu-color-config = { path = "crates/nu-color-config", version = "0.113.0", default-features = false } +nu-command = { path = "crates/nu-command", version = "0.113.0", default-features = false } +nu-derive-value = { path = "crates/nu-derive-value", version = "0.113.0", default-features = false } +nu-engine = { path = "crates/nu-engine", version = "0.113.0", default-features = false } +nu-experimental = { path = "crates/nu-experimental", version = "0.113.0", default-features = false } +nu-explore = { path = "crates/nu-explore", version = "0.113.0", default-features = false } +nu-glob = { path = "crates/nu-glob", version = "0.113.0", default-features = false } +nu-heavy-utils = { path = "crates/nu-heavy-utils", version = "0.113.0", default-features = false } +nu-json = { path = "crates/nu-json", version = "0.113.0", default-features = false } +nu-lsp = { path = "crates/nu-lsp", version = "0.113.0", default-features = false } +nu-mcp = { path = "crates/nu-mcp", version = "0.113.0", default-features = false } +nu-parser = { path = "crates/nu-parser", version = "0.113.0", default-features = false } +nu-path = { path = "crates/nu-path", version = "0.113.0", default-features = false } +nu-plugin = { path = "crates/nu-plugin", version = "0.113.0", default-features = false } +nu-plugin-core = { path = "crates/nu-plugin-core", version = "0.113.0", default-features = false } +nu-plugin-engine = { path = "crates/nu-plugin-engine", version = "0.113.0", default-features = false } +nu-plugin-protocol = { path = "crates/nu-plugin-protocol", version = "0.113.0", default-features = false } +nu-plugin-test-support = { path = "crates/nu-plugin-test-support", version = "0.113.0", default-features = false } +nu-pretty-hex = { path = "crates/nu-pretty-hex", version = "0.113.0", default-features = false } +nu-protocol = { path = "crates/nu-protocol", version = "0.113.0", default-features = false } +nu-std = { path = "crates/nu-std", version = "0.113.0", default-features = false } +nu-system = { path = "crates/nu-system", version = "0.113.0", default-features = false } +nu-table = { path = "crates/nu-table", version = "0.113.0", default-features = false } +nu-term-grid = { path = "crates/nu-term-grid", version = "0.113.0", default-features = false } +nu-test-support = { path = "crates/nu-test-support", version = "0.113.0", default-features = false } +nu-test-support-macros = { path = "crates/nu-test-support-macros", version = "0.113.0", default-features = false } +nu-utils = { path = "crates/nu-utils", version = "0.113.0", default-features = false } +nu_plugin_custom_values = { path = "crates/nu_plugin_custom_values", version = "0.113.0", default-features = false } +nu_plugin_example = { path = "crates/nu_plugin_example", version = "0.113.0", default-features = false } +nu_plugin_formats = { path = "crates/nu_plugin_formats", version = "0.113.0", default-features = false } +nu_plugin_gstat = { path = "crates/nu_plugin_gstat", version = "0.113.0", default-features = false } +nu_plugin_inc = { path = "crates/nu_plugin_inc", version = "0.113.0", default-features = false } +nu_plugin_polars = { path = "crates/nu_plugin_polars", version = "0.113.0", default-features = false } +nu_plugin_query = { path = "crates/nu_plugin_query", version = "0.113.0", default-features = false } +nu_plugin_stress_internals = { path = "crates/nu_plugin_stress_internals", version = "0.113.0", default-features = false } +nuon = { path = "crates/nuon", version = "0.113.0", default-features = false } + alphanumeric-sort = "1.5" ansi-str = "0.9" anyhow = "1.0.102" @@ -257,24 +303,24 @@ collapsible_match = "allow" workspace = true [dependencies] -nu-cli = { path = "./crates/nu-cli", version = "0.113.0" } -nu-cmd-base = { path = "./crates/nu-cmd-base", version = "0.113.0" } -nu-cmd-extra = { path = "./crates/nu-cmd-extra", version = "0.113.0" } -nu-cmd-lang = { path = "./crates/nu-cmd-lang", version = "0.113.0" } -nu-cmd-plugin = { path = "./crates/nu-cmd-plugin", version = "0.113.0", optional = true } -nu-command = { path = "./crates/nu-command", version = "0.113.0", default-features = false, features = ["os"] } -nu-engine = { path = "./crates/nu-engine", version = "0.113.0" } -nu-experimental = { path = "./crates/nu-experimental", version = "0.113.0" } -nu-explore = { path = "./crates/nu-explore", version = "0.113.0" } -nu-lsp = { path = "./crates/nu-lsp/", version = "0.113.0" } -nu-parser = { path = "./crates/nu-parser", version = "0.113.0" } -nu-path = { path = "./crates/nu-path", version = "0.113.0" } -nu-plugin-engine = { path = "./crates/nu-plugin-engine", optional = true, version = "0.113.0" } -nu-protocol = { path = "./crates/nu-protocol", version = "0.113.0" } -nu-std = { path = "./crates/nu-std", version = "0.113.0" } -nu-system = { path = "./crates/nu-system", version = "0.113.0" } -nu-utils = { path = "./crates/nu-utils", version = "0.113.0" } -nu-mcp = { path = "./crates/nu-mcp", version = "0.113.0", optional = true } +nu-cli = { workspace = true } +nu-cmd-base = { workspace = true } +nu-cmd-extra = { workspace = true } +nu-cmd-lang = { workspace = true, features = ["os"] } +nu-cmd-plugin = { workspace = true, optional = true } +nu-command = { workspace = true, features = ["os"] } +nu-engine = { workspace = true, features = ["os"] } +nu-experimental = { workspace = true } +nu-explore = { workspace = true } +nu-lsp = { workspace = true } +nu-parser = { workspace = true } +nu-path = { workspace = true } +nu-plugin-engine = { workspace = true, features = ["local-socket"], optional = true } +nu-protocol = { workspace = true, features = ["os"] } +nu-std = { workspace = true } +nu-system = { workspace = true } +nu-utils = { workspace = true, features = ["os"] } +nu-mcp = { workspace = true, optional = true } reedline = { workspace = true, features = ["bashisms"] } crossterm = { workspace = true } diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml index 503e4524f7..c3eee8b95d 100644 --- a/crates/nu-cli/Cargo.toml +++ b/crates/nu-cli/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "CLI-related functionality for Nushell" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cli" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-cli" rust-version.workspace = true -version = "0.113.0" +version.workspace = true autotests = false [lib] @@ -19,26 +19,26 @@ path = "tests/main.rs" harness = false [dev-dependencies] -nu-cmd-lang = { path = "../nu-cmd-lang" } -nu-command = { path = "../nu-command" } -nu-std = { path = "../nu-std" } -nu-test-support = { path = "../nu-test-support" } +nu-cmd-lang = { workspace = true, features = ["os"] } +nu-command = { workspace = true, features = ["os"] } +nu-std.workspace = true +nu-test-support.workspace = true rstest = { workspace = true, default-features = false } tempfile = { workspace = true } [dependencies] -nu-cmd-base = { path = "../nu-cmd-base", version = "0.113.0" } -nu-command = { path = "../nu-command", version = "0.113.0", features = ["os"], default-features = false } -nu-engine = { path = "../nu-engine", version = "0.113.0", features = ["os"] } -nu-glob = { path = "../nu-glob", version = "0.113.0" } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.113.0", optional = true } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["os"] } -nu-utils = { path = "../nu-utils", version = "0.113.0" } -nu-color-config = { path = "../nu-color-config", version = "0.113.0" } -nu-experimental = { path = "../nu-experimental", version = "0.113.0" } -nu-ansi-term = { workspace = true } +nu-cmd-base.workspace = true +nu-command = { workspace = true, features = ["os"] } +nu-engine = { workspace = true, features = ["os"] } +nu-glob.workspace = true +nu-path.workspace = true +nu-parser.workspace = true +nu-plugin-engine = { workspace = true, optional = true } +nu-protocol = { workspace = true, features = ["os"] } +nu-utils.workspace = true +nu-color-config.workspace = true +nu-experimental.workspace = true +nu-ansi-term.workspace = true reedline = { workspace = true, features = ["bashisms"] } chrono = { default-features = false, features = ["std"], workspace = true } diff --git a/crates/nu-cmd-base/Cargo.toml b/crates/nu-cmd-base/Cargo.toml index fee95bdd8e..0db79a68b0 100644 --- a/crates/nu-cmd-base/Cargo.toml +++ b/crates/nu-cmd-base/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "The foundation tools to build Nushell commands." edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-cmd-base" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-base" rust-version.workspace = true -version = "0.113.0" +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -14,10 +14,10 @@ version = "0.113.0" workspace = true [dependencies] -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } +nu-engine.workspace = true +nu-parser.workspace = true +nu-path.workspace = true +nu-protocol.workspace = true indexmap = { workspace = true } miette = { workspace = true } diff --git a/crates/nu-cmd-extra/Cargo.toml b/crates/nu-cmd-extra/Cargo.toml index 9e80c1b684..f0f2ebf5d0 100644 --- a/crates/nu-cmd-extra/Cargo.toml +++ b/crates/nu-cmd-extra/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell's extra commands that are not part of the 1.0 api standard." edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-cmd-extra" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-extra" rust-version.workspace = true -version = "0.113.0" +version.workspace = true autotests = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -24,14 +24,14 @@ path = "tests/main.rs" harness = false [dependencies] -nu-cmd-base = { path = "../nu-cmd-base", version = "0.113.0" } -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-heavy-utils = { path = "../nu-heavy-utils", version = "0.113.0" } -nu-json = { version = "0.113.0", path = "../nu-json" } -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nu-pretty-hex = { version = "0.113.0", path = "../nu-pretty-hex" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } +nu-cmd-base.workspace = true +nu-engine.workspace = true +nu-heavy-utils.workspace = true +nu-json.workspace = true +nu-parser.workspace = true +nu-pretty-hex.workspace = true +nu-protocol.workspace = true +nu-utils.workspace = true # Potential dependencies for extras heck = { workspace = true } @@ -45,12 +45,13 @@ itertools = { workspace = true } mime = { workspace = true } [dev-dependencies] -nu-cmd-lang = { path = "../nu-cmd-lang" } -nu-command = { path = "../nu-command" } -nu-test-support = { path = "../nu-test-support" } +# "os" feature required for testing examples +nu-cmd-lang = { workspace = true, features = ["os"] } +nu-command = { workspace = true, features = ["os"] } +nu-test-support.workspace = true [build-dependencies] -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } +nu-protocol.workspace = true serde = { workspace = true } serde_json = { workspace = true } diff --git a/crates/nu-cmd-lang/Cargo.toml b/crates/nu-cmd-lang/Cargo.toml index 3bf1706fc6..1a5749a11d 100644 --- a/crates/nu-cmd-lang/Cargo.toml +++ b/crates/nu-cmd-lang/Cargo.toml @@ -1,13 +1,13 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true build = "build.rs" description = "Nushell's core language commands" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-lang" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-cmd-lang" rust-version.workspace = true -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -16,12 +16,12 @@ bench = false workspace = true [dependencies] -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-experimental = { path = "../nu-experimental", version = "0.113.0" } -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } -nu-cmd-base = { path = "../nu-cmd-base", version = "0.113.0" } +nu-engine.workspace = true +nu-experimental.workspace = true +nu-parser.workspace = true +nu-protocol.workspace = true +nu-utils.workspace = true +nu-cmd-base.workspace = true itertools = { workspace = true } semver = { workspace = true } @@ -31,7 +31,7 @@ shadow-rs = { version = "2.0", default-features = false } shadow-rs = { version = "2.0", default-features = false, features = ["build"] } [dev-dependencies] -nu-test-support = { path = "../nu-test-support"} +nu-test-support.workspace = true quickcheck = { workspace = true } quickcheck_macros = { workspace = true } diff --git a/crates/nu-cmd-plugin/Cargo.toml b/crates/nu-cmd-plugin/Cargo.toml index f3f90a63c8..cee2c4c4f1 100644 --- a/crates/nu-cmd-plugin/Cargo.toml +++ b/crates/nu-cmd-plugin/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Commands for managing Nushell plugins." edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-cmd-plugin" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-plugin" rust-version.workspace = true -version = "0.113.0" +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -14,9 +14,9 @@ version = "0.113.0" workspace = true [dependencies] -nu-engine = { path = "../nu-engine", version = "0.113.0" } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } -nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.113.0" } +nu-engine.workspace = true +nu-path.workspace = true +nu-protocol = { workspace = true, features = ["plugin"] } +nu-plugin-engine.workspace = true itertools = { workspace = true } diff --git a/crates/nu-color-config/Cargo.toml b/crates/nu-color-config/Cargo.toml index f474bfab3d..8ed267d283 100644 --- a/crates/nu-color-config/Cargo.toml +++ b/crates/nu-color-config/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Color configuration code used by Nushell" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-color-config" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-color-config" rust-version.workspace = true -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -16,12 +16,12 @@ harness = false workspace = true [dependencies] -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-json = { path = "../nu-json", version = "0.113.0" } -nu-ansi-term = { workspace = true } +nu-protocol.workspace = true +nu-engine.workspace = true +nu-json.workspace = true +nu-ansi-term.workspace = true serde = { workspace = true, features = ["derive"] } [dev-dependencies] -nu-test-support = { path = "../nu-test-support" } +nu-test-support.workspace = true diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index 5a94f66989..f82f6ae123 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell's built-in commands" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-command" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-command" rust-version.workspace = true -version = "0.113.0" +version.workspace = true autotests = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -24,23 +24,23 @@ harness = false workspace = true [dependencies] -nu-ansi-term = { workspace = true } -nu-cmd-base = { path = "../nu-cmd-base", version = "0.113.0" } -nu-color-config = { path = "../nu-color-config", version = "0.113.0" } -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-experimental = { path = "../nu-experimental", version = "0.113.0" } -nu-glob = { path = "../nu-glob", version = "0.113.0" } -nu-json = { path = "../nu-json", version = "0.113.0", features = ["nu-protocol"] } -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-system = { path = "../nu-system", version = "0.113.0" } -nu-table = { path = "../nu-table", version = "0.113.0" } -nu-term-grid = { path = "../nu-term-grid", version = "0.113.0" } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } -nu-heavy-utils = { path = "../nu-heavy-utils", version = "0.113.0" } -nuon = { path = "../nuon", version = "0.113.0" } +nu-ansi-term.workspace = true +nu-cmd-base.workspace = true +nu-color-config.workspace = true +nu-engine.workspace = true +nu-experimental.workspace = true +nu-glob.workspace = true +nu-json = { workspace = true, features = ["nu-protocol", "preserve_order"] } +nu-parser.workspace = true +nu-path.workspace = true +nu-pretty-hex.workspace = true +nu-protocol.workspace = true +nu-system.workspace = true +nu-table.workspace = true +nu-term-grid.workspace = true +nu-utils.workspace = true +nu-heavy-utils.workspace = true +nuon.workspace = true alphanumeric-sort = { workspace = true } base64 = { workspace = true } @@ -195,6 +195,7 @@ default = ["os", "network", "rustls-tls", "sqlite"] os = [ # include other features "js", + "nu-cmd-lang/os", "nu-engine/os", "nu-protocol/os", "nu-utils/os", @@ -252,8 +253,8 @@ sqlite = ["rusqlite"] trash-support = ["trash"] [dev-dependencies] -nu-cmd-lang = { path = "../nu-cmd-lang" } -nu-test-support = { path = "../nu-test-support" } +nu-cmd-lang.workspace = true +nu-test-support.workspace = true dirs = { workspace = true } mockito = { workspace = true, default-features = false } diff --git a/crates/nu-derive-value/Cargo.toml b/crates/nu-derive-value/Cargo.toml index b8b8e7111f..4ca0d55771 100644 --- a/crates/nu-derive-value/Cargo.toml +++ b/crates/nu-derive-value/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Macros implementation of #[derive(FromValue, IntoValue)]" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-derive-value" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-derive-value" rust-version.workspace = true -version = "0.113.0" +version.workspace = true [lib] proc-macro = true diff --git a/crates/nu-engine/Cargo.toml b/crates/nu-engine/Cargo.toml index 3524c4bdc3..29ed01f7d3 100644 --- a/crates/nu-engine/Cargo.toml +++ b/crates/nu-engine/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell's evaluation engine" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-engine" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-engine" rust-version.workspace = true -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -15,11 +15,11 @@ bench = false workspace = true [dependencies] -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-experimental = { path = "../nu-experimental", version = "0.113.0" } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-glob = { path = "../nu-glob", version = "0.113.0" } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } +nu-protocol.workspace = true +nu-experimental.workspace = true +nu-path.workspace = true +nu-glob.workspace = true +nu-utils.workspace = true fancy-regex = { workspace = true } log = { workspace = true } diff --git a/crates/nu-experimental/Cargo.toml b/crates/nu-experimental/Cargo.toml index 773a354e1c..848092b1f5 100644 --- a/crates/nu-experimental/Cargo.toml +++ b/crates/nu-experimental/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell experimental options" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-experimental" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-experimental" rust-version.workspace = true -version = "0.113.0" +version.workspace = true [dependencies] itertools.workspace = true diff --git a/crates/nu-explore/Cargo.toml b/crates/nu-explore/Cargo.toml index 6272f99421..24a00e054a 100644 --- a/crates/nu-explore/Cargo.toml +++ b/crates/nu-explore/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell table pager" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-explore" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-explore" rust-version.workspace = true -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -15,16 +15,16 @@ bench = false workspace = true [dependencies] -nu-protocol = { path = "../nu-protocol", version = "0.113.0" } -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-color-config = { path = "../nu-color-config", version = "0.113.0" } -nu-engine = { path = "../nu-engine", version = "0.113.0" } -nu-table = { path = "../nu-table", version = "0.113.0" } -nu-json = { path = "../nu-json", version = "0.113.0" } -nu-utils = { path = "../nu-utils", version = "0.113.0" } -nu-ansi-term = { workspace = true } -nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.113.0" } +nu-protocol = { workspace = true, features = ["os"] } +nu-path.workspace = true +nu-parser.workspace = true +nu-color-config.workspace = true +nu-engine = { workspace = true, features = ["os"] } +nu-table.workspace = true +nu-json.workspace = true +nu-utils.workspace = true +nu-ansi-term.workspace = true +nu-pretty-hex.workspace = true ansi-str = { workspace = true } anyhow = { workspace = true } diff --git a/crates/nu-glob/Cargo.toml b/crates/nu-glob/Cargo.toml index ee9f8ff417..ae9b4728f9 100644 --- a/crates/nu-glob/Cargo.toml +++ b/crates/nu-glob/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nu-glob" -version = "0.113.0" +version.workspace = true authors = ["The Nushell Project Developers", "The Rust Project Developers"] license = "MIT/Apache-2.0" description = """ diff --git a/crates/nu-heavy-utils/Cargo.toml b/crates/nu-heavy-utils/Cargo.toml index 82b4bf2265..2a8f9e1fc8 100644 --- a/crates/nu-heavy-utils/Cargo.toml +++ b/crates/nu-heavy-utils/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "nu-heavy-utils" description = "Nushell utility types and functions with heavier dependencies" -authors = ["The Nushell Project Developers"] -license = "MIT" +authors.workspace = true +license.workspace = true repository = "https://github.com/nushell/nushell/tree/main/crates/nu-heavy-utils" -version = "0.113.0" +version.workspace = true edition.workspace = true rust-version.workspace = true autotests = false @@ -17,7 +17,7 @@ harness = false workspace = true [dependencies] -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } +nu-protocol.workspace = true [dev-dependencies] -nu-test-support = { path = "../nu-test-support" } +nu-test-support.workspace = true diff --git a/crates/nu-json/Cargo.toml b/crates/nu-json/Cargo.toml index ca90a83779..72862d9d08 100644 --- a/crates/nu-json/Cargo.toml +++ b/crates/nu-json/Cargo.toml @@ -7,9 +7,9 @@ description = "Fork of serde-hjson" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-json" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-json" -version = "0.113.0" +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,12 +17,12 @@ version = "0.113.0" bench = false [features] -preserve_order = ["linked-hash-map", "linked-hash-map/serde_impl"] +preserve_order = ["linked-hash-map", "linked-hash-map/serde_impl", "serde_json/preserve_order"] default = ["preserve_order"] [dependencies] -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false, optional = true } +nu-utils.workspace = true +nu-protocol = { workspace = true, optional = true } linked-hash-map = { version = "0.5", optional = true } num-traits = { workspace = true } @@ -30,8 +30,8 @@ serde = { workspace = true } serde_json = { workspace = true } [dev-dependencies] -nu-test-support = { path = "../nu-test-support" } -nu-path = { path = "../nu-path" } +nu-test-support.workspace = true +nu-path.workspace = true serde_json = "1.0" fancy-regex = "0.18.0" diff --git a/crates/nu-lsp/Cargo.toml b/crates/nu-lsp/Cargo.toml index 0bb3c13b27..ce8907ea76 100644 --- a/crates/nu-lsp/Cargo.toml +++ b/crates/nu-lsp/Cargo.toml @@ -1,19 +1,19 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell's integrated LSP server" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-lsp" name = "nu-lsp" -version = "0.113.0" +version.workspace = true edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true [dependencies] -nu-cli = { path = "../nu-cli", version = "0.113.0" } -nu-glob = { path = "../nu-glob", version = "0.113.0" } -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0" } -nu-utils = { path = "../nu-utils", version = "0.113.0" } +nu-cli.workspace = true +nu-glob.workspace = true +nu-parser.workspace = true +nu-protocol.workspace = true +nu-utils.workspace = true crossbeam-channel = { workspace = true } fancy-regex = { workspace = true } @@ -28,11 +28,11 @@ serde_json = { workspace = true } url = { workspace = true } [dev-dependencies] -nu-cmd-lang = { path = "../nu-cmd-lang" } -nu-command = { path = "../nu-command" } -nu-engine = { path = "../nu-engine" } -nu-std = { path = "../nu-std" } -nu-test-support = { path = "../nu-test-support" } +nu-cmd-lang = { workspace = true, features = ["os"] } +nu-command = { workspace = true, features = ["os"] } +nu-engine.workspace = true +nu-std.workspace = true +nu-test-support.workspace = true assert-json-diff = "2.0" rstest = { workspace = true, default-features = false } diff --git a/crates/nu-mcp/Cargo.toml b/crates/nu-mcp/Cargo.toml index 22be892966..2b456b9161 100644 --- a/crates/nu-mcp/Cargo.toml +++ b/crates/nu-mcp/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "nu-mcp" -version = "0.113.0" +version.workspace = true edition.workspace = true rust-version.workspace = true -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Modules to run a model context protocol (MCP) server that provides Nushell as a tool." repository = "https://github.com/nushell/nushell/tree/main/crates/nu-mcp" homepage = "https://www.nushell.sh" -license = "MIT" +license.workspace = true [target.'cfg(unix)'.dependencies] nix = { workspace = true, features = ["process"] } @@ -15,10 +15,10 @@ nix = { workspace = true, features = ["process"] } [dependencies] futures = "0.3.31" miette = { workspace = true } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } -nu-engine = { path = "../nu-engine", version = "0.113.0" } -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nuon = { path = "../nuon", version = "0.113.0" } +nu-protocol = { workspace = true, features = ["plugin"] } +nu-engine = { workspace = true, features = ["plugin"] } +nu-parser.workspace = true +nuon.workspace = true rmcp = { version = "1.7.0", features = ["server", "transport-io", "schemars", "transport-streamable-http-server"] } hyper-util = { version = "0.1", features = ["tokio", "server-auto", "service"] } @@ -41,4 +41,4 @@ mcp = [] workspace = true [dev-dependencies] -nu-cmd-lang = { path = "../nu-cmd-lang" } +nu-cmd-lang = { workspace = true, features = ["os"] } diff --git a/crates/nu-parser/Cargo.toml b/crates/nu-parser/Cargo.toml index 42d5e52fdf..d5b47f2ee0 100644 --- a/crates/nu-parser/Cargo.toml +++ b/crates/nu-parser/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell's parser" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-parser" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-parser" -version = "0.113.0" +version.workspace = true exclude = ["/fuzz"] [lib] @@ -16,12 +16,12 @@ bench = false workspace = true [dependencies] -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-plugin-engine = { path = "../nu-plugin-engine", optional = true, version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } -nu-experimental = { path = "../nu-experimental", version = "0.113.0" } +nu-engine.workspace = true +nu-path.workspace = true +nu-plugin-engine = { workspace = true, optional = true } +nu-protocol.workspace = true +nu-utils.workspace = true +nu-experimental.workspace = true bytesize = { workspace = true } chrono = { default-features = false, features = ['std'], workspace = true } @@ -33,4 +33,4 @@ serde_json = { workspace = true } rstest = { workspace = true, default-features = false } [features] -plugin = ["nu-plugin-engine"] +plugin = ["nu-plugin-engine", "nu-engine/plugin"] diff --git a/crates/nu-parser/fuzz/Cargo.toml b/crates/nu-parser/fuzz/Cargo.toml index 1bea5cde10..6ade1db961 100644 --- a/crates/nu-parser/fuzz/Cargo.toml +++ b/crates/nu-parser/fuzz/Cargo.toml @@ -9,8 +9,8 @@ cargo-fuzz = true [dependencies] libfuzzer-sys = "0.4" -nu-protocol = { path = "../../nu-protocol" } -nu-cmd-lang = { path = "../../nu-cmd-lang" } +nu-protocol.path = "../../nu-protocol" +nu-cmd-lang.path = "../../nu-cmd-lang" [dependencies.nu-parser] diff --git a/crates/nu-path/Cargo.toml b/crates/nu-path/Cargo.toml index 4614f9400d..224224cd67 100644 --- a/crates/nu-path/Cargo.toml +++ b/crates/nu-path/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Path handling library for Nushell" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-path" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-path" -version = "0.113.0" +version.workspace = true exclude = ["/fuzz"] [lib] diff --git a/crates/nu-plugin-core/Cargo.toml b/crates/nu-plugin-core/Cargo.toml index 828fe121ba..707882f446 100644 --- a/crates/nu-plugin-core/Cargo.toml +++ b/crates/nu-plugin-core/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Shared internal functionality to support Nushell plugins" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-core" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-plugin-core" -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -15,9 +15,9 @@ bench = false workspace = true [dependencies] -nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.113.0", default-features = false } -nu-protocol = { path = "../nu-protocol", version = "0.113.0" } -nu-utils = { path = "../nu-utils", version = "0.113.0" } +nu-plugin-protocol.workspace = true +nu-protocol.workspace = true +nu-utils.workspace = true rmp-serde = { workspace = true } serde = { workspace = true } diff --git a/crates/nu-plugin-engine/Cargo.toml b/crates/nu-plugin-engine/Cargo.toml index 03004779d7..2a70c52b86 100644 --- a/crates/nu-plugin-engine/Cargo.toml +++ b/crates/nu-plugin-engine/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Functionality for running Nushell plugins from a Nushell engine" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-engine" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-plugin-engine" -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -15,12 +15,12 @@ bench = false workspace = true [dependencies] -nu-engine = { path = "../nu-engine", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0" } -nu-system = { path = "../nu-system", version = "0.113.0" } -nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.113.0" } -nu-plugin-core = { path = "../nu-plugin-core", version = "0.113.0", default-features = false } -nu-utils = { path = "../nu-utils", version = "0.113.0" } +nu-engine = { workspace = true, features = ["plugin"] } +nu-protocol.workspace = true +nu-system.workspace = true +nu-plugin-protocol.workspace = true +nu-plugin-core.workspace = true +nu-utils.workspace = true serde = { workspace = true } log = { workspace = true } diff --git a/crates/nu-plugin-protocol/Cargo.toml b/crates/nu-plugin-protocol/Cargo.toml index 6b555c9d8c..5cb5cfcd3e 100644 --- a/crates/nu-plugin-protocol/Cargo.toml +++ b/crates/nu-plugin-protocol/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Protocol type definitions for Nushell plugins" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-protocol" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-plugin-protocol" -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -15,8 +15,8 @@ bench = false workspace = true [dependencies] -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } -nu-utils = { path = "../nu-utils", version = "0.113.0" } +nu-protocol = { workspace = true, features = ["plugin"] } +nu-utils.workspace = true rmp-serde = { workspace = true } serde = { workspace = true, features = ["derive"] } diff --git a/crates/nu-plugin-test-support/Cargo.toml b/crates/nu-plugin-test-support/Cargo.toml index 62c5875e83..482a7adb50 100644 --- a/crates/nu-plugin-test-support/Cargo.toml +++ b/crates/nu-plugin-test-support/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "nu-plugin-test-support" -version = "0.113.0" +version.workspace = true edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true description = "Testing support for Nushell plugins" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-test-support" @@ -16,15 +16,15 @@ workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -nu-engine = { path = "../nu-engine", version = "0.113.0", features = ["plugin"] } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } -nu-parser = { path = "../nu-parser", version = "0.113.0", features = ["plugin"] } -nu-plugin = { path = "../nu-plugin", version = "0.113.0" } -nu-plugin-core = { path = "../nu-plugin-core", version = "0.113.0" } -nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.113.0" } -nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.113.0" } -nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.113.0" } -nu-ansi-term = { workspace = true } +nu-engine = { workspace = true, features = ["plugin"] } +nu-protocol = { workspace = true, features = ["plugin"] } +nu-parser = { workspace = true, features = ["plugin"] } +nu-plugin.workspace = true +nu-plugin-core.workspace = true +nu-plugin-engine.workspace = true +nu-plugin-protocol.workspace = true +nu-cmd-lang = { workspace = true, features = ["plugin"] } +nu-ansi-term.workspace = true similar = "3.1" [dev-dependencies] diff --git a/crates/nu-plugin/Cargo.toml b/crates/nu-plugin/Cargo.toml index f167aeee2f..38f59ba5d5 100644 --- a/crates/nu-plugin/Cargo.toml +++ b/crates/nu-plugin/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Functionality for building Nushell plugins" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-plugin" -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -15,11 +15,11 @@ bench = false workspace = true [dependencies] -nu-engine = { path = "../nu-engine", version = "0.113.0", features = ["plugin"] } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } -nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.113.0" } -nu-plugin-core = { path = "../nu-plugin-core", version = "0.113.0", default-features = false } -nu-utils = { path = "../nu-utils", version = "0.113.0" } +nu-engine = { workspace = true, features = ["plugin"] } +nu-protocol = { workspace = true, features = ["plugin"] } +nu-plugin-protocol.workspace = true +nu-plugin-core.workspace = true +nu-utils.workspace = true log = { workspace = true } thiserror = "2.0.18" diff --git a/crates/nu-pretty-hex/Cargo.toml b/crates/nu-pretty-hex/Cargo.toml index 7f280e32d4..136e607e8b 100644 --- a/crates/nu-pretty-hex/Cargo.toml +++ b/crates/nu-pretty-hex/Cargo.toml @@ -4,9 +4,9 @@ description = "Pretty hex dump of bytes slice in the common style." repository = "https://github.com/nushell/nushell/tree/main/crates/nu-pretty-hex" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-pretty-hex" -version = "0.113.0" +version.workspace = true [lib] doctest = false @@ -18,7 +18,7 @@ bench = false workspace = true [dependencies] -nu-ansi-term = { workspace = true } +nu-ansi-term.workspace = true [dev-dependencies] heapless = { version = "0.9", default-features = false } diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml index e32961e6a3..9114f9364a 100644 --- a/crates/nu-protocol/Cargo.toml +++ b/crates/nu-protocol/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell's internal protocols, including its abstract syntax tree" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-protocol" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-protocol" -version = "0.113.0" +version.workspace = true autotests = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -24,12 +24,12 @@ harness = false workspace = true [dependencies] -nu-derive-value = { path = "../nu-derive-value", version = "0.113.0" } -nu-glob = { path = "../nu-glob", version = "0.113.0" } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-system = { path = "../nu-system", version = "0.113.0" } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } -nu-experimental = { path = "../nu-experimental", version = "0.113.0" } +nu-derive-value.workspace = true +nu-glob.workspace = true +nu-path.workspace = true +nu-system.workspace = true +nu-utils.workspace = true +nu-experimental.workspace = true brotli = { workspace = true, optional = true } bytes = { workspace = true } @@ -79,8 +79,8 @@ plugin = [ sqlite = [] [dev-dependencies] -nu-test-support = { path = "../nu-test-support", features = ["os"] } -nu-utils = { path = "../nu-utils" } +nu-test-support = { workspace = true, features = ["os"] } +nu-utils.workspace = true serde_json = { workspace = true } pretty_assertions = { workspace = true } diff --git a/crates/nu-std/Cargo.toml b/crates/nu-std/Cargo.toml index 59f0f96f74..8bf63a6751 100644 --- a/crates/nu-std/Cargo.toml +++ b/crates/nu-std/Cargo.toml @@ -1,17 +1,17 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "The standard library of Nushell" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-std" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-std" -version = "0.113.0" +version.workspace = true [dependencies] -nu-parser = { version = "0.113.0", path = "../nu-parser" } -nu-protocol = { version = "0.113.0", path = "../nu-protocol", default-features = false } -nu-engine = { version = "0.113.0", path = "../nu-engine", default-features = false } +nu-parser.workspace = true +nu-protocol.workspace = true +nu-engine.workspace = true miette = { workspace = true, features = ["fancy-no-backtrace"] } log = "0.4" diff --git a/crates/nu-system/Cargo.toml b/crates/nu-system/Cargo.toml index b81aa96f91..45788432b2 100644 --- a/crates/nu-system/Cargo.toml +++ b/crates/nu-system/Cargo.toml @@ -3,10 +3,10 @@ authors = ["The Nushell Project Developers", "procs creators"] description = "Nushell system querying" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-system" name = "nu-system" -version = "0.113.0" +version.workspace = true edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -17,7 +17,7 @@ bench = false workspace = true [dependencies] -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } +nu-utils.workspace = true libc = { workspace = true } log = { workspace = true } diff --git a/crates/nu-table/Cargo.toml b/crates/nu-table/Cargo.toml index fbe13600c7..bc1f5283ca 100644 --- a/crates/nu-table/Cargo.toml +++ b/crates/nu-table/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell table printing" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-table" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-table" -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -15,10 +15,10 @@ bench = false workspace = true [dependencies] -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-color-config = { path = "../nu-color-config", version = "0.113.0" } +nu-protocol.workspace = true +nu-utils.workspace = true +nu-engine.workspace = true +nu-color-config.workspace = true nu-ansi-term = { workspace = true } fancy-regex = { workspace = true } tabled = { workspace = true, features = ["ansi"], default-features = false } diff --git a/crates/nu-term-grid/Cargo.toml b/crates/nu-term-grid/Cargo.toml index 38a4e3df52..dc8b269e29 100644 --- a/crates/nu-term-grid/Cargo.toml +++ b/crates/nu-term-grid/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell grid printing" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-term-grid" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-term-grid" -version = "0.113.0" +version.workspace = true [lib] bench = false @@ -15,6 +15,6 @@ bench = false workspace = true [dependencies] -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } +nu-utils.workspace = true unicode-width = { workspace = true } diff --git a/crates/nu-test-support-macros/Cargo.toml b/crates/nu-test-support-macros/Cargo.toml index 52c37c2264..19a2658ffb 100644 --- a/crates/nu-test-support-macros/Cargo.toml +++ b/crates/nu-test-support-macros/Cargo.toml @@ -1,21 +1,21 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Macros for nu-test-support" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-test-support-macros" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-test-support-macros" -version = "0.113.0" +version.workspace = true [lib] proc-macro = true [dependencies] -nu-experimental = { path = "../nu-experimental", version = "0.113.0" } +nu-experimental.workspace = true heck = { workspace = true } proc-macro-error2 = { workspace = true } proc-macro2 = { workspace = true } quote = { workspace = true } -syn = { workspace = true, features = ["full"] } \ No newline at end of file +syn = { workspace = true, features = ["full"] } diff --git a/crates/nu-test-support/Cargo.toml b/crates/nu-test-support/Cargo.toml index 99f917fa58..fb44010e81 100644 --- a/crates/nu-test-support/Cargo.toml +++ b/crates/nu-test-support/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Support for writing Nushell tests" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-test-support" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu-test-support" -version = "0.113.0" +version.workspace = true [lib] doctest = false @@ -27,18 +27,18 @@ network = ["nu-command/network"] rustls-tls = ["nu-command/rustls-tls"] [dependencies] -nu-cmd-extra = { path = "../nu-cmd-extra", version = "0.113.0", default-features = false } -nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.113.0", default-features = false } -nu-command = { path = "../nu-command", version = "0.113.0", default-features = false } -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-experimental = { path = "../nu-experimental", version = "0.113.0", default-features = false } -nu-glob = { path = "../nu-glob", version = "0.113.0", default-features = false } -nu-parser = { path = "../nu-parser", version = "0.113.0", default-features = false } -nu-path = { path = "../nu-path", version = "0.113.0", default-features = false } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-std = { path = "../nu-std", version = "0.113.0", default-features = false } -nu-test-support-macros = { path = "../nu-test-support-macros", version = "0.113.0", default-features = false } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } +nu-cmd-extra.workspace = true +nu-cmd-lang.workspace = true +nu-command.workspace = true +nu-engine.workspace = true +nu-experimental.workspace = true +nu-glob.workspace = true +nu-parser.workspace = true +nu-path.workspace = true +nu-protocol.workspace = true +nu-std.workspace = true +nu-test-support-macros.workspace = true +nu-utils.workspace = true derive_more = { workspace = true } itertools = { workspace = true } @@ -54,8 +54,8 @@ which = { workspace = true } [dev-dependencies] # doc tests use the "os" feature of `nu-command` -nu-cmd-lang = { path = "../nu-cmd-lang", features = ["default"] } -nu-command = { path = "../nu-command", features = ["default"] } +nu-cmd-lang = { workspace = true, features = ["default"] } +nu-command = { workspace = true, features = ["default"] } bytes = { workspace = true } rstest = { workspace = true } diff --git a/crates/nu-utils/Cargo.toml b/crates/nu-utils/Cargo.toml index 85a70efcd0..bed3ecbeb5 100644 --- a/crates/nu-utils/Cargo.toml +++ b/crates/nu-utils/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell utility functions" edition.workspace = true -license = "MIT" +license.workspace = true name = "nu-utils" repository = "https://github.com/nushell/nushell/tree/main/crates/nu-utils" rust-version.workspace = true -version = "0.113.0" +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]] diff --git a/crates/nu-utils/src/default_files/default_env.nu b/crates/nu-utils/src/default_files/default_env.nu index a16d713f76..b4de55bb3b 100644 --- a/crates/nu-utils/src/default_files/default_env.nu +++ b/crates/nu-utils/src/default_files/default_env.nu @@ -33,4 +33,4 @@ $env.PROMPT_COMMAND_RIGHT = {|| } else { "" } ([$last_exit_code, (char space), $time_segment] | str join) -} \ No newline at end of file +} diff --git a/crates/nu-utils/src/default_files/doc_env.nu b/crates/nu-utils/src/default_files/doc_env.nu index 1dfdbefa2f..c8c1b6109b 100644 --- a/crates/nu-utils/src/default_files/doc_env.nu +++ b/crates/nu-utils/src/default_files/doc_env.nu @@ -8,4 +8,4 @@ # To pretty-print the in-shell documentation for Nushell's various configuration # settings, you can run: -config nu --doc | nu-highlight | less -R \ No newline at end of file +config nu --doc | nu-highlight | less -R diff --git a/crates/nu-utils/src/default_files/scaffold_env.nu b/crates/nu-utils/src/default_files/scaffold_env.nu index 80712a4848..7d5fce557a 100644 --- a/crates/nu-utils/src/default_files/scaffold_env.nu +++ b/crates/nu-utils/src/default_files/scaffold_env.nu @@ -15,4 +15,4 @@ # Also see `help config env` for more options. # # You can remove these comments if you want or leave -# them for future reference. \ No newline at end of file +# them for future reference. diff --git a/crates/nu_plugin_custom_values/Cargo.toml b/crates/nu_plugin_custom_values/Cargo.toml index 666074fc57..75d092ffdc 100644 --- a/crates/nu_plugin_custom_values/Cargo.toml +++ b/crates/nu_plugin_custom_values/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nu_plugin_custom_values" repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_custom_values" -version = "0.1.0" +version.workspace = true edition.workspace = true rust-version.workspace = true publish = false @@ -15,10 +15,10 @@ bench = false workspace = true [dependencies] -nu-plugin = { path = "../nu-plugin", version = "0.113.0", features = [] } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } +nu-plugin = { workspace = true, features = [] } +nu-protocol = { workspace = true, features = ["plugin"] } serde = { workspace = true } typetag = "0.2" [dev-dependencies] -nu-plugin-test-support = { path = "../nu-plugin-test-support" } +nu-plugin-test-support.workspace = true diff --git a/crates/nu_plugin_example/Cargo.toml b/crates/nu_plugin_example/Cargo.toml index 2e28f96682..f8474f664e 100644 --- a/crates/nu_plugin_example/Cargo.toml +++ b/crates/nu_plugin_example/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "A version incrementer plugin for Nushell" repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_example" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu_plugin_example" -version = "0.113.0" +version.workspace = true publish = false [[bin]] @@ -20,9 +20,9 @@ bench = false workspace = true [dependencies] -nu-plugin = { path = "../nu-plugin", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } +nu-plugin.workspace = true +nu-protocol = { workspace = true, features = ["plugin"] } [dev-dependencies] -nu-plugin-test-support = { path = "../nu-plugin-test-support" } -nu-cmd-lang = { path = "../nu-cmd-lang" } +nu-plugin-test-support.workspace = true +nu-cmd-lang.workspace = true diff --git a/crates/nu_plugin_formats/Cargo.toml b/crates/nu_plugin_formats/Cargo.toml index 0497a14142..40fd5099db 100644 --- a/crates/nu_plugin_formats/Cargo.toml +++ b/crates/nu_plugin_formats/Cargo.toml @@ -1,20 +1,20 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "An I/O plugin for a set of file formats for Nushell" repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_formats" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu_plugin_formats" -version = "0.113.0" +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lints] workspace = true [dependencies] -nu-plugin = { path = "../nu-plugin", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } +nu-plugin.workspace = true +nu-protocol = { workspace = true, features = ["plugin"] } indexmap = { workspace = true } eml-parser = "0.1" @@ -24,4 +24,4 @@ plist = "1.8" chrono = "0.4.41" # polars is requiring <= 0.4.41 [dev-dependencies] -nu-plugin-test-support = { path = "../nu-plugin-test-support" } +nu-plugin-test-support.workspace = true diff --git a/crates/nu_plugin_gstat/Cargo.toml b/crates/nu_plugin_gstat/Cargo.toml index 71a539e7fd..9feeb018d3 100644 --- a/crates/nu_plugin_gstat/Cargo.toml +++ b/crates/nu_plugin_gstat/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "A git status plugin for Nushell" repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_gstat" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu_plugin_gstat" -version = "0.113.0" +version.workspace = true [lib] doctest = false @@ -17,7 +17,7 @@ name = "nu_plugin_gstat" bench = false [dependencies] -nu-plugin = { path = "../nu-plugin", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0" } +nu-plugin.workspace = true +nu-protocol.workspace = true git2 = "0.20.4" diff --git a/crates/nu_plugin_inc/Cargo.toml b/crates/nu_plugin_inc/Cargo.toml index cffbb99f0f..c18168d189 100644 --- a/crates/nu_plugin_inc/Cargo.toml +++ b/crates/nu_plugin_inc/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "A version incrementer plugin for Nushell" repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_inc" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu_plugin_inc" -version = "0.113.0" +version.workspace = true [lib] doctest = false @@ -17,7 +17,7 @@ name = "nu_plugin_inc" bench = false [dependencies] -nu-plugin = { path = "../nu-plugin", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", features = ["plugin"] } +nu-plugin.workspace = true +nu-protocol = { workspace = true, features = ["plugin"] } semver = { workspace = true } diff --git a/crates/nu_plugin_polars/Cargo.toml b/crates/nu_plugin_polars/Cargo.toml index 9742991691..de1e0b2b1b 100644 --- a/crates/nu_plugin_polars/Cargo.toml +++ b/crates/nu_plugin_polars/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Nushell dataframe plugin commands based on polars." edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu_plugin_polars" repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_polars" -version = "0.113.0" +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -18,10 +18,10 @@ bench = false bench = false [dependencies] -nu-protocol = { path = "../nu-protocol", version = "0.113.0" } -nu-plugin = { path = "../nu-plugin", version = "0.113.0" } -nu-path = { path = "../nu-path", version = "0.113.0" } -nu-utils = { path = "../nu-utils", version = "0.113.0" } +nu-protocol.workspace = true +nu-plugin.workspace = true +nu-path.workspace = true +nu-utils.workspace = true # Potential dependencies for extras chrono = { workspace = true, features = [ @@ -106,10 +106,10 @@ optional = false version = "=0.53.0" [dev-dependencies] -nu-cmd-lang = { path = "../nu-cmd-lang" } -nu-engine = { path = "../nu-engine" } -nu-parser = { path = "../nu-parser" } -nu-command = { path = "../nu-command" } -nu-plugin-test-support = { path = "../nu-plugin-test-support" } +nu-cmd-lang = { workspace = true, features = ["plugin"] } +nu-engine = { workspace = true, features = ["plugin"] } +nu-parser = { workspace = true, features = ["plugin"] } +nu-command = { workspace = true, features = ["plugin"] } +nu-plugin-test-support.workspace = true tempfile.workspace = true diff --git a/crates/nu_plugin_python/nu_plugin_python_example.py b/crates/nu_plugin_python/nu_plugin_python_example.py index 1398b69271..e53aae1eb4 100755 --- a/crates/nu_plugin_python/nu_plugin_python_example.py +++ b/crates/nu_plugin_python/nu_plugin_python_example.py @@ -265,4 +265,4 @@ if __name__ == "__main__": if len(sys.argv) == 2 and sys.argv[1] == "--stdio": plugin() else: - print("Run me from inside nushell!") \ No newline at end of file + print("Run me from inside nushell!") diff --git a/crates/nu_plugin_query/Cargo.toml b/crates/nu_plugin_query/Cargo.toml index a0164485c7..3353b20d01 100644 --- a/crates/nu_plugin_query/Cargo.toml +++ b/crates/nu_plugin_query/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "A Nushell plugin to query JSON, XML, and various web data" repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_query" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu_plugin_query" -version = "0.113.0" +version.workspace = true [lib] doctest = false @@ -17,8 +17,8 @@ name = "nu_plugin_query" bench = false [dependencies] -nu-plugin = { path = "../nu-plugin", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0" } +nu-plugin.workspace = true +nu-protocol.workspace = true gjson = "0.8.1" scraper = { default-features = false, version = "0.27" } diff --git a/crates/nu_plugin_stress_internals/Cargo.toml b/crates/nu_plugin_stress_internals/Cargo.toml index d61a756bdc..40cab49afc 100644 --- a/crates/nu_plugin_stress_internals/Cargo.toml +++ b/crates/nu_plugin_stress_internals/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "A test plugin for Nushell to stress aspects of the internals" repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_stress_internals" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nu_plugin_stress_internals" -version = "0.113.0" +version.workspace = true publish = false [[bin]] diff --git a/crates/nuon/Cargo.toml b/crates/nuon/Cargo.toml index c546282b5d..2107b777da 100644 --- a/crates/nuon/Cargo.toml +++ b/crates/nuon/Cargo.toml @@ -1,20 +1,20 @@ [package] -authors = ["The Nushell Project Developers"] +authors.workspace = true description = "Support for the NUON format." repository = "https://github.com/nushell/nushell/tree/main/crates/nuon" edition.workspace = true rust-version.workspace = true -license = "MIT" +license.workspace = true name = "nuon" -version = "0.113.0" +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -nu-parser = { path = "../nu-parser", version = "0.113.0" } -nu-protocol = { path = "../nu-protocol", version = "0.113.0", default-features = false } -nu-engine = { path = "../nu-engine", version = "0.113.0", default-features = false } -nu-utils = { path = "../nu-utils", version = "0.113.0", default-features = false } +nu-parser.workspace = true +nu-protocol.workspace = true +nu-engine.workspace = true +nu-utils.workspace = true [dev-dependencies] chrono = { workspace = true }