-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (40 loc) · 1.4 KB
/
Copy pathCargo.toml
File metadata and controls
50 lines (40 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "nu_plugin_json_path"
version = "0.25.0"
authors = ["Darren Schroeder"]
edition = "2024"
repository = "https://github.com/fdncred/nu_plugin_json_path"
description = "a nushell plugin created to parse json files using jsonpath"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# nushell dependencies
nu-plugin = "0.115.0"
nu-protocol = "0.115.0"
nu-path = "0.115.0"
# for local development, you can use a path dependency
# nu-plugin = { path = "../nushell/crates/nu-plugin", version = "0.98.0" }
# nu-protocol = { path = "../nushell/crates/nu-protocol", version = "0.98.0" }
# nu-path = { path = "../nushell/crates/nu-path", version = "0.98.0" }
serde_json = "1.0.151"
serde_json_path = "0.7.2"
[dev-dependencies]
nu-plugin-test-support = "0.115.0"
# nu-plugin-test-support = { path = "../nushell/crates/nu-plugin-test-support" }
[profile.release]
opt-level = "s" # Optimize for size
strip = "debuginfo"
lto = "thin"
[profile.dev]
opt-level = 0
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }{ archive-suffix }"
pkg-fmt = "txz"
bin-dir = "{ name }-{ target }/{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.'cfg(windows)']
pkg-fmt = "zip"
bin-dir = "{ bin }{ binary-ext }"