rbs 4.0.0.dev.5 → 4.0.1.dev.1

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.
Files changed (194) hide show
  1. checksums.yaml +4 -4
  2. data/.clang-format +1 -0
  3. data/.github/workflows/c-check.yml +8 -4
  4. data/.github/workflows/comments.yml +3 -1
  5. data/.github/workflows/dependabot.yml +1 -1
  6. data/.github/workflows/ruby.yml +10 -0
  7. data/.github/workflows/rust.yml +95 -0
  8. data/CHANGELOG.md +323 -0
  9. data/Rakefile +12 -29
  10. data/Steepfile +1 -0
  11. data/config.yml +393 -37
  12. data/core/array.rbs +218 -188
  13. data/core/basic_object.rbs +9 -8
  14. data/core/class.rbs +6 -5
  15. data/core/comparable.rbs +45 -31
  16. data/core/complex.rbs +52 -40
  17. data/core/dir.rbs +57 -45
  18. data/core/encoding.rbs +5 -5
  19. data/core/enumerable.rbs +96 -91
  20. data/core/enumerator.rbs +4 -3
  21. data/core/errno.rbs +3 -2
  22. data/core/errors.rbs +31 -29
  23. data/core/exception.rbs +12 -12
  24. data/core/fiber.rbs +36 -36
  25. data/core/file.rbs +186 -113
  26. data/core/file_test.rbs +2 -2
  27. data/core/float.rbs +41 -32
  28. data/core/gc.rbs +78 -70
  29. data/core/hash.rbs +70 -60
  30. data/core/integer.rbs +32 -28
  31. data/core/io/buffer.rbs +36 -36
  32. data/core/io/wait.rbs +7 -7
  33. data/core/io.rbs +120 -135
  34. data/core/kernel.rbs +189 -139
  35. data/core/marshal.rbs +3 -3
  36. data/core/match_data.rbs +14 -12
  37. data/core/math.rbs +69 -67
  38. data/core/method.rbs +6 -6
  39. data/core/module.rbs +146 -85
  40. data/core/nil_class.rbs +4 -3
  41. data/core/numeric.rbs +35 -32
  42. data/core/object.rbs +6 -8
  43. data/core/object_space.rbs +11 -10
  44. data/core/pathname.rbs +131 -81
  45. data/core/proc.rbs +65 -33
  46. data/core/process.rbs +219 -201
  47. data/core/ractor.rbs +15 -11
  48. data/core/random.rbs +4 -3
  49. data/core/range.rbs +52 -47
  50. data/core/rational.rbs +5 -5
  51. data/core/rbs/unnamed/argf.rbs +58 -51
  52. data/core/rbs/unnamed/env_class.rbs +18 -13
  53. data/core/rbs/unnamed/main_class.rbs +123 -0
  54. data/core/rbs/unnamed/random.rbs +7 -5
  55. data/core/regexp.rbs +236 -197
  56. data/core/ruby.rbs +1 -1
  57. data/core/ruby_vm.rbs +32 -30
  58. data/core/rubygems/config_file.rbs +5 -5
  59. data/core/rubygems/errors.rbs +1 -1
  60. data/core/rubygems/requirement.rbs +5 -5
  61. data/core/rubygems/rubygems.rbs +5 -3
  62. data/core/set.rbs +17 -16
  63. data/core/signal.rbs +2 -2
  64. data/core/string.rbs +311 -292
  65. data/core/struct.rbs +26 -25
  66. data/core/symbol.rbs +25 -24
  67. data/core/thread.rbs +40 -34
  68. data/core/time.rbs +47 -42
  69. data/core/trace_point.rbs +34 -31
  70. data/core/true_class.rbs +2 -2
  71. data/core/unbound_method.rbs +10 -10
  72. data/core/warning.rbs +7 -7
  73. data/docs/collection.md +1 -1
  74. data/docs/config.md +171 -0
  75. data/docs/inline.md +110 -4
  76. data/docs/syntax.md +13 -12
  77. data/ext/rbs_extension/ast_translation.c +489 -135
  78. data/ext/rbs_extension/class_constants.c +8 -0
  79. data/ext/rbs_extension/class_constants.h +4 -0
  80. data/ext/rbs_extension/legacy_location.c +28 -51
  81. data/ext/rbs_extension/legacy_location.h +37 -0
  82. data/ext/rbs_extension/main.c +12 -20
  83. data/include/rbs/ast.h +423 -195
  84. data/include/rbs/lexer.h +2 -2
  85. data/include/rbs/location.h +25 -44
  86. data/include/rbs/parser.h +2 -2
  87. data/include/rbs/util/rbs_constant_pool.h +0 -3
  88. data/include/rbs.h +8 -0
  89. data/lib/rbs/ast/ruby/annotations.rb +157 -4
  90. data/lib/rbs/ast/ruby/members.rb +374 -22
  91. data/lib/rbs/cli/validate.rb +5 -60
  92. data/lib/rbs/collection/config/lockfile_generator.rb +6 -2
  93. data/lib/rbs/definition_builder.rb +60 -27
  94. data/lib/rbs/errors.rb +0 -11
  95. data/lib/rbs/inline_parser.rb +1 -1
  96. data/lib/rbs/parser_aux.rb +20 -7
  97. data/lib/rbs/prototype/helpers.rb +57 -0
  98. data/lib/rbs/prototype/rb.rb +1 -26
  99. data/lib/rbs/prototype/rbi.rb +1 -20
  100. data/lib/rbs/test/type_check.rb +3 -0
  101. data/lib/rbs/types.rb +62 -52
  102. data/lib/rbs/unit_test/type_assertions.rb +35 -8
  103. data/lib/rbs/version.rb +1 -1
  104. data/lib/rbs.rb +0 -1
  105. data/rbs.gemspec +1 -1
  106. data/rust/.gitignore +1 -0
  107. data/rust/Cargo.lock +378 -0
  108. data/rust/Cargo.toml +7 -0
  109. data/rust/ruby-rbs/Cargo.toml +22 -0
  110. data/rust/ruby-rbs/build.rs +764 -0
  111. data/rust/ruby-rbs/examples/locations.rs +60 -0
  112. data/rust/ruby-rbs/src/lib.rs +1 -0
  113. data/rust/ruby-rbs/src/node/mod.rs +742 -0
  114. data/rust/ruby-rbs/tests/sanity.rs +47 -0
  115. data/rust/ruby-rbs/vendor/rbs/config.yml +1 -0
  116. data/rust/ruby-rbs-sys/Cargo.toml +23 -0
  117. data/rust/ruby-rbs-sys/build.rs +204 -0
  118. data/rust/ruby-rbs-sys/src/lib.rs +50 -0
  119. data/rust/ruby-rbs-sys/vendor/rbs/include +1 -0
  120. data/rust/ruby-rbs-sys/vendor/rbs/src +1 -0
  121. data/rust/ruby-rbs-sys/wrapper.h +1 -0
  122. data/sig/ast/ruby/annotations.rbs +191 -4
  123. data/sig/ast/ruby/members.rbs +21 -1
  124. data/sig/cli/validate.rbs +1 -6
  125. data/sig/definition_builder.rbs +2 -0
  126. data/sig/errors.rbs +0 -8
  127. data/sig/method_types.rbs +1 -1
  128. data/sig/parser.rbs +17 -13
  129. data/sig/prototype/helpers.rbs +2 -0
  130. data/sig/types.rbs +10 -11
  131. data/sig/unit_test/spy.rbs +0 -8
  132. data/sig/unit_test/type_assertions.rbs +11 -0
  133. data/src/ast.c +339 -161
  134. data/src/lexstate.c +1 -1
  135. data/src/location.c +7 -47
  136. data/src/parser.c +674 -480
  137. data/src/util/rbs_constant_pool.c +0 -4
  138. data/stdlib/bigdecimal/0/big_decimal.rbs +16 -16
  139. data/stdlib/cgi-escape/0/escape.rbs +4 -4
  140. data/stdlib/coverage/0/coverage.rbs +4 -3
  141. data/stdlib/date/0/date.rbs +33 -28
  142. data/stdlib/date/0/date_time.rbs +24 -23
  143. data/stdlib/did_you_mean/0/did_you_mean.rbs +17 -16
  144. data/stdlib/erb/0/erb.rbs +64 -53
  145. data/stdlib/etc/0/etc.rbs +55 -50
  146. data/stdlib/fileutils/0/fileutils.rbs +138 -125
  147. data/stdlib/forwardable/0/forwardable.rbs +10 -10
  148. data/stdlib/io-console/0/io-console.rbs +2 -2
  149. data/stdlib/json/0/json.rbs +135 -108
  150. data/stdlib/monitor/0/monitor.rbs +3 -3
  151. data/stdlib/net-http/0/net-http.rbs +159 -134
  152. data/stdlib/objspace/0/objspace.rbs +8 -7
  153. data/stdlib/open-uri/0/open-uri.rbs +8 -8
  154. data/stdlib/open3/0/open3.rbs +36 -35
  155. data/stdlib/openssl/0/openssl.rbs +144 -129
  156. data/stdlib/optparse/0/optparse.rbs +18 -14
  157. data/stdlib/pathname/0/pathname.rbs +2 -2
  158. data/stdlib/pp/0/pp.rbs +9 -8
  159. data/stdlib/prettyprint/0/prettyprint.rbs +7 -7
  160. data/stdlib/pstore/0/pstore.rbs +35 -30
  161. data/stdlib/psych/0/psych.rbs +61 -8
  162. data/stdlib/psych/0/store.rbs +2 -4
  163. data/stdlib/pty/0/pty.rbs +9 -6
  164. data/stdlib/random-formatter/0/random-formatter.rbs +2 -2
  165. data/stdlib/ripper/0/ripper.rbs +20 -17
  166. data/stdlib/securerandom/0/securerandom.rbs +1 -1
  167. data/stdlib/shellwords/0/shellwords.rbs +2 -2
  168. data/stdlib/socket/0/addrinfo.rbs +7 -7
  169. data/stdlib/socket/0/basic_socket.rbs +3 -3
  170. data/stdlib/socket/0/ip_socket.rbs +10 -8
  171. data/stdlib/socket/0/socket.rbs +10 -9
  172. data/stdlib/socket/0/tcp_server.rbs +1 -1
  173. data/stdlib/socket/0/tcp_socket.rbs +1 -1
  174. data/stdlib/socket/0/udp_socket.rbs +1 -1
  175. data/stdlib/socket/0/unix_server.rbs +1 -1
  176. data/stdlib/stringio/0/stringio.rbs +55 -54
  177. data/stdlib/strscan/0/string_scanner.rbs +46 -44
  178. data/stdlib/tempfile/0/tempfile.rbs +24 -20
  179. data/stdlib/time/0/time.rbs +7 -5
  180. data/stdlib/tsort/0/tsort.rbs +7 -6
  181. data/stdlib/uri/0/common.rbs +26 -18
  182. data/stdlib/uri/0/file.rbs +2 -2
  183. data/stdlib/uri/0/generic.rbs +2 -2
  184. data/stdlib/uri/0/http.rbs +2 -2
  185. data/stdlib/uri/0/ldap.rbs +2 -2
  186. data/stdlib/uri/0/mailto.rbs +3 -3
  187. data/stdlib/uri/0/rfc2396_parser.rbs +6 -5
  188. data/stdlib/zlib/0/deflate.rbs +4 -3
  189. data/stdlib/zlib/0/gzip_reader.rbs +4 -4
  190. data/stdlib/zlib/0/gzip_writer.rbs +14 -12
  191. data/stdlib/zlib/0/inflate.rbs +1 -1
  192. data/stdlib/zlib/0/need_dict.rbs +1 -1
  193. metadata +23 -5
  194. data/.github/workflows/valgrind.yml +0 -42
data/rust/Cargo.lock ADDED
@@ -0,0 +1,378 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.3"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "bindgen"
16
+ version = "0.72.0"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "4f72209734318d0b619a5e0f5129918b848c416e122a3c4ce054e03cb87b726f"
19
+ dependencies = [
20
+ "bitflags",
21
+ "cexpr",
22
+ "clang-sys",
23
+ "itertools",
24
+ "log",
25
+ "prettyplease",
26
+ "proc-macro2",
27
+ "quote",
28
+ "regex",
29
+ "rustc-hash",
30
+ "shlex",
31
+ "syn",
32
+ ]
33
+
34
+ [[package]]
35
+ name = "bitflags"
36
+ version = "2.9.1"
37
+ source = "registry+https://github.com/rust-lang/crates.io-index"
38
+ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
39
+
40
+ [[package]]
41
+ name = "cc"
42
+ version = "1.2.29"
43
+ source = "registry+https://github.com/rust-lang/crates.io-index"
44
+ checksum = "5c1599538de2394445747c8cf7935946e3cc27e9625f889d979bfb2aaf569362"
45
+ dependencies = [
46
+ "shlex",
47
+ ]
48
+
49
+ [[package]]
50
+ name = "cexpr"
51
+ version = "0.6.0"
52
+ source = "registry+https://github.com/rust-lang/crates.io-index"
53
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
54
+ dependencies = [
55
+ "nom",
56
+ ]
57
+
58
+ [[package]]
59
+ name = "cfg-if"
60
+ version = "1.0.1"
61
+ source = "registry+https://github.com/rust-lang/crates.io-index"
62
+ checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
63
+
64
+ [[package]]
65
+ name = "clang-sys"
66
+ version = "1.8.1"
67
+ source = "registry+https://github.com/rust-lang/crates.io-index"
68
+ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
69
+ dependencies = [
70
+ "glob",
71
+ "libc",
72
+ "libloading",
73
+ ]
74
+
75
+ [[package]]
76
+ name = "either"
77
+ version = "1.15.0"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
80
+
81
+ [[package]]
82
+ name = "equivalent"
83
+ version = "1.0.2"
84
+ source = "registry+https://github.com/rust-lang/crates.io-index"
85
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
86
+
87
+ [[package]]
88
+ name = "glob"
89
+ version = "0.3.2"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
92
+
93
+ [[package]]
94
+ name = "hashbrown"
95
+ version = "0.15.5"
96
+ source = "registry+https://github.com/rust-lang/crates.io-index"
97
+ checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
98
+
99
+ [[package]]
100
+ name = "indexmap"
101
+ version = "2.10.0"
102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
103
+ checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661"
104
+ dependencies = [
105
+ "equivalent",
106
+ "hashbrown",
107
+ ]
108
+
109
+ [[package]]
110
+ name = "itertools"
111
+ version = "0.13.0"
112
+ source = "registry+https://github.com/rust-lang/crates.io-index"
113
+ checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
114
+ dependencies = [
115
+ "either",
116
+ ]
117
+
118
+ [[package]]
119
+ name = "itoa"
120
+ version = "1.0.15"
121
+ source = "registry+https://github.com/rust-lang/crates.io-index"
122
+ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
123
+
124
+ [[package]]
125
+ name = "libc"
126
+ version = "0.2.174"
127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
128
+ checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
129
+
130
+ [[package]]
131
+ name = "libloading"
132
+ version = "0.8.8"
133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
134
+ checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
135
+ dependencies = [
136
+ "cfg-if",
137
+ "windows-targets",
138
+ ]
139
+
140
+ [[package]]
141
+ name = "log"
142
+ version = "0.4.27"
143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
144
+ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
145
+
146
+ [[package]]
147
+ name = "memchr"
148
+ version = "2.7.5"
149
+ source = "registry+https://github.com/rust-lang/crates.io-index"
150
+ checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
151
+
152
+ [[package]]
153
+ name = "minimal-lexical"
154
+ version = "0.2.1"
155
+ source = "registry+https://github.com/rust-lang/crates.io-index"
156
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
157
+
158
+ [[package]]
159
+ name = "nom"
160
+ version = "7.1.3"
161
+ source = "registry+https://github.com/rust-lang/crates.io-index"
162
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
163
+ dependencies = [
164
+ "memchr",
165
+ "minimal-lexical",
166
+ ]
167
+
168
+ [[package]]
169
+ name = "prettyplease"
170
+ version = "0.2.35"
171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
172
+ checksum = "061c1221631e079b26479d25bbf2275bfe5917ae8419cd7e34f13bfc2aa7539a"
173
+ dependencies = [
174
+ "proc-macro2",
175
+ "syn",
176
+ ]
177
+
178
+ [[package]]
179
+ name = "proc-macro2"
180
+ version = "1.0.95"
181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
182
+ checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
183
+ dependencies = [
184
+ "unicode-ident",
185
+ ]
186
+
187
+ [[package]]
188
+ name = "quote"
189
+ version = "1.0.40"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
192
+ dependencies = [
193
+ "proc-macro2",
194
+ ]
195
+
196
+ [[package]]
197
+ name = "regex"
198
+ version = "1.11.1"
199
+ source = "registry+https://github.com/rust-lang/crates.io-index"
200
+ checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
201
+ dependencies = [
202
+ "aho-corasick",
203
+ "memchr",
204
+ "regex-automata",
205
+ "regex-syntax",
206
+ ]
207
+
208
+ [[package]]
209
+ name = "regex-automata"
210
+ version = "0.4.9"
211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
212
+ checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
213
+ dependencies = [
214
+ "aho-corasick",
215
+ "memchr",
216
+ "regex-syntax",
217
+ ]
218
+
219
+ [[package]]
220
+ name = "regex-syntax"
221
+ version = "0.8.5"
222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
223
+ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
224
+
225
+ [[package]]
226
+ name = "ruby-rbs"
227
+ version = "0.2.0"
228
+ dependencies = [
229
+ "ruby-rbs-sys",
230
+ "serde",
231
+ "serde_yaml",
232
+ ]
233
+
234
+ [[package]]
235
+ name = "ruby-rbs-sys"
236
+ version = "0.2.0"
237
+ dependencies = [
238
+ "bindgen",
239
+ "cc",
240
+ ]
241
+
242
+ [[package]]
243
+ name = "rustc-hash"
244
+ version = "2.1.1"
245
+ source = "registry+https://github.com/rust-lang/crates.io-index"
246
+ checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
247
+
248
+ [[package]]
249
+ name = "ryu"
250
+ version = "1.0.20"
251
+ source = "registry+https://github.com/rust-lang/crates.io-index"
252
+ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
253
+
254
+ [[package]]
255
+ name = "serde"
256
+ version = "1.0.219"
257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
258
+ checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
259
+ dependencies = [
260
+ "serde_derive",
261
+ ]
262
+
263
+ [[package]]
264
+ name = "serde_derive"
265
+ version = "1.0.219"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
268
+ dependencies = [
269
+ "proc-macro2",
270
+ "quote",
271
+ "syn",
272
+ ]
273
+
274
+ [[package]]
275
+ name = "serde_yaml"
276
+ version = "0.9.34+deprecated"
277
+ source = "registry+https://github.com/rust-lang/crates.io-index"
278
+ checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47"
279
+ dependencies = [
280
+ "indexmap",
281
+ "itoa",
282
+ "ryu",
283
+ "serde",
284
+ "unsafe-libyaml",
285
+ ]
286
+
287
+ [[package]]
288
+ name = "shlex"
289
+ version = "1.3.0"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
292
+
293
+ [[package]]
294
+ name = "syn"
295
+ version = "2.0.104"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
298
+ dependencies = [
299
+ "proc-macro2",
300
+ "quote",
301
+ "unicode-ident",
302
+ ]
303
+
304
+ [[package]]
305
+ name = "unicode-ident"
306
+ version = "1.0.18"
307
+ source = "registry+https://github.com/rust-lang/crates.io-index"
308
+ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
309
+
310
+ [[package]]
311
+ name = "unsafe-libyaml"
312
+ version = "0.2.11"
313
+ source = "registry+https://github.com/rust-lang/crates.io-index"
314
+ checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
315
+
316
+ [[package]]
317
+ name = "windows-targets"
318
+ version = "0.53.2"
319
+ source = "registry+https://github.com/rust-lang/crates.io-index"
320
+ checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef"
321
+ dependencies = [
322
+ "windows_aarch64_gnullvm",
323
+ "windows_aarch64_msvc",
324
+ "windows_i686_gnu",
325
+ "windows_i686_gnullvm",
326
+ "windows_i686_msvc",
327
+ "windows_x86_64_gnu",
328
+ "windows_x86_64_gnullvm",
329
+ "windows_x86_64_msvc",
330
+ ]
331
+
332
+ [[package]]
333
+ name = "windows_aarch64_gnullvm"
334
+ version = "0.53.0"
335
+ source = "registry+https://github.com/rust-lang/crates.io-index"
336
+ checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
337
+
338
+ [[package]]
339
+ name = "windows_aarch64_msvc"
340
+ version = "0.53.0"
341
+ source = "registry+https://github.com/rust-lang/crates.io-index"
342
+ checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
343
+
344
+ [[package]]
345
+ name = "windows_i686_gnu"
346
+ version = "0.53.0"
347
+ source = "registry+https://github.com/rust-lang/crates.io-index"
348
+ checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
349
+
350
+ [[package]]
351
+ name = "windows_i686_gnullvm"
352
+ version = "0.53.0"
353
+ source = "registry+https://github.com/rust-lang/crates.io-index"
354
+ checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
355
+
356
+ [[package]]
357
+ name = "windows_i686_msvc"
358
+ version = "0.53.0"
359
+ source = "registry+https://github.com/rust-lang/crates.io-index"
360
+ checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
361
+
362
+ [[package]]
363
+ name = "windows_x86_64_gnu"
364
+ version = "0.53.0"
365
+ source = "registry+https://github.com/rust-lang/crates.io-index"
366
+ checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
367
+
368
+ [[package]]
369
+ name = "windows_x86_64_gnullvm"
370
+ version = "0.53.0"
371
+ source = "registry+https://github.com/rust-lang/crates.io-index"
372
+ checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
373
+
374
+ [[package]]
375
+ name = "windows_x86_64_msvc"
376
+ version = "0.53.0"
377
+ source = "registry+https://github.com/rust-lang/crates.io-index"
378
+ checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
data/rust/Cargo.toml ADDED
@@ -0,0 +1,7 @@
1
+ [workspace]
2
+ members = [
3
+ "ruby-rbs",
4
+ "ruby-rbs-sys",
5
+ ]
6
+
7
+ resolver = "3"
@@ -0,0 +1,22 @@
1
+ [package]
2
+ name = "ruby-rbs"
3
+ version = "0.2.0"
4
+ edition = "2024"
5
+ license = "BSD-2-Clause"
6
+ description = "Rust bindings for RBS -- the type signature language for Ruby programs"
7
+ homepage = "https://github.com/ruby/rbs"
8
+ repository = "https://github.com/ruby/rbs.git"
9
+ readme = "../../README.md"
10
+ include = [
11
+ "src/**/*",
12
+ "vendor/**/*",
13
+ "build.rs",
14
+ "Cargo.toml",
15
+ ]
16
+
17
+ [dependencies]
18
+ ruby-rbs-sys = { version = "0.2", path = "../ruby-rbs-sys" }
19
+
20
+ [build-dependencies]
21
+ serde = { version = "1.0", features = ["derive"] }
22
+ serde_yaml = "0.9"