From ba73307eafe4301632b0ecc3ea393a515495c7ec Mon Sep 17 00:00:00 2001 From: Tim 'Piepmatz' Hesse Date: Fri, 20 Sep 2024 02:07:55 +0200 Subject: [PATCH] made kernel publishable --- Cargo.toml | 2 +- src/jupyter/kernel_info.rs | 1 - src/main.rs | 2 +- src/nu/konst.rs | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 794daf3..2f34710 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ nu-cmd-extra.workspace = true nu-cmd-lang.workspace = true nu-cmd-plugin.workspace = true nu-command.workspace = true -nu-engine.workspace = true +nu-engine.version = "0.98.0" # cannot publish if this inherits from workspace nu-parser.workspace = true nu-protocol.workspace = true diff --git a/src/jupyter/kernel_info.rs b/src/jupyter/kernel_info.rs index 8d85ff0..12f18c7 100644 --- a/src/jupyter/kernel_info.rs +++ b/src/jupyter/kernel_info.rs @@ -54,7 +54,6 @@ impl KernelInfo { language_info: LanguageInfo { name: "nushell".to_owned(), version: CARGO_TOML - .workspace .dependencies .nu_engine .version diff --git a/src/main.rs b/src/main.rs index 7ca9bc7..e3e6b51 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ static_toml::static_toml! { #[command(version, long_version = formatcp!( "{}\nnu-engine {}", CARGO_TOML.package.version, - CARGO_TOML.workspace.dependencies.nu_engine.version + CARGO_TOML.dependencies.nu_engine.version ))] struct Cli { #[command(subcommand)] diff --git a/src/nu/konst.rs b/src/nu/konst.rs index 0eb3c6d..06417b5 100644 --- a/src/nu/konst.rs +++ b/src/nu/konst.rs @@ -34,7 +34,6 @@ impl Konst { version: KonstDataVersion { kernel: CARGO_TOML.package.version.to_owned(), nu: CARGO_TOML - .workspace .dependencies .nu_engine .version