-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
Cargo.toml
71 lines (64 loc) · 2.37 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
[package]
name = "nassun"
version = "0.3.11"
authors = ["Kat Marchán <kzm@zkat.tech>"]
edition = "2021"
description = "NPM package interface for resolving, fetching metadata, downloading, and extracting individual packages."
license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
[dependencies]
oro-common = { version = "=0.3.11", path = "../oro-common" }
oro-client = { version = "=0.3.11", path = "../oro-client" }
oro-package-spec = { version = "=0.3.11", path = "../oro-package-spec" }
async-compression = { workspace = true, features = ["gzip", "futures-io"] }
async-std = { workspace = true, features = [
"attributes",
"unstable",
"tokio1",
] }
async-trait = { workspace = true }
bincode = { workspace = true }
dashmap = { workspace = true }
futures = { workspace = true }
miette = { workspace = true }
node-semver = { workspace = true }
once_cell = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
ssri = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
tsify = { workspace = true, default-features = false, features = ["js"] }
url = { workspace = true }
[dev-dependencies]
mockito = { workspace = true }
test-case = { workspace = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-tar-wasm = "0.4.2-wasm.1"
async-process = { workspace = true }
async-std = { workspace = true, features = ["attributes", "std"] }
backon = { workspace = true }
cacache = { workspace = true }
flate2 = { workspace = true }
io_tee = { workspace = true }
tar = { workspace = true }
tempfile = { workspace = true }
which = { workspace = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: This async-tar-wasm version can't be configured at the workspace
# level, because otherwise the conditional features don't work.
async-tar-wasm = { version = "0.4.2-wasm.1", default-features = false }
console_error_panic_hook = { workspace = true }
js-sys = { workspace = true }
serde-wasm-bindgen = { workspace = true }
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = { workspace = true }
wasm-streams = { workspace = true }
[lib]
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
# Temporary workaround. See https://github.com/rustwasm/wasm-pack/issues/864
[package.metadata.wasm-pack.profile.release]
wasm-opt = false