File: Cargo.toml

package info (click to toggle)
rustc 1.85.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 893,396 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; perl: 29; lisp: 29; ruby: 19; sql: 11
file content (173 lines) | stat: -rw-r--r-- 3,349 bytes parent folder | download | duplicates (2)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.76.0"
name = "wit-component"
version = "0.219.1"
authors = ["Peter Huene <peter@huene.dev>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Tooling for working with `*.wit` and component files together.
"""
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-component"
documentation = "https://docs.rs/wit-component"
readme = "README.md"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-component"

[package.metadata.docs.rs]
all-features = true

[lib]
name = "wit_component"
path = "src/lib.rs"

[[test]]
name = "components"
path = "tests/components.rs"
harness = false

[[test]]
name = "interfaces"
path = "tests/interfaces.rs"
harness = false

[[test]]
name = "linking"
path = "tests/linking.rs"

[[test]]
name = "merge"
path = "tests/merge.rs"

[[test]]
name = "targets"
path = "tests/targets.rs"

[[test]]
name = "wit"
path = "tests/wit.rs"

[dependencies.anyhow]
version = "1.0.58"

[dependencies.bitflags]
version = "2.3.3"

[dependencies.indexmap]
version = "2.0.0"
default-features = false

[dependencies.log]
version = "0.4.17"

[dependencies.serde]
version = "1.0.166"
features = ["alloc"]
default-features = false

[dependencies.serde_derive]
version = "1.0.166"

[dependencies.serde_json]
version = "1"

[dependencies.wasm-encoder]
version = "0.219.1"
features = ["wasmparser"]
default-features = false

[dependencies.wasm-metadata]
version = "0.219.1"

[dependencies.wasmparser]
version = "0.219.1"
features = [
    "std",
    "component-model",
]
default-features = false

[dependencies.wast]
version = "219.0.1"
optional = true
default-features = false

[dependencies.wat]
version = "1.219.1"
optional = true
default-features = false

[dependencies.wit-parser]
version = "0.219.1"
features = [
    "decoding",
    "serde",
]

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.glob]
version = "0.3.0"

[dev-dependencies.libtest-mimic]
version = "0.7.0"

[dev-dependencies.pretty_assertions]
version = "1.3.0"

[dev-dependencies.wasmprinter]
version = "0.219.1"
features = ["component-model"]
default-features = false

[dev-dependencies.wat]
version = "1.219.1"
features = ["component-model"]
default-features = false

[features]
dummy-module = ["dep:wat"]
semver-check = ["dummy-module"]
wat = [
    "dep:wast",
    "dep:wat",
]

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.wasmtime]
version = "25.0.0"
features = [
    "cranelift",
    "component-model",
    "runtime",
    "gc",
]
default-features = false

[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
unnecessary_to_owned = "warn"

[lints.clippy.all]
level = "allow"
priority = -1

[lints.rust]
unsafe_code = "deny"