-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
84 lines (77 loc) · 1.73 KB
/
Cargo.toml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[package]
name = "cargonode"
version = "0.1.2"
edition = "2021"
authors = ["Success Kingsley <[email protected]>"]
categories = [
"command-line-utilities",
"development-tools",
"development-tools::build-utils",
]
keywords = ["productivity", "developer-tools", "cross-platform"]
description = """
Unified tooling for Node.js.
"""
license = "MIT OR Apache-2.0"
repository = "https://github.com/xosnrdev/cargonode"
[[bin]]
name = "cargonode"
[dependencies]
clap = { version = "4.5.21", features = ["derive"] }
fs_extra = "1.3.0"
once_cell = "1.20.2"
serde = { version = "1.0.215", features = ["derive"] }
tempfile = "3.14.0"
toml = "0.8.19"
ureq = "2.10.1"
zip-extract = "0.2.1"
[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies]
jemallocator = "0.5.4"
[profile.release]
debug = 1
[profile.release-lto]
inherits = "release"
opt-level = 3
debug = "none"
strip = "symbols"
debug-assertions = false
overflow-checks = false
lto = "fat"
panic = "abort"
incremental = false
codegen-units = 1
# This is the main way to strip binaries in the deb package created by
# 'cargo deb'. For other release binaries, we (currently) call 'strip'
# explicitly in the release process.
[profile.deb]
inherits = "release"
debug = false
[package.metadata.deb]
section = "utils"
assets = [
[
"target/release/cargonode",
"usr/bin/",
"755",
],
[
"LICENSE-MIT",
"usr/share/doc/cargonode/",
"644",
],
[
"LICENSE-APACHE",
"usr/share/doc/cargonode/",
"644",
],
[
"CHANGELOG.md",
"usr/share/doc/cargonode/CHANGELOG",
"644",
],
[
"README.md",
"usr/share/doc/cargonode/README",
"644",
],
]