Skip to content

Commit f7c858c

Browse files
authored
fix(rust/nu_plugin_example): Fix README config and update nu deps. (#9)
Thanks for this. Commit message says it all :)
1 parent d1ef7a5 commit f7c858c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ members = [
66
]
77

88
[workspace.dependencies]
9-
nu-plugin = { version = "0.107", git = "https://github.com/nushell/nushell.git" }
10-
nu-protocol = { version = "0.107", git = "https://github.com/nushell/nushell.git" }
11-
nu-plugin-test-support = { version = "0.107", git = "https://github.com/nushell/nushell.git" }
12-
nu-cmd-lang = { version = "0.107", git = "https://github.com/nushell/nushell.git" }
9+
nu-plugin = { version = "0.109", git = "https://github.com/nushell/nushell.git" }
10+
nu-protocol = { version = "0.109", git = "https://github.com/nushell/nushell.git" }
11+
nu-plugin-test-support = { version = "0.109", git = "https://github.com/nushell/nushell.git" }
12+
nu-cmd-lang = { version = "0.109", git = "https://github.com/nushell/nushell.git" }
1313

1414
serde = "1.0"

rust/nu_plugin_example/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ The configuration for the plugin lives in `$env.config.plugins.example`:
2020
```nushell
2121
$env.config = {
2222
plugins: {
23-
example: [
24-
some
25-
values
26-
]
23+
example: {
24+
path: "a/b/c.txt"
25+
nested: {
26+
bool: true,
27+
string: "Foo",
28+
}
29+
}
2730
}
2831
}
2932
```

0 commit comments

Comments
 (0)