dry-validation-rust 0.1.0.pre5 → 0.1.0.pre6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +13 -0
- data/.markdownlint.yml +9 -0
- data/.rubocop.yml +124 -0
- data/.ruby-version +1 -0
- data/.tool-versions +1 -0
- data/.yardopts +4 -0
- data/AGENTS.md +376 -0
- data/CHANGELOG.md +71 -0
- data/CODE_OF_CONDUCT.md +42 -0
- data/CONTRIBUTING.md +159 -0
- data/Cargo.lock +809 -0
- data/Cargo.toml +10 -0
- data/GOVERNANCE.md +68 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +132 -0
- data/NOTICE.md +5 -5
- data/README.md +206 -181
- data/Rakefile +350 -0
- data/SECURITY.md +98 -0
- data/SECURITY_AUDIT.md +33 -0
- data/SUMMARY.md +30 -0
- data/SUPPORT.md +67 -0
- data/book.toml +9 -0
- data/codecov.yml +11 -0
- data/compatibility.yml +453 -0
- data/deny.toml +7 -0
- data/dry-validation-rust.gemspec +21 -23
- data/ext/dry_validation_rust/Cargo.toml +7 -7
- data/ext/dry_validation_rust/build.rs +5 -0
- data/ext/dry_validation_rust/extconf.rb +12 -0
- data/ext/dry_validation_rust/fuzz/.gitignore +5 -0
- data/ext/dry_validation_rust/fuzz/Cargo.toml +19 -0
- data/ext/dry_validation_rust/fuzz/corpus/parse_plan/basic_params.json +1 -0
- data/ext/dry_validation_rust/fuzz/fuzz_targets/parse_plan.rs +9 -0
- data/lib/dry/validation/rust/path_trie.rb +15 -8
- data/lib/dry/validation/rust/schema/dsl.rb +8 -0
- data/lib/dry/validation/rust/schema/field_definition.rb +3 -1
- data/lib/dry/validation/rust/schema/predicate_block.rb +2 -1
- data/lib/dry/validation/rust/schema/ruby_type_processor.rb +38 -23
- data/lib/dry/validation/rust/version.rb +1 -1
- data/supply-chain/audits.toml +4 -0
- data/supply-chain/config.toml +368 -0
- data/supply-chain/imports.lock +4 -0
- data/support_matrix.yml +9 -0
- metadata +64 -25
- data/docs/ARCHITECTURE.md +0 -256
- data/docs/COMPATIBILITY.md +0 -198
- data/docs/FEASIBILITY.md +0 -207
- data/docs/SUPPORT_MATRIX.md +0 -66
- data/docs/VERIFICATION.md +0 -128
|
@@ -29,7 +29,8 @@ module Dry
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
raise UnsupportedFeatureError,
|
|
32
|
-
|
|
32
|
+
'boolean predicate AST composition is not supported; use sequential predicates. ' \
|
|
33
|
+
'See: https://github.com/alex-tomilov/dry-validation-rust/blob/main/docs/MIGRATION_RECIPES.md#boolean-predicate-composition'
|
|
33
34
|
end
|
|
34
35
|
|
|
35
36
|
def respond_to_missing?(name, include_private = false)
|
|
@@ -8,35 +8,50 @@ module Dry
|
|
|
8
8
|
class RubyTypeProcessor
|
|
9
9
|
def self.apply(definitions, data, messages, message_backend)
|
|
10
10
|
error_paths = messages.to_set(&:path)
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
stack = [[:definitions, definitions, data, []]]
|
|
12
|
+
|
|
13
|
+
until stack.empty?
|
|
14
|
+
task = stack.pop
|
|
15
|
+
case task[0]
|
|
16
|
+
when :definitions
|
|
17
|
+
current_definitions = task[1]
|
|
18
|
+
current_data = task[2]
|
|
19
|
+
prefix = task[3]
|
|
20
|
+
next unless current_data.is_a?(Hash)
|
|
13
21
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
definitions.each do |field|
|
|
18
|
-
next unless data.key?(field.name)
|
|
19
|
-
|
|
20
|
-
path = [*prefix, field.name]
|
|
21
|
-
if field.ruby_type && !error_paths.include?(path)
|
|
22
|
-
result = field.ruby_type.try(data[field.name])
|
|
23
|
-
data[field.name] = result.input
|
|
24
|
-
unless result.success?
|
|
25
|
-
messages << Message.new(
|
|
26
|
-
text: message_backend.message(
|
|
27
|
-
code: :type, predicate: nil, args: [], type: field.type, fallback: 'is invalid'
|
|
28
|
-
),
|
|
29
|
-
path: path, code: :type, source: :schema
|
|
30
|
-
)
|
|
31
|
-
error_paths << path
|
|
22
|
+
current_definitions.reverse_each do |field|
|
|
23
|
+
stack << [:field, field, current_data, prefix]
|
|
32
24
|
end
|
|
33
|
-
|
|
25
|
+
when :field
|
|
26
|
+
field = task[1]
|
|
27
|
+
current_data = task[2]
|
|
28
|
+
prefix = task[3]
|
|
29
|
+
next unless current_data.key?(field.name)
|
|
34
30
|
|
|
35
|
-
|
|
31
|
+
path = [*prefix, field.name]
|
|
32
|
+
apply_to(field, current_data, path, messages, error_paths, message_backend)
|
|
33
|
+
stack << [:definitions, field.children, current_data[field.name], path]
|
|
34
|
+
end
|
|
36
35
|
end
|
|
37
36
|
end
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
def self.apply_to(field, data, path, messages, error_paths, message_backend)
|
|
39
|
+
return unless field.ruby_type && !error_paths.include?(path)
|
|
40
|
+
|
|
41
|
+
result = field.ruby_type.try(data[field.name])
|
|
42
|
+
data[field.name] = result.input
|
|
43
|
+
return if result.success?
|
|
44
|
+
|
|
45
|
+
messages << Message.new(
|
|
46
|
+
text: message_backend.message(
|
|
47
|
+
code: :type, predicate: nil, args: [], type: field.type, fallback: 'is invalid'
|
|
48
|
+
),
|
|
49
|
+
path: path, code: :type, source: :schema
|
|
50
|
+
)
|
|
51
|
+
error_paths << path
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
private_class_method :apply_to
|
|
40
55
|
end
|
|
41
56
|
end
|
|
42
57
|
end
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
|
|
2
|
+
# cargo-vet config file
|
|
3
|
+
|
|
4
|
+
[cargo-vet]
|
|
5
|
+
version = "0.10"
|
|
6
|
+
|
|
7
|
+
[imports.mozilla]
|
|
8
|
+
url = "https://raw.githubusercontent.com/mozilla/supply-chain/main/audits.toml"
|
|
9
|
+
|
|
10
|
+
[[exemptions.aho-corasick]]
|
|
11
|
+
version = "1.1.4"
|
|
12
|
+
criteria = "safe-to-deploy"
|
|
13
|
+
|
|
14
|
+
[[exemptions.anes]]
|
|
15
|
+
version = "0.1.6"
|
|
16
|
+
criteria = "safe-to-run"
|
|
17
|
+
|
|
18
|
+
[[exemptions.anstyle]]
|
|
19
|
+
version = "1.0.14"
|
|
20
|
+
criteria = "safe-to-run"
|
|
21
|
+
|
|
22
|
+
[[exemptions.autocfg]]
|
|
23
|
+
version = "1.5.1"
|
|
24
|
+
criteria = "safe-to-deploy"
|
|
25
|
+
|
|
26
|
+
[[exemptions.bigdecimal]]
|
|
27
|
+
version = "0.4.10"
|
|
28
|
+
criteria = "safe-to-deploy"
|
|
29
|
+
|
|
30
|
+
[[exemptions.bindgen]]
|
|
31
|
+
version = "0.72.1"
|
|
32
|
+
criteria = "safe-to-deploy"
|
|
33
|
+
|
|
34
|
+
[[exemptions.bitflags]]
|
|
35
|
+
version = "2.13.0"
|
|
36
|
+
criteria = "safe-to-deploy"
|
|
37
|
+
|
|
38
|
+
[[exemptions.bumpalo]]
|
|
39
|
+
version = "3.20.3"
|
|
40
|
+
criteria = "safe-to-run"
|
|
41
|
+
|
|
42
|
+
[[exemptions.cast]]
|
|
43
|
+
version = "0.3.0"
|
|
44
|
+
criteria = "safe-to-run"
|
|
45
|
+
|
|
46
|
+
[[exemptions.cexpr]]
|
|
47
|
+
version = "0.6.0"
|
|
48
|
+
criteria = "safe-to-deploy"
|
|
49
|
+
|
|
50
|
+
[[exemptions.cfg-if]]
|
|
51
|
+
version = "1.0.4"
|
|
52
|
+
criteria = "safe-to-deploy"
|
|
53
|
+
|
|
54
|
+
[[exemptions.chrono]]
|
|
55
|
+
version = "0.4.45"
|
|
56
|
+
criteria = "safe-to-deploy"
|
|
57
|
+
|
|
58
|
+
[[exemptions.ciborium]]
|
|
59
|
+
version = "0.2.2"
|
|
60
|
+
criteria = "safe-to-run"
|
|
61
|
+
|
|
62
|
+
[[exemptions.ciborium-io]]
|
|
63
|
+
version = "0.2.2"
|
|
64
|
+
criteria = "safe-to-run"
|
|
65
|
+
|
|
66
|
+
[[exemptions.ciborium-ll]]
|
|
67
|
+
version = "0.2.2"
|
|
68
|
+
criteria = "safe-to-run"
|
|
69
|
+
|
|
70
|
+
[[exemptions.clang-sys]]
|
|
71
|
+
version = "1.8.1"
|
|
72
|
+
criteria = "safe-to-deploy"
|
|
73
|
+
|
|
74
|
+
[[exemptions.clap]]
|
|
75
|
+
version = "4.5.4"
|
|
76
|
+
criteria = "safe-to-run"
|
|
77
|
+
|
|
78
|
+
[[exemptions.clap_builder]]
|
|
79
|
+
version = "4.5.2"
|
|
80
|
+
criteria = "safe-to-run"
|
|
81
|
+
|
|
82
|
+
[[exemptions.clap_lex]]
|
|
83
|
+
version = "0.7.7"
|
|
84
|
+
criteria = "safe-to-run"
|
|
85
|
+
|
|
86
|
+
[[exemptions.criterion]]
|
|
87
|
+
version = "0.5.1"
|
|
88
|
+
criteria = "safe-to-run"
|
|
89
|
+
|
|
90
|
+
[[exemptions.criterion-plot]]
|
|
91
|
+
version = "0.5.0"
|
|
92
|
+
criteria = "safe-to-run"
|
|
93
|
+
|
|
94
|
+
[[exemptions.crossbeam-deque]]
|
|
95
|
+
version = "0.8.7"
|
|
96
|
+
criteria = "safe-to-run"
|
|
97
|
+
|
|
98
|
+
[[exemptions.crossbeam-epoch]]
|
|
99
|
+
version = "0.9.20"
|
|
100
|
+
criteria = "safe-to-run"
|
|
101
|
+
|
|
102
|
+
[[exemptions.crossbeam-utils]]
|
|
103
|
+
version = "0.8.22"
|
|
104
|
+
criteria = "safe-to-run"
|
|
105
|
+
|
|
106
|
+
[[exemptions.crunchy]]
|
|
107
|
+
version = "0.2.4"
|
|
108
|
+
criteria = "safe-to-run"
|
|
109
|
+
|
|
110
|
+
[[exemptions.either]]
|
|
111
|
+
version = "1.16.0"
|
|
112
|
+
criteria = "safe-to-deploy"
|
|
113
|
+
|
|
114
|
+
[[exemptions.futures-core]]
|
|
115
|
+
version = "0.3.34"
|
|
116
|
+
criteria = "safe-to-run"
|
|
117
|
+
|
|
118
|
+
[[exemptions.futures-task]]
|
|
119
|
+
version = "0.3.34"
|
|
120
|
+
criteria = "safe-to-run"
|
|
121
|
+
|
|
122
|
+
[[exemptions.futures-util]]
|
|
123
|
+
version = "0.3.34"
|
|
124
|
+
criteria = "safe-to-run"
|
|
125
|
+
|
|
126
|
+
[[exemptions.glob]]
|
|
127
|
+
version = "0.3.3"
|
|
128
|
+
criteria = "safe-to-deploy"
|
|
129
|
+
|
|
130
|
+
[[exemptions.half]]
|
|
131
|
+
version = "2.4.1"
|
|
132
|
+
criteria = "safe-to-run"
|
|
133
|
+
|
|
134
|
+
[[exemptions.hermit-abi]]
|
|
135
|
+
version = "0.5.2"
|
|
136
|
+
criteria = "safe-to-run"
|
|
137
|
+
|
|
138
|
+
[[exemptions.is-terminal]]
|
|
139
|
+
version = "0.4.17"
|
|
140
|
+
criteria = "safe-to-run"
|
|
141
|
+
|
|
142
|
+
[[exemptions.itertools]]
|
|
143
|
+
version = "0.10.5"
|
|
144
|
+
criteria = "safe-to-run"
|
|
145
|
+
|
|
146
|
+
[[exemptions.itertools]]
|
|
147
|
+
version = "0.13.0"
|
|
148
|
+
criteria = "safe-to-deploy"
|
|
149
|
+
|
|
150
|
+
[[exemptions.itoa]]
|
|
151
|
+
version = "1.0.18"
|
|
152
|
+
criteria = "safe-to-deploy"
|
|
153
|
+
|
|
154
|
+
[[exemptions.js-sys]]
|
|
155
|
+
version = "0.3.104"
|
|
156
|
+
criteria = "safe-to-run"
|
|
157
|
+
|
|
158
|
+
[[exemptions.lazy_static]]
|
|
159
|
+
version = "1.5.0"
|
|
160
|
+
criteria = "safe-to-deploy"
|
|
161
|
+
|
|
162
|
+
[[exemptions.libc]]
|
|
163
|
+
version = "0.2.186"
|
|
164
|
+
criteria = "safe-to-deploy"
|
|
165
|
+
|
|
166
|
+
[[exemptions.libloading]]
|
|
167
|
+
version = "0.8.9"
|
|
168
|
+
criteria = "safe-to-deploy"
|
|
169
|
+
|
|
170
|
+
[[exemptions.libm]]
|
|
171
|
+
version = "0.2.16"
|
|
172
|
+
criteria = "safe-to-deploy"
|
|
173
|
+
|
|
174
|
+
[[exemptions.magnus]]
|
|
175
|
+
version = "0.8.2"
|
|
176
|
+
criteria = "safe-to-deploy"
|
|
177
|
+
|
|
178
|
+
[[exemptions.magnus-macros]]
|
|
179
|
+
version = "0.8.0"
|
|
180
|
+
criteria = "safe-to-deploy"
|
|
181
|
+
|
|
182
|
+
[[exemptions.memchr]]
|
|
183
|
+
version = "2.8.3"
|
|
184
|
+
criteria = "safe-to-deploy"
|
|
185
|
+
|
|
186
|
+
[[exemptions.minimal-lexical]]
|
|
187
|
+
version = "0.2.1"
|
|
188
|
+
criteria = "safe-to-deploy"
|
|
189
|
+
|
|
190
|
+
[[exemptions.nom]]
|
|
191
|
+
version = "7.1.3"
|
|
192
|
+
criteria = "safe-to-deploy"
|
|
193
|
+
|
|
194
|
+
[[exemptions.num-bigint]]
|
|
195
|
+
version = "0.4.8"
|
|
196
|
+
criteria = "safe-to-deploy"
|
|
197
|
+
|
|
198
|
+
[[exemptions.num-integer]]
|
|
199
|
+
version = "0.1.47"
|
|
200
|
+
criteria = "safe-to-deploy"
|
|
201
|
+
|
|
202
|
+
[[exemptions.num-traits]]
|
|
203
|
+
version = "0.2.19"
|
|
204
|
+
criteria = "safe-to-deploy"
|
|
205
|
+
|
|
206
|
+
[[exemptions.once_cell]]
|
|
207
|
+
version = "1.21.4"
|
|
208
|
+
criteria = "safe-to-run"
|
|
209
|
+
|
|
210
|
+
[[exemptions.oorandom]]
|
|
211
|
+
version = "11.1.5"
|
|
212
|
+
criteria = "safe-to-run"
|
|
213
|
+
|
|
214
|
+
[[exemptions.pin-project-lite]]
|
|
215
|
+
version = "0.2.17"
|
|
216
|
+
criteria = "safe-to-run"
|
|
217
|
+
|
|
218
|
+
[[exemptions.plotters]]
|
|
219
|
+
version = "0.3.7"
|
|
220
|
+
criteria = "safe-to-run"
|
|
221
|
+
|
|
222
|
+
[[exemptions.plotters-backend]]
|
|
223
|
+
version = "0.3.7"
|
|
224
|
+
criteria = "safe-to-run"
|
|
225
|
+
|
|
226
|
+
[[exemptions.plotters-svg]]
|
|
227
|
+
version = "0.3.7"
|
|
228
|
+
criteria = "safe-to-run"
|
|
229
|
+
|
|
230
|
+
[[exemptions.proc-macro2]]
|
|
231
|
+
version = "1.0.106"
|
|
232
|
+
criteria = "safe-to-deploy"
|
|
233
|
+
|
|
234
|
+
[[exemptions.quote]]
|
|
235
|
+
version = "1.0.46"
|
|
236
|
+
criteria = "safe-to-deploy"
|
|
237
|
+
|
|
238
|
+
[[exemptions.rayon]]
|
|
239
|
+
version = "1.10.0"
|
|
240
|
+
criteria = "safe-to-run"
|
|
241
|
+
|
|
242
|
+
[[exemptions.rayon-core]]
|
|
243
|
+
version = "1.12.1"
|
|
244
|
+
criteria = "safe-to-run"
|
|
245
|
+
|
|
246
|
+
[[exemptions.rb-sys]]
|
|
247
|
+
version = "0.9.128"
|
|
248
|
+
criteria = "safe-to-deploy"
|
|
249
|
+
|
|
250
|
+
[[exemptions.rb-sys-build]]
|
|
251
|
+
version = "0.9.128"
|
|
252
|
+
criteria = "safe-to-deploy"
|
|
253
|
+
|
|
254
|
+
[[exemptions.rb-sys-env]]
|
|
255
|
+
version = "0.2.3"
|
|
256
|
+
criteria = "safe-to-deploy"
|
|
257
|
+
|
|
258
|
+
[[exemptions.regex]]
|
|
259
|
+
version = "1.13.0"
|
|
260
|
+
criteria = "safe-to-deploy"
|
|
261
|
+
|
|
262
|
+
[[exemptions.regex-automata]]
|
|
263
|
+
version = "0.4.15"
|
|
264
|
+
criteria = "safe-to-deploy"
|
|
265
|
+
|
|
266
|
+
[[exemptions.regex-syntax]]
|
|
267
|
+
version = "0.8.11"
|
|
268
|
+
criteria = "safe-to-deploy"
|
|
269
|
+
|
|
270
|
+
[[exemptions.rustc-hash]]
|
|
271
|
+
version = "2.1.0"
|
|
272
|
+
criteria = "safe-to-deploy"
|
|
273
|
+
|
|
274
|
+
[[exemptions.rustversion]]
|
|
275
|
+
version = "1.0.23"
|
|
276
|
+
criteria = "safe-to-run"
|
|
277
|
+
|
|
278
|
+
[[exemptions.same-file]]
|
|
279
|
+
version = "1.0.6"
|
|
280
|
+
criteria = "safe-to-run"
|
|
281
|
+
|
|
282
|
+
[[exemptions.seq-macro]]
|
|
283
|
+
version = "0.3.6"
|
|
284
|
+
criteria = "safe-to-deploy"
|
|
285
|
+
|
|
286
|
+
[[exemptions.serde]]
|
|
287
|
+
version = "1.0.229"
|
|
288
|
+
criteria = "safe-to-deploy"
|
|
289
|
+
|
|
290
|
+
[[exemptions.serde_core]]
|
|
291
|
+
version = "1.0.229"
|
|
292
|
+
criteria = "safe-to-deploy"
|
|
293
|
+
|
|
294
|
+
[[exemptions.serde_derive]]
|
|
295
|
+
version = "1.0.229"
|
|
296
|
+
criteria = "safe-to-deploy"
|
|
297
|
+
|
|
298
|
+
[[exemptions.serde_json]]
|
|
299
|
+
version = "1.0.151"
|
|
300
|
+
criteria = "safe-to-deploy"
|
|
301
|
+
|
|
302
|
+
[[exemptions.shell-words]]
|
|
303
|
+
version = "1.1.1"
|
|
304
|
+
criteria = "safe-to-deploy"
|
|
305
|
+
|
|
306
|
+
[[exemptions.shlex]]
|
|
307
|
+
version = "1.3.0"
|
|
308
|
+
criteria = "safe-to-deploy"
|
|
309
|
+
|
|
310
|
+
[[exemptions.slab]]
|
|
311
|
+
version = "0.4.12"
|
|
312
|
+
criteria = "safe-to-run"
|
|
313
|
+
|
|
314
|
+
[[exemptions.syn]]
|
|
315
|
+
version = "2.0.118"
|
|
316
|
+
criteria = "safe-to-deploy"
|
|
317
|
+
|
|
318
|
+
[[exemptions.syn]]
|
|
319
|
+
version = "3.0.3"
|
|
320
|
+
criteria = "safe-to-deploy"
|
|
321
|
+
|
|
322
|
+
[[exemptions.tinytemplate]]
|
|
323
|
+
version = "1.2.1"
|
|
324
|
+
criteria = "safe-to-run"
|
|
325
|
+
|
|
326
|
+
[[exemptions.unicode-ident]]
|
|
327
|
+
version = "1.0.24"
|
|
328
|
+
criteria = "safe-to-deploy"
|
|
329
|
+
|
|
330
|
+
[[exemptions.walkdir]]
|
|
331
|
+
version = "2.5.0"
|
|
332
|
+
criteria = "safe-to-run"
|
|
333
|
+
|
|
334
|
+
[[exemptions.wasm-bindgen]]
|
|
335
|
+
version = "0.2.127"
|
|
336
|
+
criteria = "safe-to-run"
|
|
337
|
+
|
|
338
|
+
[[exemptions.wasm-bindgen-macro]]
|
|
339
|
+
version = "0.2.127"
|
|
340
|
+
criteria = "safe-to-run"
|
|
341
|
+
|
|
342
|
+
[[exemptions.wasm-bindgen-macro-support]]
|
|
343
|
+
version = "0.2.127"
|
|
344
|
+
criteria = "safe-to-run"
|
|
345
|
+
|
|
346
|
+
[[exemptions.wasm-bindgen-shared]]
|
|
347
|
+
version = "0.2.127"
|
|
348
|
+
criteria = "safe-to-run"
|
|
349
|
+
|
|
350
|
+
[[exemptions.web-sys]]
|
|
351
|
+
version = "0.3.104"
|
|
352
|
+
criteria = "safe-to-run"
|
|
353
|
+
|
|
354
|
+
[[exemptions.winapi-util]]
|
|
355
|
+
version = "0.1.11"
|
|
356
|
+
criteria = "safe-to-run"
|
|
357
|
+
|
|
358
|
+
[[exemptions.windows-link]]
|
|
359
|
+
version = "0.2.1"
|
|
360
|
+
criteria = "safe-to-deploy"
|
|
361
|
+
|
|
362
|
+
[[exemptions.windows-sys]]
|
|
363
|
+
version = "0.61.2"
|
|
364
|
+
criteria = "safe-to-run"
|
|
365
|
+
|
|
366
|
+
[[exemptions.zmij]]
|
|
367
|
+
version = "1.0.21"
|
|
368
|
+
criteria = "safe-to-deploy"
|
data/support_matrix.yml
ADDED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dry-validation-rust
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.
|
|
4
|
+
version: 0.1.0.pre6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexey Tomilov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bigdecimal
|
|
@@ -34,72 +34,84 @@ dependencies:
|
|
|
34
34
|
name: rb_sys
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- - "
|
|
37
|
+
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version:
|
|
39
|
+
version: 0.9.100
|
|
40
|
+
- - "<"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '0.10'
|
|
40
43
|
type: :runtime
|
|
41
44
|
prerelease: false
|
|
42
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
43
46
|
requirements:
|
|
44
|
-
- - "
|
|
47
|
+
- - ">="
|
|
45
48
|
- !ruby/object:Gem::Version
|
|
46
|
-
version:
|
|
49
|
+
version: 0.9.100
|
|
50
|
+
- - "<"
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: '0.10'
|
|
47
53
|
- !ruby/object:Gem::Dependency
|
|
48
|
-
name:
|
|
54
|
+
name: benchmark
|
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
|
50
56
|
requirements:
|
|
51
|
-
- - "
|
|
57
|
+
- - ">="
|
|
52
58
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
59
|
+
version: '0.3'
|
|
60
|
+
- - "<"
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: '1.0'
|
|
54
63
|
type: :development
|
|
55
64
|
prerelease: false
|
|
56
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
66
|
requirements:
|
|
58
|
-
- - "
|
|
67
|
+
- - ">="
|
|
59
68
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '
|
|
69
|
+
version: '0.3'
|
|
70
|
+
- - "<"
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: '1.0'
|
|
61
73
|
- !ruby/object:Gem::Dependency
|
|
62
|
-
name:
|
|
74
|
+
name: benchmark-ips
|
|
63
75
|
requirement: !ruby/object:Gem::Requirement
|
|
64
76
|
requirements:
|
|
65
77
|
- - "~>"
|
|
66
78
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '
|
|
79
|
+
version: '2.14'
|
|
68
80
|
type: :development
|
|
69
81
|
prerelease: false
|
|
70
82
|
version_requirements: !ruby/object:Gem::Requirement
|
|
71
83
|
requirements:
|
|
72
84
|
- - "~>"
|
|
73
85
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '
|
|
86
|
+
version: '2.14'
|
|
75
87
|
- !ruby/object:Gem::Dependency
|
|
76
|
-
name:
|
|
88
|
+
name: memory_profiler
|
|
77
89
|
requirement: !ruby/object:Gem::Requirement
|
|
78
90
|
requirements:
|
|
79
91
|
- - "~>"
|
|
80
92
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '
|
|
93
|
+
version: '1.1'
|
|
82
94
|
type: :development
|
|
83
95
|
prerelease: false
|
|
84
96
|
version_requirements: !ruby/object:Gem::Requirement
|
|
85
97
|
requirements:
|
|
86
98
|
- - "~>"
|
|
87
99
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '
|
|
100
|
+
version: '1.1'
|
|
89
101
|
- !ruby/object:Gem::Dependency
|
|
90
|
-
name:
|
|
102
|
+
name: minitest
|
|
91
103
|
requirement: !ruby/object:Gem::Requirement
|
|
92
104
|
requirements:
|
|
93
105
|
- - "~>"
|
|
94
106
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '0
|
|
107
|
+
version: '6.0'
|
|
96
108
|
type: :development
|
|
97
109
|
prerelease: false
|
|
98
110
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
111
|
requirements:
|
|
100
112
|
- - "~>"
|
|
101
113
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: '0
|
|
114
|
+
version: '6.0'
|
|
103
115
|
- !ruby/object:Gem::Dependency
|
|
104
116
|
name: rake
|
|
105
117
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -166,15 +178,33 @@ extensions:
|
|
|
166
178
|
- ext/dry_validation_rust/extconf.rb
|
|
167
179
|
extra_rdoc_files: []
|
|
168
180
|
files:
|
|
181
|
+
- ".gitignore"
|
|
182
|
+
- ".markdownlint.yml"
|
|
183
|
+
- ".rubocop.yml"
|
|
184
|
+
- ".ruby-version"
|
|
185
|
+
- ".tool-versions"
|
|
186
|
+
- ".yardopts"
|
|
187
|
+
- AGENTS.md
|
|
169
188
|
- CHANGELOG.md
|
|
189
|
+
- CODE_OF_CONDUCT.md
|
|
190
|
+
- CONTRIBUTING.md
|
|
191
|
+
- Cargo.lock
|
|
192
|
+
- Cargo.toml
|
|
193
|
+
- GOVERNANCE.md
|
|
194
|
+
- Gemfile
|
|
195
|
+
- Gemfile.lock
|
|
170
196
|
- LICENSE
|
|
171
197
|
- NOTICE.md
|
|
172
198
|
- README.md
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
199
|
+
- Rakefile
|
|
200
|
+
- SECURITY.md
|
|
201
|
+
- SECURITY_AUDIT.md
|
|
202
|
+
- SUMMARY.md
|
|
203
|
+
- SUPPORT.md
|
|
204
|
+
- book.toml
|
|
205
|
+
- codecov.yml
|
|
206
|
+
- compatibility.yml
|
|
207
|
+
- deny.toml
|
|
178
208
|
- dry-validation-rust.gemspec
|
|
179
209
|
- ext/dry_validation_rust/Cargo.lock
|
|
180
210
|
- ext/dry_validation_rust/Cargo.toml
|
|
@@ -182,7 +212,12 @@ files:
|
|
|
182
212
|
- ext/dry_validation_rust/benches/full_schema.rs
|
|
183
213
|
- ext/dry_validation_rust/benches/plan_compile.rs
|
|
184
214
|
- ext/dry_validation_rust/benches/predicates.rs
|
|
215
|
+
- ext/dry_validation_rust/build.rs
|
|
185
216
|
- ext/dry_validation_rust/extconf.rb
|
|
217
|
+
- ext/dry_validation_rust/fuzz/.gitignore
|
|
218
|
+
- ext/dry_validation_rust/fuzz/Cargo.toml
|
|
219
|
+
- ext/dry_validation_rust/fuzz/corpus/parse_plan/basic_params.json
|
|
220
|
+
- ext/dry_validation_rust/fuzz/fuzz_targets/parse_plan.rs
|
|
186
221
|
- ext/dry_validation_rust/src/coercion.rs
|
|
187
222
|
- ext/dry_validation_rust/src/engine.rs
|
|
188
223
|
- ext/dry_validation_rust/src/error.rs
|
|
@@ -228,6 +263,10 @@ files:
|
|
|
228
263
|
- lib/dry_validation_rust.rb
|
|
229
264
|
- predicates.yml
|
|
230
265
|
- rust-toolchain.toml
|
|
266
|
+
- supply-chain/audits.toml
|
|
267
|
+
- supply-chain/config.toml
|
|
268
|
+
- supply-chain/imports.lock
|
|
269
|
+
- support_matrix.yml
|
|
231
270
|
homepage: https://github.com/alex-tomilov/dry-validation-rust
|
|
232
271
|
licenses:
|
|
233
272
|
- MIT
|