Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.83.0"
15 name = "jsonschema"
16 version = "0.37.4"
17 authors = ["Dmitry Dygalo <[email protected]>"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "JSON schema validaton library"
25 readme = "README.md"
26 keywords = [
27 "jsonschema",
28 "validation",
29 ]
30 categories = ["web-programming"]
31 license = "MIT"
32 repository = "https://github.com/Stranger6667/jsonschema"
33
34 [features]
35 arbitrary-precision = [
36 "serde_json/arbitrary_precision",
37 "dep:num-bigint",
38 ]
39 default = [
40 "resolve-http",
41 "resolve-file",
42 ]
43 resolve-async = [
44 "referencing/retrieve-async",
45 "reqwest/default",
46 "dep:async-trait",
47 "dep:tokio",
48 ]
49 resolve-file = []
50 resolve-http = ["reqwest"]
51
52 [lib]
53 name = "jsonschema"
54 path = "src/lib.rs"
55
56 [[test]]
57 name = "wasm"
58 path = "tests/wasm.rs"
59
60 [[test]]
61 name = "wasm_wasi"
62 path = "tests/wasm_wasi.rs"
63
•64 #[[bench]]
65 #name = "errors"
66 #path = "benches/errors.rs"
67 #harness = false
68
69 #[[bench]]
70 #name = "jsonschema"
71 #path = "benches/jsonschema.rs"
72 #harness = false
73
74 #[[bench]]
75 #name = "keywords"
76 #path = "benches/keywords.rs"
77 #harness = false
78
79 #[[bench]]
80 #name = "location"
81 #path = "benches/location.rs"
82 #harness = false
83
84 #[[bench]]
85 #name = "unevaluated_items"
86 #path = "benches/unevaluated_items.rs"
87 #harness = false
88
89 #[[bench]]
90 #name = "unevaluated_properties"
91 #path = "benches/unevaluated_properties.rs"
92 #harness = false
93
94 [dependencies.ahash]
95 version = "0.8"
96 features = ["serde"]
97
98 [dependencies.async-trait]
99 version = "0.1.86"
100 optional = true
101
102 [dependencies.bytecount]
103 version = "0.6"
104 features = ["runtime-dispatch-simd"]
105
106 [dependencies.data-encoding]
107 version = "2.9"
108
109 [dependencies.email_address]
110 version = "0.2.9"
111
112 [dependencies.fancy-regex]
•113 version = "0.11"
114
115 [dependencies.fraction]
116 version = "0.15"
117 features = ["with-bigint"]
118 default-features = false
119
120 [dependencies.idna]
121 version = "1.0.2"
122
123 [dependencies.itoa]
124 version = "1"
125
126 [dependencies.num-bigint]
127 version = "0.4"
128 optional = true
129
130 [dependencies.num-cmp]
131 version = "0.1"
132
133 [dependencies.num-traits]
134 version = "0.2.19"
135
136 [dependencies.percent-encoding]
137 version = "2.3"
138
139 [dependencies.referencing]
140 version = "0.37.4"
141
142 [dependencies.regex]
143 version = "1.11.1"
144
145 [dependencies.regex-syntax]
146 version = "0.8.5"
147
148 [dependencies.serde]
149 version = "1.0"
150 features = ["derive"]
151
152 [dependencies.serde_json]
153 version = "1"
154
155 [dependencies.unicode-general-category]
156 version = "1.1"
157
158 [dependencies.uuid-simd]
159 version = "0.8"
160 features = [
161 "std",
162 "detect",
163 ]
164 default-features = false
165
166 [dev-dependencies.futures]
167 version = "0.3"
168 features = ["std"]
169 default-features = false
170
171 [dev-dependencies.test-case]
172 version = "3"
173
174 [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
•175 version = "0.3"
176
177 [target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
178 version = "0.12"
179 features = [
180 "blocking",
181 "json",
182 ]
183 optional = true
184 default-features = false
185
186 [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
187 version = "1.0"
188 features = [
189 "fs",
190 "rt",
191 ]
192 optional = true
193
•194 #[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.codspeed-criterion-compat]
195 #version = "4.1"
196 #default-features = false
197
198 #[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
199 #version = "0.7"
200 #default-features = false
201
202 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tempfile]
203 version = "3.13.0"
204
205 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.test-case]
206 version = "3"
207
208 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
209 version = "1"
210 features = [
211 "macros",
212 "rt",
213 ]
214
•215 #[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
216 #version = "0.2"
217 #features = ["wasm_js"]
218
219 [target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
220 version = "0.12"
221 features = ["json"]
222 optional = true
223 default-features = false
224
225 [target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
226 version = "1.0"
227 features = ["rt"]
228 optional = true
229
230 [lints.clippy]
231 dbg_macro = "warn"
232 empty_drop = "warn"
233 empty_structs_with_brackets = "warn"
234 exit = "warn"
235 get_unwrap = "warn"
236 module_name_repetitions = "allow"
237 print_stderr = "warn"
238 print_stdout = "warn"
239 rc_buffer = "warn"
240 rc_mutex = "warn"
241 rest_pat_in_fully_bound_structs = "warn"
242 similar_names = "allow"
243 too_many_arguments = "allow"
244 too_many_lines = "allow"
245
246 [lints.clippy.pedantic]
247 level = "warn"
248 priority = -2
249
250 [lints.rust]
251 unreachable_pub = "warn"
252 unsafe_code = "warn"