forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
38 lines (34 loc) · 1.13 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
[package]
name = "wasm-metadata"
version.workspace = true
edition.workspace = true
license.workspace = true
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-metadata"
description = "Read and manipulate WebAssembly metadata"
rust-version.workspace = true
[lints]
workspace = true
[dependencies]
anyhow = { workspace = true }
clap = { workspace = true, optional = true }
indexmap = { workspace = true, features = ["serde"] }
serde = { workspace = true, optional = true }
serde_derive = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
spdx = { workspace = true, optional = true }
url = { workspace = true, optional = true }
wasm-encoder = { workspace = true, features = ['std', 'component-model'] }
wasmparser = { workspace = true, features = ['std', 'component-model', 'hash-collections'] }
auditable-serde = { version = "0.8.0", optional = true }
flate2 = { version = "1.1.0", optional = true }
[features]
default = ['oci', 'serde']
oci = [
'dep:auditable-serde',
'dep:flate2',
'dep:url',
'dep:spdx',
'dep:serde_json',
'serde',
]
serde = ['dep:serde_derive', 'dep:serde']