-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (33 loc) · 875 Bytes
/
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
[package]
version = "1.2.0"
name = "yarn-why"
description = "yarn why, but fast"
authors = ["Riccardo Attilio Galli <riccardo@sideralis.org>"]
homepage = "https://github.com/riquito/yarn-why"
edition = "2021"
license = "GPL-3.0-or-later"
readme = "README.md"
keywords = ["cli"]
categories = ["command-line-utilities"]
[dependencies]
anyhow = "1.0.96"
fxhash = "0.2.1"
once_cell = "1.20.3"
pico-args = "0.5.0"
semver = "1.0.25"
serde = { version = "1.0.218", features = ["derive", "rc"] }
serde_json = "1.0.139"
yarn-lock-parser = { version = "0.7.0" }
[dev-dependencies]
assert_cmd = "2.0.16"
[profile.release]
lto = true
strip = "debuginfo"
codegen-units = 1
[profile.web-release]
# To be used with
# cargo build --target wasm32-wasi --profile=web-release
# then we get our wasm file at
# target/wasm32-wasi/web-release/yarn-why.wasm
inherits = "release"
opt-level = "s"