diff --git a/Cargo.lock b/Cargo.lock index 696b84d35..bdd628ee8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -119,6 +119,21 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c58ec36aac5066d5ca17df51b3e70279f5670a72102f5752cb7e7c856adfc70" +[[package]] +name = "capnp" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae9b8a7119420b5279ddc2b4ee553ee15bcf4605df6135a26f03ffe153bee97c" + +[[package]] +name = "capnpc" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b47bce811162518b5c38f746ed584bd2922ae7bb560ef64f230d2e4ee0d111fe" +dependencies = [ + "capnp", +] + [[package]] name = "cc" version = "1.0.71" @@ -582,6 +597,7 @@ dependencies = [ "nu-json", "nu-parser", "nu-path", + "nu-plugin", "nu-protocol", "nu-table", "nu-term-grid", @@ -633,6 +649,15 @@ dependencies = [ "dunce", ] +[[package]] +name = "nu-plugin" +version = "0.1.0" +dependencies = [ + "capnp", + "capnpc", + "nu-protocol", +] + [[package]] name = "nu-protocol" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 6ee4ab820..906070b2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,14 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [workspace] -members = ["crates/nu-cli", "crates/nu-engine", "crates/nu-parser", "crates/nu-command", "crates/nu-protocol"] +members = [ + "crates/nu-cli", + "crates/nu-engine", + "crates/nu-parser", + "crates/nu-command", + "crates/nu-protocol", + "crates/nu-plugin", +] [dependencies] reedline = { git = "https://github.com/nushell/reedline", branch = "main" }