y-rb 0.1.4.alpha.2-x86_64-linux → 0.1.4.beta.1-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5009dea7fb08ee0849cc6350fe42ee390919346424ece2c08f6252392a3f2cc0
4
- data.tar.gz: 53a72231c394931d23fa51147c531028810a3394da70cc08ae05ee97b986967a
3
+ metadata.gz: 3b21bdf4d329a366c8551cfb9e30a2f0183c524c02c85934dc4df28cf346f960
4
+ data.tar.gz: 416802b786716cf7824164c8c38fdce7038fdff2a52a7095fff024d0b96faa64
5
5
  SHA512:
6
- metadata.gz: 657c7dff6fcfb5064c54251664b2eed273f64ae90f92f5ad14a46c8d125e7971ab25e84285c85fbdb72b064e83c6a21f8e5f72c05d3f4495573e1966a7ca0370
7
- data.tar.gz: 6a52d090b8be110244d047759c2e180275331f409c5f661c7cbb292fa0bf6a7835aca98be576446c1e405e65283f1e33087093664abcc97b5772d7d5bbfe6138
6
+ metadata.gz: 66df4152b5f37fc084fcfbbf1399f0ba46b34c2015fedb8775770e1f383e44f6cb2768a46f90680562243efebd0cdbb2b8b0b34eb208284838b6ab1ab8e22920
7
+ data.tar.gz: e15f2efa4be89552883ddc96f494d97edde818d69b62c5bc71f3db5c7968a3a3c4c8907d94f42c3b89ec64dcaf4af730a030bb5e3e0a3cde9b27c85458064990
data/ext/yrb/Cargo.toml CHANGED
@@ -1,16 +1,18 @@
1
1
  [package]
2
2
  name = "yrb"
3
- version = "0.1.3"
3
+ version = "0.1.4"
4
4
  authors = ["Hannes Moser <box@hannesmoser.at>", "Hannes Moser <hmoser@gitlab.com>"]
5
5
  edition = "2021"
6
6
  homepage = "https://github.com/y-crdt/yrb"
7
7
  repository = "https://github.com/y-crdt/yrb"
8
8
 
9
9
  [dependencies]
10
- lib0 = "0.11.2" # must match yrs version
11
- magnus = "0.3.2"
10
+ lib0 = "0.12.0" # must match yrs version
11
+ magnus = { git = "https://github.com/matsadler/magnus" } # waiting for release with full rb-sys backend
12
+ yrs = "0.12.0"
12
13
 
13
- yrs = "0.11.2"
14
+ [dev-dependencies]
15
+ magnus = { git = "https://github.com/matsadler/magnus", features = ["embed"] } # waiting for release with full rb-sys backend
14
16
 
15
17
  [lib]
16
18
  name = "yrb"
data/ext/yrb/extconf.rb CHANGED
@@ -3,4 +3,8 @@
3
3
  require "mkmf"
4
4
  require "rb_sys/mkmf"
5
5
 
6
- create_rust_makefile("yrb")
6
+ create_rust_makefile("yrb") do |r|
7
+ if r.target&.include? "musl"
8
+ r.extra_rustflags = %w[-C target-feature=-crt-static]
9
+ end
10
+ end
@@ -11,6 +11,9 @@ use yrs::Array;
11
11
  #[magnus::wrap(class = "Y::Array")]
12
12
  pub(crate) struct YArray(pub(crate) RefCell<Array>);
13
13
 
14
+ /// SAFETY: This is safe because we only access this data when the GVL is held.
15
+ unsafe impl Send for YArray {}
16
+
14
17
  impl YArray {
15
18
  pub(crate) fn yarray_each(&self, block: Proc) -> () {
16
19
  self.0.borrow_mut().iter().for_each(|val| {
data/ext/yrb/src/ymap.rs CHANGED
@@ -11,6 +11,9 @@ use yrs::Map;
11
11
  #[magnus::wrap(class = "Y::Map")]
12
12
  pub(crate) struct YMap(pub(crate) RefCell<Map>);
13
13
 
14
+ /// SAFETY: This is safe because we only access this data when the GVL is held.
15
+ unsafe impl Send for YMap {}
16
+
14
17
  impl YMap {
15
18
  pub(crate) fn ymap_clear(&self, transaction: &YTransaction) {
16
19
  self.0.borrow_mut().clear(&mut *transaction.0.borrow_mut());
data/ext/yrb/src/ytext.rs CHANGED
@@ -12,6 +12,9 @@ use yrs::Text;
12
12
  #[magnus::wrap(class = "Y::Text")]
13
13
  pub(crate) struct YText(pub(crate) RefCell<Text>);
14
14
 
15
+ /// SAFETY: This is safe because we only access this data when the GVL is held.
16
+ unsafe impl Send for YText {}
17
+
15
18
  impl YText {
16
19
  pub(crate) fn ytext_format(
17
20
  &self,
@@ -12,6 +12,9 @@ use yrs::{Transaction, Update};
12
12
  #[magnus::wrap(class = "Y::Transaction")]
13
13
  pub(crate) struct YTransaction(pub(crate) RefCell<Transaction>);
14
14
 
15
+ /// SAFETY: This is safe because we only access this data when the GVL is held.
16
+ unsafe impl Send for YTransaction {}
17
+
15
18
  impl YTransaction {
16
19
  pub(crate) fn ytransaction_apply_update(
17
20
  &self,
@@ -225,11 +225,13 @@ impl Into<Value> for YValue {
225
225
  mod tests {
226
226
  use crate::yvalue::YValue;
227
227
  use lib0::any::Any;
228
- use magnus::RArray;
229
228
 
230
229
  #[test]
231
230
  fn convert_any_to_yvalue() {
231
+ let _cleanup = unsafe { magnus::embed::init() };
232
232
  let value = Any::Null;
233
233
  let yvalue: YValue = value.into();
234
+
235
+ assert!(yvalue.0.into_inner().is_nil());
234
236
  }
235
237
  }
@@ -10,6 +10,9 @@ use yrs::{Xml, XmlElement};
10
10
  #[magnus::wrap(class = "Y::XMLElement")]
11
11
  pub(crate) struct YXmlElement(pub(crate) RefCell<XmlElement>);
12
12
 
13
+ /// SAFETY: This is safe because we only access this data when the GVL is held.
14
+ unsafe impl Send for YXmlElement {}
15
+
13
16
  impl YXmlElement {
14
17
  pub(crate) fn yxml_element_attributes(&self) -> RHash {
15
18
  RHash::from_iter(self.0.borrow().attributes().into_iter())
@@ -9,6 +9,9 @@ use yrs::{Xml, XmlText};
9
9
  #[magnus::wrap(class = "Y::XMLText")]
10
10
  pub(crate) struct YXmlText(pub(crate) RefCell<XmlText>);
11
11
 
12
+ /// SAFETY: This is safe because we only access this data when the GVL is held.
13
+ unsafe impl Send for YXmlText {}
14
+
12
15
  impl YXmlText {
13
16
  pub(crate) fn yxml_text_attributes(&self) -> RHash {
14
17
  RHash::from_iter(self.0.borrow().attributes().into_iter())
data/lib/2.7/yrb.so CHANGED
Binary file
data/lib/3.0/yrb.so CHANGED
Binary file
data/lib/3.1/yrb.so CHANGED
Binary file
data/lib/y/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Y
4
- VERSION = "0.1.4.alpha.2"
4
+ VERSION = "0.1.4.beta.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: y-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4.alpha.2
4
+ version: 0.1.4.beta.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Hannes Moser
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-15 00:00:00.000000000 Z
11
+ date: 2022-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -38,34 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.9.30
41
- - !ruby/object:Gem::Dependency
42
- name: activesupport
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: 6.1.6.1
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 6.1.6.1
55
- - !ruby/object:Gem::Dependency
56
- name: minitar
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0.9'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0.9'
69
41
  - !ruby/object:Gem::Dependency
70
42
  name: rake-compiler
71
43
  requirement: !ruby/object:Gem::Requirement
@@ -102,7 +74,6 @@ executables: []
102
74
  extensions: []
103
75
  extra_rdoc_files: []
104
76
  files:
105
- - ext/yrb/Cargo.lock
106
77
  - ext/yrb/Cargo.toml
107
78
  - ext/yrb/extconf.rb
108
79
  - ext/yrb/src/lib.rs
data/ext/yrb/Cargo.lock DELETED
@@ -1,623 +0,0 @@
1
- # This file is automatically @generated by Cargo.
2
- # It is not intended for manual editing.
3
- version = 3
4
-
5
- [[package]]
6
- name = "aho-corasick"
7
- version = "0.7.18"
8
- source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
10
- dependencies = [
11
- "memchr",
12
- ]
13
-
14
- [[package]]
15
- name = "ansi_term"
16
- version = "0.12.1"
17
- source = "registry+https://github.com/rust-lang/crates.io-index"
18
- checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
19
- dependencies = [
20
- "winapi",
21
- ]
22
-
23
- [[package]]
24
- name = "atty"
25
- version = "0.2.14"
26
- source = "registry+https://github.com/rust-lang/crates.io-index"
27
- checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
28
- dependencies = [
29
- "hermit-abi",
30
- "libc",
31
- "winapi",
32
- ]
33
-
34
- [[package]]
35
- name = "bindgen"
36
- version = "0.59.2"
37
- source = "registry+https://github.com/rust-lang/crates.io-index"
38
- checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8"
39
- dependencies = [
40
- "bitflags",
41
- "cexpr",
42
- "clang-sys",
43
- "clap",
44
- "env_logger",
45
- "lazy_static",
46
- "lazycell",
47
- "log",
48
- "peeking_take_while",
49
- "proc-macro2",
50
- "quote",
51
- "regex",
52
- "rustc-hash",
53
- "shlex",
54
- "which",
55
- ]
56
-
57
- [[package]]
58
- name = "bitflags"
59
- version = "1.3.2"
60
- source = "registry+https://github.com/rust-lang/crates.io-index"
61
- checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
62
-
63
- [[package]]
64
- name = "bumpalo"
65
- version = "3.10.0"
66
- source = "registry+https://github.com/rust-lang/crates.io-index"
67
- checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3"
68
-
69
- [[package]]
70
- name = "cexpr"
71
- version = "0.6.0"
72
- source = "registry+https://github.com/rust-lang/crates.io-index"
73
- checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
74
- dependencies = [
75
- "nom",
76
- ]
77
-
78
- [[package]]
79
- name = "cfg-if"
80
- version = "1.0.0"
81
- source = "registry+https://github.com/rust-lang/crates.io-index"
82
- checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
83
-
84
- [[package]]
85
- name = "clang-sys"
86
- version = "1.3.3"
87
- source = "registry+https://github.com/rust-lang/crates.io-index"
88
- checksum = "5a050e2153c5be08febd6734e29298e844fdb0fa21aeddd63b4eb7baa106c69b"
89
- dependencies = [
90
- "glob",
91
- "libc",
92
- "libloading",
93
- ]
94
-
95
- [[package]]
96
- name = "clap"
97
- version = "2.34.0"
98
- source = "registry+https://github.com/rust-lang/crates.io-index"
99
- checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
100
- dependencies = [
101
- "ansi_term",
102
- "atty",
103
- "bitflags",
104
- "strsim 0.8.0",
105
- "textwrap",
106
- "unicode-width",
107
- "vec_map",
108
- ]
109
-
110
- [[package]]
111
- name = "darling"
112
- version = "0.13.4"
113
- source = "registry+https://github.com/rust-lang/crates.io-index"
114
- checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
115
- dependencies = [
116
- "darling_core",
117
- "darling_macro",
118
- ]
119
-
120
- [[package]]
121
- name = "darling_core"
122
- version = "0.13.4"
123
- source = "registry+https://github.com/rust-lang/crates.io-index"
124
- checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610"
125
- dependencies = [
126
- "fnv",
127
- "ident_case",
128
- "proc-macro2",
129
- "quote",
130
- "strsim 0.10.0",
131
- "syn",
132
- ]
133
-
134
- [[package]]
135
- name = "darling_macro"
136
- version = "0.13.4"
137
- source = "registry+https://github.com/rust-lang/crates.io-index"
138
- checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
139
- dependencies = [
140
- "darling_core",
141
- "quote",
142
- "syn",
143
- ]
144
-
145
- [[package]]
146
- name = "either"
147
- version = "1.7.0"
148
- source = "registry+https://github.com/rust-lang/crates.io-index"
149
- checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be"
150
-
151
- [[package]]
152
- name = "env_logger"
153
- version = "0.9.0"
154
- source = "registry+https://github.com/rust-lang/crates.io-index"
155
- checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
156
- dependencies = [
157
- "atty",
158
- "humantime",
159
- "log",
160
- "regex",
161
- "termcolor",
162
- ]
163
-
164
- [[package]]
165
- name = "fnv"
166
- version = "1.0.7"
167
- source = "registry+https://github.com/rust-lang/crates.io-index"
168
- checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
169
-
170
- [[package]]
171
- name = "getrandom"
172
- version = "0.1.16"
173
- source = "registry+https://github.com/rust-lang/crates.io-index"
174
- checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
175
- dependencies = [
176
- "cfg-if",
177
- "js-sys",
178
- "libc",
179
- "wasi",
180
- "wasm-bindgen",
181
- ]
182
-
183
- [[package]]
184
- name = "glob"
185
- version = "0.3.0"
186
- source = "registry+https://github.com/rust-lang/crates.io-index"
187
- checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
188
-
189
- [[package]]
190
- name = "hermit-abi"
191
- version = "0.1.19"
192
- source = "registry+https://github.com/rust-lang/crates.io-index"
193
- checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
194
- dependencies = [
195
- "libc",
196
- ]
197
-
198
- [[package]]
199
- name = "humantime"
200
- version = "2.1.0"
201
- source = "registry+https://github.com/rust-lang/crates.io-index"
202
- checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
203
-
204
- [[package]]
205
- name = "ident_case"
206
- version = "1.0.1"
207
- source = "registry+https://github.com/rust-lang/crates.io-index"
208
- checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
209
-
210
- [[package]]
211
- name = "js-sys"
212
- version = "0.3.58"
213
- source = "registry+https://github.com/rust-lang/crates.io-index"
214
- checksum = "c3fac17f7123a73ca62df411b1bf727ccc805daa070338fda671c86dac1bdc27"
215
- dependencies = [
216
- "wasm-bindgen",
217
- ]
218
-
219
- [[package]]
220
- name = "lazy_static"
221
- version = "1.4.0"
222
- source = "registry+https://github.com/rust-lang/crates.io-index"
223
- checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
224
-
225
- [[package]]
226
- name = "lazycell"
227
- version = "1.3.0"
228
- source = "registry+https://github.com/rust-lang/crates.io-index"
229
- checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
230
-
231
- [[package]]
232
- name = "lib0"
233
- version = "0.11.2"
234
- source = "registry+https://github.com/rust-lang/crates.io-index"
235
- checksum = "cb83a90e2a0beb4a6c5ffd6ddc24afab7b1340f5615d6050987f311e850724e2"
236
- dependencies = [
237
- "thiserror",
238
- ]
239
-
240
- [[package]]
241
- name = "libc"
242
- version = "0.2.126"
243
- source = "registry+https://github.com/rust-lang/crates.io-index"
244
- checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
245
-
246
- [[package]]
247
- name = "libloading"
248
- version = "0.7.3"
249
- source = "registry+https://github.com/rust-lang/crates.io-index"
250
- checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd"
251
- dependencies = [
252
- "cfg-if",
253
- "winapi",
254
- ]
255
-
256
- [[package]]
257
- name = "log"
258
- version = "0.4.17"
259
- source = "registry+https://github.com/rust-lang/crates.io-index"
260
- checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
261
- dependencies = [
262
- "cfg-if",
263
- ]
264
-
265
- [[package]]
266
- name = "magnus"
267
- version = "0.3.2"
268
- source = "registry+https://github.com/rust-lang/crates.io-index"
269
- checksum = "983e15338a2e9644f804de8b5e52fb930bcd53b6859de4f4feb85753532b69d3"
270
- dependencies = [
271
- "bindgen",
272
- "magnus-macros",
273
- ]
274
-
275
- [[package]]
276
- name = "magnus-macros"
277
- version = "0.1.0"
278
- source = "registry+https://github.com/rust-lang/crates.io-index"
279
- checksum = "27968fcabe2ef7e35b8331d71a62882282996f6222c133c0255cf7f33b8d9b48"
280
- dependencies = [
281
- "darling",
282
- "proc-macro2",
283
- "quote",
284
- "syn",
285
- ]
286
-
287
- [[package]]
288
- name = "memchr"
289
- version = "2.5.0"
290
- source = "registry+https://github.com/rust-lang/crates.io-index"
291
- checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
292
-
293
- [[package]]
294
- name = "minimal-lexical"
295
- version = "0.2.1"
296
- source = "registry+https://github.com/rust-lang/crates.io-index"
297
- checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
298
-
299
- [[package]]
300
- name = "nom"
301
- version = "7.1.1"
302
- source = "registry+https://github.com/rust-lang/crates.io-index"
303
- checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
304
- dependencies = [
305
- "memchr",
306
- "minimal-lexical",
307
- ]
308
-
309
- [[package]]
310
- name = "peeking_take_while"
311
- version = "0.1.2"
312
- source = "registry+https://github.com/rust-lang/crates.io-index"
313
- checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
314
-
315
- [[package]]
316
- name = "ppv-lite86"
317
- version = "0.2.16"
318
- source = "registry+https://github.com/rust-lang/crates.io-index"
319
- checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
320
-
321
- [[package]]
322
- name = "proc-macro2"
323
- version = "1.0.41"
324
- source = "registry+https://github.com/rust-lang/crates.io-index"
325
- checksum = "cdcc2916cde080c1876ff40292a396541241fe0072ef928cd76582e9ea5d60d2"
326
- dependencies = [
327
- "unicode-ident",
328
- ]
329
-
330
- [[package]]
331
- name = "quote"
332
- version = "1.0.20"
333
- source = "registry+https://github.com/rust-lang/crates.io-index"
334
- checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804"
335
- dependencies = [
336
- "proc-macro2",
337
- ]
338
-
339
- [[package]]
340
- name = "rand"
341
- version = "0.7.3"
342
- source = "registry+https://github.com/rust-lang/crates.io-index"
343
- checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
344
- dependencies = [
345
- "getrandom",
346
- "libc",
347
- "rand_chacha",
348
- "rand_core",
349
- "rand_hc",
350
- ]
351
-
352
- [[package]]
353
- name = "rand_chacha"
354
- version = "0.2.2"
355
- source = "registry+https://github.com/rust-lang/crates.io-index"
356
- checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
357
- dependencies = [
358
- "ppv-lite86",
359
- "rand_core",
360
- ]
361
-
362
- [[package]]
363
- name = "rand_core"
364
- version = "0.5.1"
365
- source = "registry+https://github.com/rust-lang/crates.io-index"
366
- checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
367
- dependencies = [
368
- "getrandom",
369
- ]
370
-
371
- [[package]]
372
- name = "rand_hc"
373
- version = "0.2.0"
374
- source = "registry+https://github.com/rust-lang/crates.io-index"
375
- checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
376
- dependencies = [
377
- "rand_core",
378
- ]
379
-
380
- [[package]]
381
- name = "regex"
382
- version = "1.6.0"
383
- source = "registry+https://github.com/rust-lang/crates.io-index"
384
- checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
385
- dependencies = [
386
- "aho-corasick",
387
- "memchr",
388
- "regex-syntax",
389
- ]
390
-
391
- [[package]]
392
- name = "regex-syntax"
393
- version = "0.6.27"
394
- source = "registry+https://github.com/rust-lang/crates.io-index"
395
- checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
396
-
397
- [[package]]
398
- name = "rustc-hash"
399
- version = "1.1.0"
400
- source = "registry+https://github.com/rust-lang/crates.io-index"
401
- checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
402
-
403
- [[package]]
404
- name = "shlex"
405
- version = "1.1.0"
406
- source = "registry+https://github.com/rust-lang/crates.io-index"
407
- checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
408
-
409
- [[package]]
410
- name = "smallstr"
411
- version = "0.2.0"
412
- source = "registry+https://github.com/rust-lang/crates.io-index"
413
- checksum = "1e922794d168678729ffc7e07182721a14219c65814e66e91b839a272fe5ae4f"
414
- dependencies = [
415
- "smallvec",
416
- ]
417
-
418
- [[package]]
419
- name = "smallvec"
420
- version = "1.9.0"
421
- source = "registry+https://github.com/rust-lang/crates.io-index"
422
- checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1"
423
-
424
- [[package]]
425
- name = "strsim"
426
- version = "0.8.0"
427
- source = "registry+https://github.com/rust-lang/crates.io-index"
428
- checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
429
-
430
- [[package]]
431
- name = "strsim"
432
- version = "0.10.0"
433
- source = "registry+https://github.com/rust-lang/crates.io-index"
434
- checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
435
-
436
- [[package]]
437
- name = "syn"
438
- version = "1.0.98"
439
- source = "registry+https://github.com/rust-lang/crates.io-index"
440
- checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd"
441
- dependencies = [
442
- "proc-macro2",
443
- "quote",
444
- "unicode-ident",
445
- ]
446
-
447
- [[package]]
448
- name = "termcolor"
449
- version = "1.1.3"
450
- source = "registry+https://github.com/rust-lang/crates.io-index"
451
- checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
452
- dependencies = [
453
- "winapi-util",
454
- ]
455
-
456
- [[package]]
457
- name = "textwrap"
458
- version = "0.11.0"
459
- source = "registry+https://github.com/rust-lang/crates.io-index"
460
- checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
461
- dependencies = [
462
- "unicode-width",
463
- ]
464
-
465
- [[package]]
466
- name = "thiserror"
467
- version = "1.0.31"
468
- source = "registry+https://github.com/rust-lang/crates.io-index"
469
- checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a"
470
- dependencies = [
471
- "thiserror-impl",
472
- ]
473
-
474
- [[package]]
475
- name = "thiserror-impl"
476
- version = "1.0.31"
477
- source = "registry+https://github.com/rust-lang/crates.io-index"
478
- checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a"
479
- dependencies = [
480
- "proc-macro2",
481
- "quote",
482
- "syn",
483
- ]
484
-
485
- [[package]]
486
- name = "unicode-ident"
487
- version = "1.0.2"
488
- source = "registry+https://github.com/rust-lang/crates.io-index"
489
- checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7"
490
-
491
- [[package]]
492
- name = "unicode-width"
493
- version = "0.1.9"
494
- source = "registry+https://github.com/rust-lang/crates.io-index"
495
- checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
496
-
497
- [[package]]
498
- name = "vec_map"
499
- version = "0.8.2"
500
- source = "registry+https://github.com/rust-lang/crates.io-index"
501
- checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
502
-
503
- [[package]]
504
- name = "wasi"
505
- version = "0.9.0+wasi-snapshot-preview1"
506
- source = "registry+https://github.com/rust-lang/crates.io-index"
507
- checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
508
-
509
- [[package]]
510
- name = "wasm-bindgen"
511
- version = "0.2.81"
512
- source = "registry+https://github.com/rust-lang/crates.io-index"
513
- checksum = "7c53b543413a17a202f4be280a7e5c62a1c69345f5de525ee64f8cfdbc954994"
514
- dependencies = [
515
- "cfg-if",
516
- "wasm-bindgen-macro",
517
- ]
518
-
519
- [[package]]
520
- name = "wasm-bindgen-backend"
521
- version = "0.2.81"
522
- source = "registry+https://github.com/rust-lang/crates.io-index"
523
- checksum = "5491a68ab4500fa6b4d726bd67408630c3dbe9c4fe7bda16d5c82a1fd8c7340a"
524
- dependencies = [
525
- "bumpalo",
526
- "lazy_static",
527
- "log",
528
- "proc-macro2",
529
- "quote",
530
- "syn",
531
- "wasm-bindgen-shared",
532
- ]
533
-
534
- [[package]]
535
- name = "wasm-bindgen-macro"
536
- version = "0.2.81"
537
- source = "registry+https://github.com/rust-lang/crates.io-index"
538
- checksum = "c441e177922bc58f1e12c022624b6216378e5febc2f0533e41ba443d505b80aa"
539
- dependencies = [
540
- "quote",
541
- "wasm-bindgen-macro-support",
542
- ]
543
-
544
- [[package]]
545
- name = "wasm-bindgen-macro-support"
546
- version = "0.2.81"
547
- source = "registry+https://github.com/rust-lang/crates.io-index"
548
- checksum = "7d94ac45fcf608c1f45ef53e748d35660f168490c10b23704c7779ab8f5c3048"
549
- dependencies = [
550
- "proc-macro2",
551
- "quote",
552
- "syn",
553
- "wasm-bindgen-backend",
554
- "wasm-bindgen-shared",
555
- ]
556
-
557
- [[package]]
558
- name = "wasm-bindgen-shared"
559
- version = "0.2.81"
560
- source = "registry+https://github.com/rust-lang/crates.io-index"
561
- checksum = "6a89911bd99e5f3659ec4acf9c4d93b0a90fe4a2a11f15328472058edc5261be"
562
-
563
- [[package]]
564
- name = "which"
565
- version = "4.2.5"
566
- source = "registry+https://github.com/rust-lang/crates.io-index"
567
- checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae"
568
- dependencies = [
569
- "either",
570
- "lazy_static",
571
- "libc",
572
- ]
573
-
574
- [[package]]
575
- name = "winapi"
576
- version = "0.3.9"
577
- source = "registry+https://github.com/rust-lang/crates.io-index"
578
- checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
579
- dependencies = [
580
- "winapi-i686-pc-windows-gnu",
581
- "winapi-x86_64-pc-windows-gnu",
582
- ]
583
-
584
- [[package]]
585
- name = "winapi-i686-pc-windows-gnu"
586
- version = "0.4.0"
587
- source = "registry+https://github.com/rust-lang/crates.io-index"
588
- checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
589
-
590
- [[package]]
591
- name = "winapi-util"
592
- version = "0.1.5"
593
- source = "registry+https://github.com/rust-lang/crates.io-index"
594
- checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
595
- dependencies = [
596
- "winapi",
597
- ]
598
-
599
- [[package]]
600
- name = "winapi-x86_64-pc-windows-gnu"
601
- version = "0.4.0"
602
- source = "registry+https://github.com/rust-lang/crates.io-index"
603
- checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
604
-
605
- [[package]]
606
- name = "yrb"
607
- version = "0.1.3"
608
- dependencies = [
609
- "lib0",
610
- "magnus",
611
- "yrs",
612
- ]
613
-
614
- [[package]]
615
- name = "yrs"
616
- version = "0.11.2"
617
- source = "registry+https://github.com/rust-lang/crates.io-index"
618
- checksum = "fd45a7bd25be78f285276a9054183e5b77cfcce79ecca1beebd0c8816bef32e1"
619
- dependencies = [
620
- "lib0",
621
- "rand",
622
- "smallstr",
623
- ]