xre 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +8 -8
  3. data/README.md +35 -0
  4. data/ext/xre/extconf.rb +1 -1
  5. data/lib/xre/version.rb +5 -0
  6. data/lib/xre.rb +4 -22
  7. data/tmp/arm64-darwin21/stage/Cargo.lock +8 -8
  8. data/tmp/arm64-darwin21/stage/{tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre → ext/xre2}/Cargo.toml +1 -1
  9. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock +8 -8
  10. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/{tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre → ext/xre2}/Cargo.toml +1 -1
  11. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock +8 -8
  12. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/{tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre → ext/xre2}/Cargo.toml +1 -1
  13. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock +8 -8
  14. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml +15 -0
  15. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock +8 -8
  16. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml +15 -0
  17. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock +8 -8
  18. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml +15 -0
  19. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock +348 -0
  20. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml +10 -0
  21. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml +15 -0
  22. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock +348 -0
  23. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml +10 -0
  24. data/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml +15 -0
  25. metadata +15 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d00e757ffabc1185f4e02490d96347d8deac1bdfb531bde20dc1cecbbf234bd
4
- data.tar.gz: 820dba674457eaa7593af899f1892c56225bcc20aa84fbea367bce83da8019fd
3
+ metadata.gz: 52c24aff6b0f5f6c0c1f99bad56d0f742fedaa24c46506e6fce83742befc9767
4
+ data.tar.gz: 9a10a151d49dcadcb1c50bc8dae93120148261fd4ed553fc11ec5de6385636b6
5
5
  SHA512:
6
- metadata.gz: f8b73fa6fc7fe89d027d158948f5fcade6c515a5ef852fe921dc1223d3b05398523882a33a20d72953174df418edc1f6679c75984fee1a792478e00ae735c1ae
7
- data.tar.gz: b8537dd601bcb096ef744a7bd9a52bbf346eb26cd966b9f9c272a1eac40eb3e029f9f54eb8a4fa654c27341ef2af22f15b1aaa22fa32c4f7806081ed3e546945
6
+ metadata.gz: d57150011a1c7eef8ce1e9753e9bf79ec2e4a7290b33cd1040d7951bb7277497616066cfc0c029b3f8ee187f52e3ef07ebe7678ca19e8327788381cdc2b052dd
7
+ data.tar.gz: 751c709531b7ce6f0cfb1ab467bf0f01f908e3cbc3f1673ad1da93fe97d2f674be053448742a3f8a9d73c3896f2a3877c2ffa524e12a2cfc431f76ca5b0d0376
data/Cargo.lock CHANGED
@@ -168,27 +168,27 @@ dependencies = [
168
168
 
169
169
  [[package]]
170
170
  name = "quote"
171
- version = "1.0.36"
171
+ version = "1.0.35"
172
172
  source = "registry+https://github.com/rust-lang/crates.io-index"
173
- checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
174
  dependencies = [
175
175
  "proc-macro2",
176
176
  ]
177
177
 
178
178
  [[package]]
179
179
  name = "rb-sys"
180
- version = "0.9.91"
180
+ version = "0.9.90"
181
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
182
- checksum = "eb81203e271055178603e243fee397f5f4aac125bcd20036279683fb1445a899"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
183
  dependencies = [
184
184
  "rb-sys-build",
185
185
  ]
186
186
 
187
187
  [[package]]
188
188
  name = "rb-sys-build"
189
- version = "0.9.91"
189
+ version = "0.9.90"
190
190
  source = "registry+https://github.com/rust-lang/crates.io-index"
191
- checksum = "9de9403a6aac834e7c9534575cb14188b6b5b99bafe475d18d838d44fbc27d31"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
192
  dependencies = [
193
193
  "bindgen",
194
194
  "lazy_static",
@@ -260,9 +260,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
260
 
261
261
  [[package]]
262
262
  name = "syn"
263
- version = "2.0.58"
263
+ version = "2.0.57"
264
264
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
266
  dependencies = [
267
267
  "proc-macro2",
268
268
  "quote",
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # xre
2
+
3
+ some rust regexes for ruby
4
+
5
+ ## Installation
6
+
7
+ Install the gem and add to the application's Gemfile by executing:
8
+
9
+ $ bundle add xre
10
+
11
+ If bundler is not being used to manage dependencies, install the gem by executing:
12
+
13
+ $ gem install xre
14
+
15
+ ## Usage
16
+
17
+ todo
18
+
19
+ ## Development
20
+
21
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
22
+
23
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
24
+
25
+ ## Contributing
26
+
27
+ Bug reports and pull requests are welcome on GitHub at https://github.com/vagab/xre. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/vagab/xre/blob/main/CODE_OF_CONDUCT.md).
28
+
29
+ ## License
30
+
31
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
32
+
33
+ ## Code of Conduct
34
+
35
+ Everyone interacting in the xre project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/vagab/xre/blob/main/CODE_OF_CONDUCT.md).
data/ext/xre/extconf.rb CHANGED
@@ -3,4 +3,4 @@
3
3
  require "mkmf"
4
4
  require "rb_sys/mkmf"
5
5
 
6
- create_rust_makefile("xre")
6
+ create_rust_makefile("xre/xre")
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Xre
4
+ VERSION = "0.4.2"
5
+ end
data/lib/xre.rb CHANGED
@@ -1,27 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # require_relative "xre/xre"
4
- begin
5
- RUBY_VERSION =~ /(\d+\.\d+)/
6
- require "xre/#{Regexp.last_match(1)}/xre"
7
- rescue LoadError
8
- require "xre/xre"
9
- end
3
+ require_relative "xre/version"
4
+ require_relative "xre/xre"
10
5
 
11
6
  module Xre
12
- class RegexList
13
- def captures(text, context_radius: nil)
14
- if context_radius
15
- __captures_with_context(text, context_radius)
16
- else
17
- __captures_without_context(text)
18
- end
19
- end
20
-
21
- def inspect
22
- "#<Xre::RegexList targets=#{__targets}"
23
- end
24
-
25
- private :__captures_with_context, :__captures_without_context, :__targets
26
- end
7
+ class Error < StandardError; end
8
+ # Your code goes here...
27
9
  end
@@ -168,27 +168,27 @@ dependencies = [
168
168
 
169
169
  [[package]]
170
170
  name = "quote"
171
- version = "1.0.36"
171
+ version = "1.0.35"
172
172
  source = "registry+https://github.com/rust-lang/crates.io-index"
173
- checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
174
  dependencies = [
175
175
  "proc-macro2",
176
176
  ]
177
177
 
178
178
  [[package]]
179
179
  name = "rb-sys"
180
- version = "0.9.91"
180
+ version = "0.9.90"
181
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
182
- checksum = "eb81203e271055178603e243fee397f5f4aac125bcd20036279683fb1445a899"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
183
  dependencies = [
184
184
  "rb-sys-build",
185
185
  ]
186
186
 
187
187
  [[package]]
188
188
  name = "rb-sys-build"
189
- version = "0.9.91"
189
+ version = "0.9.90"
190
190
  source = "registry+https://github.com/rust-lang/crates.io-index"
191
- checksum = "9de9403a6aac834e7c9534575cb14188b6b5b99bafe475d18d838d44fbc27d31"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
192
  dependencies = [
193
193
  "bindgen",
194
194
  "lazy_static",
@@ -260,9 +260,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
260
 
261
261
  [[package]]
262
262
  name = "syn"
263
- version = "2.0.58"
263
+ version = "2.0.57"
264
264
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
266
  dependencies = [
267
267
  "proc-macro2",
268
268
  "quote",
@@ -1,5 +1,5 @@
1
1
  [package]
2
- name = "xre"
2
+ name = "xre2"
3
3
  version = "0.1.0"
4
4
  edition = "2021"
5
5
  authors = ["barseek <sergey.b@hey.com>"]
@@ -168,27 +168,27 @@ dependencies = [
168
168
 
169
169
  [[package]]
170
170
  name = "quote"
171
- version = "1.0.36"
171
+ version = "1.0.35"
172
172
  source = "registry+https://github.com/rust-lang/crates.io-index"
173
- checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
174
  dependencies = [
175
175
  "proc-macro2",
176
176
  ]
177
177
 
178
178
  [[package]]
179
179
  name = "rb-sys"
180
- version = "0.9.91"
180
+ version = "0.9.90"
181
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
182
- checksum = "eb81203e271055178603e243fee397f5f4aac125bcd20036279683fb1445a899"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
183
  dependencies = [
184
184
  "rb-sys-build",
185
185
  ]
186
186
 
187
187
  [[package]]
188
188
  name = "rb-sys-build"
189
- version = "0.9.91"
189
+ version = "0.9.90"
190
190
  source = "registry+https://github.com/rust-lang/crates.io-index"
191
- checksum = "9de9403a6aac834e7c9534575cb14188b6b5b99bafe475d18d838d44fbc27d31"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
192
  dependencies = [
193
193
  "bindgen",
194
194
  "lazy_static",
@@ -260,9 +260,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
260
 
261
261
  [[package]]
262
262
  name = "syn"
263
- version = "2.0.58"
263
+ version = "2.0.57"
264
264
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
266
  dependencies = [
267
267
  "proc-macro2",
268
268
  "quote",
@@ -1,5 +1,5 @@
1
1
  [package]
2
- name = "xre"
2
+ name = "xre2"
3
3
  version = "0.1.0"
4
4
  edition = "2021"
5
5
  authors = ["barseek <sergey.b@hey.com>"]
@@ -168,27 +168,27 @@ dependencies = [
168
168
 
169
169
  [[package]]
170
170
  name = "quote"
171
- version = "1.0.36"
171
+ version = "1.0.35"
172
172
  source = "registry+https://github.com/rust-lang/crates.io-index"
173
- checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
174
  dependencies = [
175
175
  "proc-macro2",
176
176
  ]
177
177
 
178
178
  [[package]]
179
179
  name = "rb-sys"
180
- version = "0.9.91"
180
+ version = "0.9.90"
181
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
182
- checksum = "eb81203e271055178603e243fee397f5f4aac125bcd20036279683fb1445a899"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
183
  dependencies = [
184
184
  "rb-sys-build",
185
185
  ]
186
186
 
187
187
  [[package]]
188
188
  name = "rb-sys-build"
189
- version = "0.9.91"
189
+ version = "0.9.90"
190
190
  source = "registry+https://github.com/rust-lang/crates.io-index"
191
- checksum = "9de9403a6aac834e7c9534575cb14188b6b5b99bafe475d18d838d44fbc27d31"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
192
  dependencies = [
193
193
  "bindgen",
194
194
  "lazy_static",
@@ -260,9 +260,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
260
 
261
261
  [[package]]
262
262
  name = "syn"
263
- version = "2.0.58"
263
+ version = "2.0.57"
264
264
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
266
  dependencies = [
267
267
  "proc-macro2",
268
268
  "quote",
@@ -1,5 +1,5 @@
1
1
  [package]
2
- name = "xre"
2
+ name = "xre2"
3
3
  version = "0.1.0"
4
4
  edition = "2021"
5
5
  authors = ["barseek <sergey.b@hey.com>"]
@@ -168,27 +168,27 @@ dependencies = [
168
168
 
169
169
  [[package]]
170
170
  name = "quote"
171
- version = "1.0.36"
171
+ version = "1.0.35"
172
172
  source = "registry+https://github.com/rust-lang/crates.io-index"
173
- checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
174
  dependencies = [
175
175
  "proc-macro2",
176
176
  ]
177
177
 
178
178
  [[package]]
179
179
  name = "rb-sys"
180
- version = "0.9.91"
180
+ version = "0.9.90"
181
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
182
- checksum = "eb81203e271055178603e243fee397f5f4aac125bcd20036279683fb1445a899"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
183
  dependencies = [
184
184
  "rb-sys-build",
185
185
  ]
186
186
 
187
187
  [[package]]
188
188
  name = "rb-sys-build"
189
- version = "0.9.91"
189
+ version = "0.9.90"
190
190
  source = "registry+https://github.com/rust-lang/crates.io-index"
191
- checksum = "9de9403a6aac834e7c9534575cb14188b6b5b99bafe475d18d838d44fbc27d31"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
192
  dependencies = [
193
193
  "bindgen",
194
194
  "lazy_static",
@@ -260,9 +260,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
260
 
261
261
  [[package]]
262
262
  name = "syn"
263
- version = "2.0.58"
263
+ version = "2.0.57"
264
264
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
266
  dependencies = [
267
267
  "proc-macro2",
268
268
  "quote",
@@ -0,0 +1,15 @@
1
+ [package]
2
+ name = "xre2"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+ authors = ["barseek <sergey.b@hey.com>"]
6
+ license = "MIT"
7
+ publish = false
8
+
9
+ [lib]
10
+ crate-type = ["cdylib"]
11
+
12
+ [dependencies]
13
+ magnus = "0.6.2"
14
+ regex = "1.10.4"
15
+ unicode-segmentation = "1.11.0"
@@ -168,27 +168,27 @@ dependencies = [
168
168
 
169
169
  [[package]]
170
170
  name = "quote"
171
- version = "1.0.36"
171
+ version = "1.0.35"
172
172
  source = "registry+https://github.com/rust-lang/crates.io-index"
173
- checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
174
  dependencies = [
175
175
  "proc-macro2",
176
176
  ]
177
177
 
178
178
  [[package]]
179
179
  name = "rb-sys"
180
- version = "0.9.91"
180
+ version = "0.9.90"
181
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
182
- checksum = "eb81203e271055178603e243fee397f5f4aac125bcd20036279683fb1445a899"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
183
  dependencies = [
184
184
  "rb-sys-build",
185
185
  ]
186
186
 
187
187
  [[package]]
188
188
  name = "rb-sys-build"
189
- version = "0.9.91"
189
+ version = "0.9.90"
190
190
  source = "registry+https://github.com/rust-lang/crates.io-index"
191
- checksum = "9de9403a6aac834e7c9534575cb14188b6b5b99bafe475d18d838d44fbc27d31"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
192
  dependencies = [
193
193
  "bindgen",
194
194
  "lazy_static",
@@ -260,9 +260,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
260
 
261
261
  [[package]]
262
262
  name = "syn"
263
- version = "2.0.58"
263
+ version = "2.0.57"
264
264
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
266
  dependencies = [
267
267
  "proc-macro2",
268
268
  "quote",
@@ -0,0 +1,15 @@
1
+ [package]
2
+ name = "xre2"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+ authors = ["barseek <sergey.b@hey.com>"]
6
+ license = "MIT"
7
+ publish = false
8
+
9
+ [lib]
10
+ crate-type = ["cdylib"]
11
+
12
+ [dependencies]
13
+ magnus = "0.6.2"
14
+ regex = "1.10.4"
15
+ unicode-segmentation = "1.11.0"
@@ -168,27 +168,27 @@ dependencies = [
168
168
 
169
169
  [[package]]
170
170
  name = "quote"
171
- version = "1.0.36"
171
+ version = "1.0.35"
172
172
  source = "registry+https://github.com/rust-lang/crates.io-index"
173
- checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
174
  dependencies = [
175
175
  "proc-macro2",
176
176
  ]
177
177
 
178
178
  [[package]]
179
179
  name = "rb-sys"
180
- version = "0.9.91"
180
+ version = "0.9.90"
181
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
182
- checksum = "eb81203e271055178603e243fee397f5f4aac125bcd20036279683fb1445a899"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
183
  dependencies = [
184
184
  "rb-sys-build",
185
185
  ]
186
186
 
187
187
  [[package]]
188
188
  name = "rb-sys-build"
189
- version = "0.9.91"
189
+ version = "0.9.90"
190
190
  source = "registry+https://github.com/rust-lang/crates.io-index"
191
- checksum = "9de9403a6aac834e7c9534575cb14188b6b5b99bafe475d18d838d44fbc27d31"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
192
  dependencies = [
193
193
  "bindgen",
194
194
  "lazy_static",
@@ -260,9 +260,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
260
 
261
261
  [[package]]
262
262
  name = "syn"
263
- version = "2.0.58"
263
+ version = "2.0.57"
264
264
  source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
266
  dependencies = [
267
267
  "proc-macro2",
268
268
  "quote",
@@ -0,0 +1,15 @@
1
+ [package]
2
+ name = "xre2"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+ authors = ["barseek <sergey.b@hey.com>"]
6
+ license = "MIT"
7
+ publish = false
8
+
9
+ [lib]
10
+ crate-type = ["cdylib"]
11
+
12
+ [dependencies]
13
+ magnus = "0.6.2"
14
+ regex = "1.10.4"
15
+ unicode-segmentation = "1.11.0"
@@ -0,0 +1,348 @@
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 = "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.69.4"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
19
+ dependencies = [
20
+ "bitflags",
21
+ "cexpr",
22
+ "clang-sys",
23
+ "itertools",
24
+ "lazy_static",
25
+ "lazycell",
26
+ "proc-macro2",
27
+ "quote",
28
+ "regex",
29
+ "rustc-hash",
30
+ "shlex",
31
+ "syn",
32
+ ]
33
+
34
+ [[package]]
35
+ name = "bitflags"
36
+ version = "2.5.0"
37
+ source = "registry+https://github.com/rust-lang/crates.io-index"
38
+ checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
39
+
40
+ [[package]]
41
+ name = "cexpr"
42
+ version = "0.6.0"
43
+ source = "registry+https://github.com/rust-lang/crates.io-index"
44
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
45
+ dependencies = [
46
+ "nom",
47
+ ]
48
+
49
+ [[package]]
50
+ name = "cfg-if"
51
+ version = "1.0.0"
52
+ source = "registry+https://github.com/rust-lang/crates.io-index"
53
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
54
+
55
+ [[package]]
56
+ name = "clang-sys"
57
+ version = "1.7.0"
58
+ source = "registry+https://github.com/rust-lang/crates.io-index"
59
+ checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1"
60
+ dependencies = [
61
+ "glob",
62
+ "libc",
63
+ "libloading",
64
+ ]
65
+
66
+ [[package]]
67
+ name = "either"
68
+ version = "1.10.0"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a"
71
+
72
+ [[package]]
73
+ name = "glob"
74
+ version = "0.3.1"
75
+ source = "registry+https://github.com/rust-lang/crates.io-index"
76
+ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
77
+
78
+ [[package]]
79
+ name = "itertools"
80
+ version = "0.12.1"
81
+ source = "registry+https://github.com/rust-lang/crates.io-index"
82
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
83
+ dependencies = [
84
+ "either",
85
+ ]
86
+
87
+ [[package]]
88
+ name = "lazy_static"
89
+ version = "1.4.0"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
92
+
93
+ [[package]]
94
+ name = "lazycell"
95
+ version = "1.3.0"
96
+ source = "registry+https://github.com/rust-lang/crates.io-index"
97
+ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
98
+
99
+ [[package]]
100
+ name = "libc"
101
+ version = "0.2.153"
102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
103
+ checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
104
+
105
+ [[package]]
106
+ name = "libloading"
107
+ version = "0.8.3"
108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
109
+ checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19"
110
+ dependencies = [
111
+ "cfg-if",
112
+ "windows-targets",
113
+ ]
114
+
115
+ [[package]]
116
+ name = "magnus"
117
+ version = "0.6.3"
118
+ source = "registry+https://github.com/rust-lang/crates.io-index"
119
+ checksum = "0fc7a31fb0b64761e3cd09a6975577601fccc5f08b8fc9245064fc4f71ed6a9d"
120
+ dependencies = [
121
+ "magnus-macros",
122
+ "rb-sys",
123
+ "rb-sys-env",
124
+ "seq-macro",
125
+ ]
126
+
127
+ [[package]]
128
+ name = "magnus-macros"
129
+ version = "0.6.0"
130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
131
+ checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
132
+ dependencies = [
133
+ "proc-macro2",
134
+ "quote",
135
+ "syn",
136
+ ]
137
+
138
+ [[package]]
139
+ name = "memchr"
140
+ version = "2.7.2"
141
+ source = "registry+https://github.com/rust-lang/crates.io-index"
142
+ checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
143
+
144
+ [[package]]
145
+ name = "minimal-lexical"
146
+ version = "0.2.1"
147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
148
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
149
+
150
+ [[package]]
151
+ name = "nom"
152
+ version = "7.1.3"
153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
154
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
155
+ dependencies = [
156
+ "memchr",
157
+ "minimal-lexical",
158
+ ]
159
+
160
+ [[package]]
161
+ name = "proc-macro2"
162
+ version = "1.0.79"
163
+ source = "registry+https://github.com/rust-lang/crates.io-index"
164
+ checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e"
165
+ dependencies = [
166
+ "unicode-ident",
167
+ ]
168
+
169
+ [[package]]
170
+ name = "quote"
171
+ version = "1.0.35"
172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
+ dependencies = [
175
+ "proc-macro2",
176
+ ]
177
+
178
+ [[package]]
179
+ name = "rb-sys"
180
+ version = "0.9.90"
181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
+ dependencies = [
184
+ "rb-sys-build",
185
+ ]
186
+
187
+ [[package]]
188
+ name = "rb-sys-build"
189
+ version = "0.9.90"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
+ dependencies = [
193
+ "bindgen",
194
+ "lazy_static",
195
+ "proc-macro2",
196
+ "quote",
197
+ "regex",
198
+ "shell-words",
199
+ "syn",
200
+ ]
201
+
202
+ [[package]]
203
+ name = "rb-sys-env"
204
+ version = "0.1.2"
205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
206
+ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
207
+
208
+ [[package]]
209
+ name = "regex"
210
+ version = "1.10.4"
211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
212
+ checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c"
213
+ dependencies = [
214
+ "aho-corasick",
215
+ "memchr",
216
+ "regex-automata",
217
+ "regex-syntax",
218
+ ]
219
+
220
+ [[package]]
221
+ name = "regex-automata"
222
+ version = "0.4.6"
223
+ source = "registry+https://github.com/rust-lang/crates.io-index"
224
+ checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
225
+ dependencies = [
226
+ "aho-corasick",
227
+ "memchr",
228
+ "regex-syntax",
229
+ ]
230
+
231
+ [[package]]
232
+ name = "regex-syntax"
233
+ version = "0.8.3"
234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
235
+ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
236
+
237
+ [[package]]
238
+ name = "rustc-hash"
239
+ version = "1.1.0"
240
+ source = "registry+https://github.com/rust-lang/crates.io-index"
241
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
242
+
243
+ [[package]]
244
+ name = "seq-macro"
245
+ version = "0.3.5"
246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
247
+ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
248
+
249
+ [[package]]
250
+ name = "shell-words"
251
+ version = "1.1.0"
252
+ source = "registry+https://github.com/rust-lang/crates.io-index"
253
+ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
254
+
255
+ [[package]]
256
+ name = "shlex"
257
+ version = "1.3.0"
258
+ source = "registry+https://github.com/rust-lang/crates.io-index"
259
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
+
261
+ [[package]]
262
+ name = "syn"
263
+ version = "2.0.57"
264
+ source = "registry+https://github.com/rust-lang/crates.io-index"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
+ dependencies = [
267
+ "proc-macro2",
268
+ "quote",
269
+ "unicode-ident",
270
+ ]
271
+
272
+ [[package]]
273
+ name = "unicode-ident"
274
+ version = "1.0.12"
275
+ source = "registry+https://github.com/rust-lang/crates.io-index"
276
+ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
277
+
278
+ [[package]]
279
+ name = "unicode-segmentation"
280
+ version = "1.11.0"
281
+ source = "registry+https://github.com/rust-lang/crates.io-index"
282
+ checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
283
+
284
+ [[package]]
285
+ name = "windows-targets"
286
+ version = "0.52.4"
287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
288
+ checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b"
289
+ dependencies = [
290
+ "windows_aarch64_gnullvm",
291
+ "windows_aarch64_msvc",
292
+ "windows_i686_gnu",
293
+ "windows_i686_msvc",
294
+ "windows_x86_64_gnu",
295
+ "windows_x86_64_gnullvm",
296
+ "windows_x86_64_msvc",
297
+ ]
298
+
299
+ [[package]]
300
+ name = "windows_aarch64_gnullvm"
301
+ version = "0.52.4"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9"
304
+
305
+ [[package]]
306
+ name = "windows_aarch64_msvc"
307
+ version = "0.52.4"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675"
310
+
311
+ [[package]]
312
+ name = "windows_i686_gnu"
313
+ version = "0.52.4"
314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
315
+ checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3"
316
+
317
+ [[package]]
318
+ name = "windows_i686_msvc"
319
+ version = "0.52.4"
320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
321
+ checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02"
322
+
323
+ [[package]]
324
+ name = "windows_x86_64_gnu"
325
+ version = "0.52.4"
326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
327
+ checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03"
328
+
329
+ [[package]]
330
+ name = "windows_x86_64_gnullvm"
331
+ version = "0.52.4"
332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
333
+ checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177"
334
+
335
+ [[package]]
336
+ name = "windows_x86_64_msvc"
337
+ version = "0.52.4"
338
+ source = "registry+https://github.com/rust-lang/crates.io-index"
339
+ checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
340
+
341
+ [[package]]
342
+ name = "xre"
343
+ version = "0.1.0"
344
+ dependencies = [
345
+ "magnus",
346
+ "regex",
347
+ "unicode-segmentation",
348
+ ]
@@ -0,0 +1,10 @@
1
+ # This Cargo.toml is here to let externals tools (IDEs, etc.) know that this is
2
+ # a Rust project. Your extensions dependencies should be added to the Cargo.toml
3
+ # in the ext/ directory.
4
+
5
+ [workspace]
6
+ members = ["./ext/xre"]
7
+ resolver = "2"
8
+
9
+ [profile]
10
+ release.lto = true
@@ -0,0 +1,15 @@
1
+ [package]
2
+ name = "xre2"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+ authors = ["barseek <sergey.b@hey.com>"]
6
+ license = "MIT"
7
+ publish = false
8
+
9
+ [lib]
10
+ crate-type = ["cdylib"]
11
+
12
+ [dependencies]
13
+ magnus = "0.6.2"
14
+ regex = "1.10.4"
15
+ unicode-segmentation = "1.11.0"
@@ -0,0 +1,348 @@
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 = "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.69.4"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
19
+ dependencies = [
20
+ "bitflags",
21
+ "cexpr",
22
+ "clang-sys",
23
+ "itertools",
24
+ "lazy_static",
25
+ "lazycell",
26
+ "proc-macro2",
27
+ "quote",
28
+ "regex",
29
+ "rustc-hash",
30
+ "shlex",
31
+ "syn",
32
+ ]
33
+
34
+ [[package]]
35
+ name = "bitflags"
36
+ version = "2.5.0"
37
+ source = "registry+https://github.com/rust-lang/crates.io-index"
38
+ checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
39
+
40
+ [[package]]
41
+ name = "cexpr"
42
+ version = "0.6.0"
43
+ source = "registry+https://github.com/rust-lang/crates.io-index"
44
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
45
+ dependencies = [
46
+ "nom",
47
+ ]
48
+
49
+ [[package]]
50
+ name = "cfg-if"
51
+ version = "1.0.0"
52
+ source = "registry+https://github.com/rust-lang/crates.io-index"
53
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
54
+
55
+ [[package]]
56
+ name = "clang-sys"
57
+ version = "1.7.0"
58
+ source = "registry+https://github.com/rust-lang/crates.io-index"
59
+ checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1"
60
+ dependencies = [
61
+ "glob",
62
+ "libc",
63
+ "libloading",
64
+ ]
65
+
66
+ [[package]]
67
+ name = "either"
68
+ version = "1.10.0"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a"
71
+
72
+ [[package]]
73
+ name = "glob"
74
+ version = "0.3.1"
75
+ source = "registry+https://github.com/rust-lang/crates.io-index"
76
+ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
77
+
78
+ [[package]]
79
+ name = "itertools"
80
+ version = "0.12.1"
81
+ source = "registry+https://github.com/rust-lang/crates.io-index"
82
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
83
+ dependencies = [
84
+ "either",
85
+ ]
86
+
87
+ [[package]]
88
+ name = "lazy_static"
89
+ version = "1.4.0"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
92
+
93
+ [[package]]
94
+ name = "lazycell"
95
+ version = "1.3.0"
96
+ source = "registry+https://github.com/rust-lang/crates.io-index"
97
+ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
98
+
99
+ [[package]]
100
+ name = "libc"
101
+ version = "0.2.153"
102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
103
+ checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
104
+
105
+ [[package]]
106
+ name = "libloading"
107
+ version = "0.8.3"
108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
109
+ checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19"
110
+ dependencies = [
111
+ "cfg-if",
112
+ "windows-targets",
113
+ ]
114
+
115
+ [[package]]
116
+ name = "magnus"
117
+ version = "0.6.3"
118
+ source = "registry+https://github.com/rust-lang/crates.io-index"
119
+ checksum = "0fc7a31fb0b64761e3cd09a6975577601fccc5f08b8fc9245064fc4f71ed6a9d"
120
+ dependencies = [
121
+ "magnus-macros",
122
+ "rb-sys",
123
+ "rb-sys-env",
124
+ "seq-macro",
125
+ ]
126
+
127
+ [[package]]
128
+ name = "magnus-macros"
129
+ version = "0.6.0"
130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
131
+ checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
132
+ dependencies = [
133
+ "proc-macro2",
134
+ "quote",
135
+ "syn",
136
+ ]
137
+
138
+ [[package]]
139
+ name = "memchr"
140
+ version = "2.7.2"
141
+ source = "registry+https://github.com/rust-lang/crates.io-index"
142
+ checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
143
+
144
+ [[package]]
145
+ name = "minimal-lexical"
146
+ version = "0.2.1"
147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
148
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
149
+
150
+ [[package]]
151
+ name = "nom"
152
+ version = "7.1.3"
153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
154
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
155
+ dependencies = [
156
+ "memchr",
157
+ "minimal-lexical",
158
+ ]
159
+
160
+ [[package]]
161
+ name = "proc-macro2"
162
+ version = "1.0.79"
163
+ source = "registry+https://github.com/rust-lang/crates.io-index"
164
+ checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e"
165
+ dependencies = [
166
+ "unicode-ident",
167
+ ]
168
+
169
+ [[package]]
170
+ name = "quote"
171
+ version = "1.0.35"
172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
173
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174
+ dependencies = [
175
+ "proc-macro2",
176
+ ]
177
+
178
+ [[package]]
179
+ name = "rb-sys"
180
+ version = "0.9.90"
181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
182
+ checksum = "55d933382388cc7a6fdfd54e222eca7994791ac4b9ce5c9e8df280c739d86bbe"
183
+ dependencies = [
184
+ "rb-sys-build",
185
+ ]
186
+
187
+ [[package]]
188
+ name = "rb-sys-build"
189
+ version = "0.9.90"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "ebc5a7e3a875419baaa0d8cc606cdfb9361b444cb7e5abcf0de4693025887374"
192
+ dependencies = [
193
+ "bindgen",
194
+ "lazy_static",
195
+ "proc-macro2",
196
+ "quote",
197
+ "regex",
198
+ "shell-words",
199
+ "syn",
200
+ ]
201
+
202
+ [[package]]
203
+ name = "rb-sys-env"
204
+ version = "0.1.2"
205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
206
+ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
207
+
208
+ [[package]]
209
+ name = "regex"
210
+ version = "1.10.4"
211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
212
+ checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c"
213
+ dependencies = [
214
+ "aho-corasick",
215
+ "memchr",
216
+ "regex-automata",
217
+ "regex-syntax",
218
+ ]
219
+
220
+ [[package]]
221
+ name = "regex-automata"
222
+ version = "0.4.6"
223
+ source = "registry+https://github.com/rust-lang/crates.io-index"
224
+ checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
225
+ dependencies = [
226
+ "aho-corasick",
227
+ "memchr",
228
+ "regex-syntax",
229
+ ]
230
+
231
+ [[package]]
232
+ name = "regex-syntax"
233
+ version = "0.8.3"
234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
235
+ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
236
+
237
+ [[package]]
238
+ name = "rustc-hash"
239
+ version = "1.1.0"
240
+ source = "registry+https://github.com/rust-lang/crates.io-index"
241
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
242
+
243
+ [[package]]
244
+ name = "seq-macro"
245
+ version = "0.3.5"
246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
247
+ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
248
+
249
+ [[package]]
250
+ name = "shell-words"
251
+ version = "1.1.0"
252
+ source = "registry+https://github.com/rust-lang/crates.io-index"
253
+ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
254
+
255
+ [[package]]
256
+ name = "shlex"
257
+ version = "1.3.0"
258
+ source = "registry+https://github.com/rust-lang/crates.io-index"
259
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
260
+
261
+ [[package]]
262
+ name = "syn"
263
+ version = "2.0.57"
264
+ source = "registry+https://github.com/rust-lang/crates.io-index"
265
+ checksum = "11a6ae1e52eb25aab8f3fb9fca13be982a373b8f1157ca14b897a825ba4a2d35"
266
+ dependencies = [
267
+ "proc-macro2",
268
+ "quote",
269
+ "unicode-ident",
270
+ ]
271
+
272
+ [[package]]
273
+ name = "unicode-ident"
274
+ version = "1.0.12"
275
+ source = "registry+https://github.com/rust-lang/crates.io-index"
276
+ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
277
+
278
+ [[package]]
279
+ name = "unicode-segmentation"
280
+ version = "1.11.0"
281
+ source = "registry+https://github.com/rust-lang/crates.io-index"
282
+ checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
283
+
284
+ [[package]]
285
+ name = "windows-targets"
286
+ version = "0.52.4"
287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
288
+ checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b"
289
+ dependencies = [
290
+ "windows_aarch64_gnullvm",
291
+ "windows_aarch64_msvc",
292
+ "windows_i686_gnu",
293
+ "windows_i686_msvc",
294
+ "windows_x86_64_gnu",
295
+ "windows_x86_64_gnullvm",
296
+ "windows_x86_64_msvc",
297
+ ]
298
+
299
+ [[package]]
300
+ name = "windows_aarch64_gnullvm"
301
+ version = "0.52.4"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9"
304
+
305
+ [[package]]
306
+ name = "windows_aarch64_msvc"
307
+ version = "0.52.4"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675"
310
+
311
+ [[package]]
312
+ name = "windows_i686_gnu"
313
+ version = "0.52.4"
314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
315
+ checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3"
316
+
317
+ [[package]]
318
+ name = "windows_i686_msvc"
319
+ version = "0.52.4"
320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
321
+ checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02"
322
+
323
+ [[package]]
324
+ name = "windows_x86_64_gnu"
325
+ version = "0.52.4"
326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
327
+ checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03"
328
+
329
+ [[package]]
330
+ name = "windows_x86_64_gnullvm"
331
+ version = "0.52.4"
332
+ source = "registry+https://github.com/rust-lang/crates.io-index"
333
+ checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177"
334
+
335
+ [[package]]
336
+ name = "windows_x86_64_msvc"
337
+ version = "0.52.4"
338
+ source = "registry+https://github.com/rust-lang/crates.io-index"
339
+ checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
340
+
341
+ [[package]]
342
+ name = "xre"
343
+ version = "0.1.0"
344
+ dependencies = [
345
+ "magnus",
346
+ "regex",
347
+ "unicode-segmentation",
348
+ ]
@@ -0,0 +1,10 @@
1
+ # This Cargo.toml is here to let externals tools (IDEs, etc.) know that this is
2
+ # a Rust project. Your extensions dependencies should be added to the Cargo.toml
3
+ # in the ext/ directory.
4
+
5
+ [workspace]
6
+ members = ["./ext/xre"]
7
+ resolver = "2"
8
+
9
+ [profile]
10
+ release.lto = true
@@ -0,0 +1,15 @@
1
+ [package]
2
+ name = "xre2"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+ authors = ["barseek <sergey.b@hey.com>"]
6
+ license = "MIT"
7
+ publish = false
8
+
9
+ [lib]
10
+ crate-type = ["cdylib"]
11
+
12
+ [dependencies]
13
+ magnus = "0.6.2"
14
+ regex = "1.10.4"
15
+ unicode-segmentation = "1.11.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - barseek
@@ -34,37 +34,47 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - Cargo.lock
36
36
  - Cargo.toml
37
+ - README.md
37
38
  - ext/xre/Cargo.toml
38
39
  - ext/xre/extconf.rb
39
40
  - ext/xre/src/lib.rs
40
41
  - ext/xre/src/regex_list.rs
41
42
  - ext/xre/src/regex_list/utils.rs
42
43
  - lib/xre.rb
44
+ - lib/xre/version.rb
43
45
  - tmp/arm64-darwin21/stage/Cargo.lock
44
46
  - tmp/arm64-darwin21/stage/Cargo.toml
45
47
  - tmp/arm64-darwin21/stage/ext/xre/Cargo.toml
48
+ - tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml
46
49
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock
47
50
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml
48
51
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre/Cargo.toml
52
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml
49
53
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock
50
54
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml
51
55
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre/Cargo.toml
56
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml
52
57
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock
53
58
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml
54
- - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre/Cargo.toml
59
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml
55
60
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock
56
61
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml
57
- - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre/Cargo.toml
62
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml
58
63
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock
59
64
  - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml
60
- - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre/Cargo.toml
65
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml
66
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock
67
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml
68
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml
69
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.lock
70
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/Cargo.toml
71
+ - tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/tmp/arm64-darwin21/stage/ext/xre2/Cargo.toml
61
72
  homepage: https://github.com/vagab/xre
62
73
  licenses:
63
74
  - MIT
64
75
  metadata:
65
76
  homepage_uri: https://github.com/vagab/xre
66
77
  source_code_uri: https://github.com/vagab/xre
67
- rubygems_mfa_required: 'true'
68
78
  post_install_message:
69
79
  rdoc_options: []
70
80
  require_paths: