pf2 0.1.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +29 -2
  3. data/Cargo.lock +650 -0
  4. data/Cargo.toml +3 -0
  5. data/README.md +110 -13
  6. data/Rakefile +8 -0
  7. data/crates/backtrace-sys2/.gitignore +1 -0
  8. data/crates/backtrace-sys2/Cargo.toml +9 -0
  9. data/crates/backtrace-sys2/build.rs +48 -0
  10. data/crates/backtrace-sys2/src/lib.rs +5 -0
  11. data/crates/backtrace-sys2/src/libbacktrace/.gitignore +15 -0
  12. data/crates/backtrace-sys2/src/libbacktrace/Isaac.Newton-Opticks.txt +9286 -0
  13. data/crates/backtrace-sys2/src/libbacktrace/LICENSE +29 -0
  14. data/crates/backtrace-sys2/src/libbacktrace/Makefile.am +623 -0
  15. data/crates/backtrace-sys2/src/libbacktrace/Makefile.in +2666 -0
  16. data/crates/backtrace-sys2/src/libbacktrace/README.md +36 -0
  17. data/crates/backtrace-sys2/src/libbacktrace/aclocal.m4 +864 -0
  18. data/crates/backtrace-sys2/src/libbacktrace/alloc.c +167 -0
  19. data/crates/backtrace-sys2/src/libbacktrace/allocfail.c +136 -0
  20. data/crates/backtrace-sys2/src/libbacktrace/allocfail.sh +104 -0
  21. data/crates/backtrace-sys2/src/libbacktrace/atomic.c +113 -0
  22. data/crates/backtrace-sys2/src/libbacktrace/backtrace-supported.h.in +66 -0
  23. data/crates/backtrace-sys2/src/libbacktrace/backtrace.c +129 -0
  24. data/crates/backtrace-sys2/src/libbacktrace/backtrace.h +189 -0
  25. data/crates/backtrace-sys2/src/libbacktrace/btest.c +501 -0
  26. data/crates/backtrace-sys2/src/libbacktrace/compile +348 -0
  27. data/crates/backtrace-sys2/src/libbacktrace/config/enable.m4 +38 -0
  28. data/crates/backtrace-sys2/src/libbacktrace/config/lead-dot.m4 +31 -0
  29. data/crates/backtrace-sys2/src/libbacktrace/config/libtool.m4 +7436 -0
  30. data/crates/backtrace-sys2/src/libbacktrace/config/ltoptions.m4 +369 -0
  31. data/crates/backtrace-sys2/src/libbacktrace/config/ltsugar.m4 +123 -0
  32. data/crates/backtrace-sys2/src/libbacktrace/config/ltversion.m4 +23 -0
  33. data/crates/backtrace-sys2/src/libbacktrace/config/lt~obsolete.m4 +98 -0
  34. data/crates/backtrace-sys2/src/libbacktrace/config/multi.m4 +68 -0
  35. data/crates/backtrace-sys2/src/libbacktrace/config/override.m4 +117 -0
  36. data/crates/backtrace-sys2/src/libbacktrace/config/unwind_ipinfo.m4 +37 -0
  37. data/crates/backtrace-sys2/src/libbacktrace/config/warnings.m4 +227 -0
  38. data/crates/backtrace-sys2/src/libbacktrace/config.guess +1700 -0
  39. data/crates/backtrace-sys2/src/libbacktrace/config.h.in +182 -0
  40. data/crates/backtrace-sys2/src/libbacktrace/config.sub +1885 -0
  41. data/crates/backtrace-sys2/src/libbacktrace/configure +15740 -0
  42. data/crates/backtrace-sys2/src/libbacktrace/configure.ac +613 -0
  43. data/crates/backtrace-sys2/src/libbacktrace/dwarf.c +4402 -0
  44. data/crates/backtrace-sys2/src/libbacktrace/edtest.c +120 -0
  45. data/crates/backtrace-sys2/src/libbacktrace/edtest2.c +43 -0
  46. data/crates/backtrace-sys2/src/libbacktrace/elf.c +7443 -0
  47. data/crates/backtrace-sys2/src/libbacktrace/fileline.c +407 -0
  48. data/crates/backtrace-sys2/src/libbacktrace/filenames.h +52 -0
  49. data/crates/backtrace-sys2/src/libbacktrace/filetype.awk +13 -0
  50. data/crates/backtrace-sys2/src/libbacktrace/install-debuginfo-for-buildid.sh.in +65 -0
  51. data/crates/backtrace-sys2/src/libbacktrace/install-sh +501 -0
  52. data/crates/backtrace-sys2/src/libbacktrace/instrumented_alloc.c +114 -0
  53. data/crates/backtrace-sys2/src/libbacktrace/internal.h +389 -0
  54. data/crates/backtrace-sys2/src/libbacktrace/libtool.m4 +7436 -0
  55. data/crates/backtrace-sys2/src/libbacktrace/ltmain.sh +8636 -0
  56. data/crates/backtrace-sys2/src/libbacktrace/ltoptions.m4 +369 -0
  57. data/crates/backtrace-sys2/src/libbacktrace/ltsugar.m4 +123 -0
  58. data/crates/backtrace-sys2/src/libbacktrace/ltversion.m4 +23 -0
  59. data/crates/backtrace-sys2/src/libbacktrace/lt~obsolete.m4 +98 -0
  60. data/crates/backtrace-sys2/src/libbacktrace/macho.c +1355 -0
  61. data/crates/backtrace-sys2/src/libbacktrace/missing +215 -0
  62. data/crates/backtrace-sys2/src/libbacktrace/mmap.c +331 -0
  63. data/crates/backtrace-sys2/src/libbacktrace/mmapio.c +110 -0
  64. data/crates/backtrace-sys2/src/libbacktrace/move-if-change +83 -0
  65. data/crates/backtrace-sys2/src/libbacktrace/mtest.c +410 -0
  66. data/crates/backtrace-sys2/src/libbacktrace/nounwind.c +66 -0
  67. data/crates/backtrace-sys2/src/libbacktrace/pecoff.c +957 -0
  68. data/crates/backtrace-sys2/src/libbacktrace/posix.c +104 -0
  69. data/crates/backtrace-sys2/src/libbacktrace/print.c +92 -0
  70. data/crates/backtrace-sys2/src/libbacktrace/read.c +110 -0
  71. data/crates/backtrace-sys2/src/libbacktrace/simple.c +108 -0
  72. data/crates/backtrace-sys2/src/libbacktrace/sort.c +108 -0
  73. data/crates/backtrace-sys2/src/libbacktrace/state.c +72 -0
  74. data/crates/backtrace-sys2/src/libbacktrace/stest.c +137 -0
  75. data/crates/backtrace-sys2/src/libbacktrace/test-driver +148 -0
  76. data/crates/backtrace-sys2/src/libbacktrace/test_format.c +55 -0
  77. data/crates/backtrace-sys2/src/libbacktrace/testlib.c +234 -0
  78. data/crates/backtrace-sys2/src/libbacktrace/testlib.h +110 -0
  79. data/crates/backtrace-sys2/src/libbacktrace/ttest.c +161 -0
  80. data/crates/backtrace-sys2/src/libbacktrace/unittest.c +92 -0
  81. data/crates/backtrace-sys2/src/libbacktrace/unknown.c +65 -0
  82. data/crates/backtrace-sys2/src/libbacktrace/xcoff.c +1606 -0
  83. data/crates/backtrace-sys2/src/libbacktrace/xztest.c +508 -0
  84. data/crates/backtrace-sys2/src/libbacktrace/zstdtest.c +523 -0
  85. data/crates/backtrace-sys2/src/libbacktrace/ztest.c +541 -0
  86. data/ext/pf2/Cargo.toml +25 -0
  87. data/ext/pf2/build.rs +3 -0
  88. data/ext/pf2/extconf.rb +6 -1
  89. data/ext/pf2/src/backtrace.rs +126 -0
  90. data/ext/pf2/src/lib.rs +15 -0
  91. data/ext/pf2/src/profile.rs +65 -0
  92. data/ext/pf2/src/profile_serializer.rs +204 -0
  93. data/ext/pf2/src/ringbuffer.rs +152 -0
  94. data/ext/pf2/src/ruby_init.rs +74 -0
  95. data/ext/pf2/src/sample.rs +66 -0
  96. data/ext/pf2/src/siginfo_t.c +5 -0
  97. data/ext/pf2/src/signal_scheduler/configuration.rs +31 -0
  98. data/ext/pf2/src/signal_scheduler/timer_installer.rs +199 -0
  99. data/ext/pf2/src/signal_scheduler.rs +311 -0
  100. data/ext/pf2/src/timer_thread_scheduler.rs +319 -0
  101. data/ext/pf2/src/util.rs +30 -0
  102. data/lib/pf2/cli.rb +1 -1
  103. data/lib/pf2/reporter.rb +48 -16
  104. data/lib/pf2/version.rb +1 -1
  105. data/lib/pf2.rb +20 -5
  106. metadata +128 -5
  107. data/ext/pf2/pf2.c +0 -246
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e386916b39ce131297e3e29ec4eca107fe9b2ebe98e69db68f1c84091fac724
4
- data.tar.gz: 84a658c4f5f336a39a52b2ed58ccb600e7b4f541cd58b4aeea041863db4edfc9
3
+ metadata.gz: 929c0f24675525d7d52bd0293ec45b9383579517119baac5b28da2bfe720d7d5
4
+ data.tar.gz: e75df94cf2085aea9d218b431e44ccda5f87e537a1c566ea67ae4ef04a03cb8a
5
5
  SHA512:
6
- metadata.gz: 16d6addbe2abbf348158dca6f2c7e2d048048a22d8a93b194556195e0c9d7c00c51c50f8b82bd462b263d7db6bc8211da1112d5d436fcfdafba08591b618e901
7
- data.tar.gz: 0603d44895aeea77484c6862cbd2660dffa131c4ad5761aaa94e5c67c44bce04491b7ab29078897b095b44d07fc31dbb7351056cbbc005d3f097c2cb83744fc0
6
+ metadata.gz: 2e28b5f4cbb99dc101b7f9a9092b1602d682f1001fa1c86a538d0d966a4c670df5fc5ecb971d8a25e093c3c3bdbe115b772ed40be50b8027cbc09fe6664c1db5
7
+ data.tar.gz: cf63fc413c60dda6fc0a360d39701cffc36aceeb98dc5d1d92a6e42761fa2ba1d2381e67a9a4af10fcb51fbf6e4b32afc89ff9307370fa542db278c6e76d40ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
+ ## [Unreleased]
2
+
3
+
4
+ ## [0.3.0] - 2024-02-05
5
+
6
+ ### Added
7
+
8
+ - Native stack consolidation
9
+ - Pf2 now records native (C-level) stacks during sample capture.
10
+ - This functionality is based on [libbacktrace](https://github.com/ianlancetaylor/libbacktrace).
11
+ - New configuration interface for `Pf2.start`, `Pf2::SignalScheduler.start`, `Pf2::TimerThreadScheduler.start`
12
+ - They now accept keyword arguments (`interval_ms`, `threads`, `time_mode`, `track_new_threads`).
13
+ - New configuration options
14
+ - `interval_ms`: The sampling interval.
15
+ - `time_mode` (`:wall` or `:cpu`): The sampling timer's _mode_. `:wall` is wall-clock time (CLOCK_MONOTONIC to be specific), `:cpu` is per-thread CPU time (CLOCK_THREAD_CPUTIME_ID).
16
+
17
+ ### Removed
18
+
19
+ - Configuration through positional arguments is no longer supported.
20
+
21
+
22
+ ## [0.2.0] - 2024-01-21
23
+
24
+ - New Ruby interface: Pf2.start, Pf2.stop, Pf2.profile
25
+ - Introduce the concepts of Schedulers
26
+ - Implement SignalScheduler and TimerThreadScheduler
27
+ - Rewritten many components
28
+
29
+
1
30
  ## [0.1.0] - 2023-10-04
2
31
 
3
32
  - Initial release
4
-
5
- ## [Unreleased]
data/Cargo.lock ADDED
@@ -0,0 +1,650 @@
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.2"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "anstream"
16
+ version = "0.6.11"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5"
19
+ dependencies = [
20
+ "anstyle",
21
+ "anstyle-parse",
22
+ "anstyle-query",
23
+ "anstyle-wincon",
24
+ "colorchoice",
25
+ "utf8parse",
26
+ ]
27
+
28
+ [[package]]
29
+ name = "anstyle"
30
+ version = "1.0.4"
31
+ source = "registry+https://github.com/rust-lang/crates.io-index"
32
+ checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87"
33
+
34
+ [[package]]
35
+ name = "anstyle-parse"
36
+ version = "0.2.3"
37
+ source = "registry+https://github.com/rust-lang/crates.io-index"
38
+ checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c"
39
+ dependencies = [
40
+ "utf8parse",
41
+ ]
42
+
43
+ [[package]]
44
+ name = "anstyle-query"
45
+ version = "1.0.2"
46
+ source = "registry+https://github.com/rust-lang/crates.io-index"
47
+ checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"
48
+ dependencies = [
49
+ "windows-sys 0.52.0",
50
+ ]
51
+
52
+ [[package]]
53
+ name = "anstyle-wincon"
54
+ version = "3.0.2"
55
+ source = "registry+https://github.com/rust-lang/crates.io-index"
56
+ checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
57
+ dependencies = [
58
+ "anstyle",
59
+ "windows-sys 0.52.0",
60
+ ]
61
+
62
+ [[package]]
63
+ name = "backtrace-sys2"
64
+ version = "0.1.0"
65
+ dependencies = [
66
+ "bindgen 0.69.2",
67
+ ]
68
+
69
+ [[package]]
70
+ name = "bindgen"
71
+ version = "0.66.1"
72
+ source = "registry+https://github.com/rust-lang/crates.io-index"
73
+ checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7"
74
+ dependencies = [
75
+ "bitflags",
76
+ "cexpr",
77
+ "clang-sys",
78
+ "lazy_static",
79
+ "lazycell",
80
+ "peeking_take_while",
81
+ "proc-macro2",
82
+ "quote",
83
+ "regex",
84
+ "rustc-hash",
85
+ "shlex",
86
+ "syn",
87
+ ]
88
+
89
+ [[package]]
90
+ name = "bindgen"
91
+ version = "0.69.2"
92
+ source = "registry+https://github.com/rust-lang/crates.io-index"
93
+ checksum = "a4c69fae65a523209d34240b60abe0c42d33d1045d445c0839d8a4894a736e2d"
94
+ dependencies = [
95
+ "bitflags",
96
+ "cexpr",
97
+ "clang-sys",
98
+ "lazy_static",
99
+ "lazycell",
100
+ "log",
101
+ "peeking_take_while",
102
+ "prettyplease",
103
+ "proc-macro2",
104
+ "quote",
105
+ "regex",
106
+ "rustc-hash",
107
+ "shlex",
108
+ "syn",
109
+ "which",
110
+ ]
111
+
112
+ [[package]]
113
+ name = "bitflags"
114
+ version = "2.4.1"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
117
+
118
+ [[package]]
119
+ name = "cc"
120
+ version = "1.0.83"
121
+ source = "registry+https://github.com/rust-lang/crates.io-index"
122
+ checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
123
+ dependencies = [
124
+ "libc",
125
+ ]
126
+
127
+ [[package]]
128
+ name = "cexpr"
129
+ version = "0.6.0"
130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
131
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
132
+ dependencies = [
133
+ "nom",
134
+ ]
135
+
136
+ [[package]]
137
+ name = "cfg-if"
138
+ version = "1.0.0"
139
+ source = "registry+https://github.com/rust-lang/crates.io-index"
140
+ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
141
+
142
+ [[package]]
143
+ name = "clang-sys"
144
+ version = "1.6.1"
145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
146
+ checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
147
+ dependencies = [
148
+ "glob",
149
+ "libc",
150
+ "libloading",
151
+ ]
152
+
153
+ [[package]]
154
+ name = "colorchoice"
155
+ version = "1.0.0"
156
+ source = "registry+https://github.com/rust-lang/crates.io-index"
157
+ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
158
+
159
+ [[package]]
160
+ name = "either"
161
+ version = "1.9.0"
162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
163
+ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
164
+
165
+ [[package]]
166
+ name = "env_filter"
167
+ version = "0.1.0"
168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
169
+ checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea"
170
+ dependencies = [
171
+ "log",
172
+ "regex",
173
+ ]
174
+
175
+ [[package]]
176
+ name = "env_logger"
177
+ version = "0.11.0"
178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
179
+ checksum = "9eeb342678d785662fd2514be38c459bb925f02b68dd2a3e0f21d7ef82d979dd"
180
+ dependencies = [
181
+ "anstream",
182
+ "anstyle",
183
+ "env_filter",
184
+ "humantime",
185
+ "log",
186
+ ]
187
+
188
+ [[package]]
189
+ name = "errno"
190
+ version = "0.3.8"
191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
192
+ checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
193
+ dependencies = [
194
+ "libc",
195
+ "windows-sys 0.52.0",
196
+ ]
197
+
198
+ [[package]]
199
+ name = "glob"
200
+ version = "0.3.1"
201
+ source = "registry+https://github.com/rust-lang/crates.io-index"
202
+ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
203
+
204
+ [[package]]
205
+ name = "home"
206
+ version = "0.5.9"
207
+ source = "registry+https://github.com/rust-lang/crates.io-index"
208
+ checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
209
+ dependencies = [
210
+ "windows-sys 0.52.0",
211
+ ]
212
+
213
+ [[package]]
214
+ name = "humantime"
215
+ version = "2.1.0"
216
+ source = "registry+https://github.com/rust-lang/crates.io-index"
217
+ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
218
+
219
+ [[package]]
220
+ name = "itoa"
221
+ version = "1.0.9"
222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
223
+ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
224
+
225
+ [[package]]
226
+ name = "lazy_static"
227
+ version = "1.4.0"
228
+ source = "registry+https://github.com/rust-lang/crates.io-index"
229
+ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
230
+
231
+ [[package]]
232
+ name = "lazycell"
233
+ version = "1.3.0"
234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
235
+ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
236
+
237
+ [[package]]
238
+ name = "libc"
239
+ version = "0.2.149"
240
+ source = "registry+https://github.com/rust-lang/crates.io-index"
241
+ checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b"
242
+
243
+ [[package]]
244
+ name = "libloading"
245
+ version = "0.7.4"
246
+ source = "registry+https://github.com/rust-lang/crates.io-index"
247
+ checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
248
+ dependencies = [
249
+ "cfg-if",
250
+ "winapi",
251
+ ]
252
+
253
+ [[package]]
254
+ name = "linux-raw-sys"
255
+ version = "0.4.13"
256
+ source = "registry+https://github.com/rust-lang/crates.io-index"
257
+ checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
258
+
259
+ [[package]]
260
+ name = "log"
261
+ version = "0.4.20"
262
+ source = "registry+https://github.com/rust-lang/crates.io-index"
263
+ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
264
+
265
+ [[package]]
266
+ name = "memchr"
267
+ version = "2.6.4"
268
+ source = "registry+https://github.com/rust-lang/crates.io-index"
269
+ checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
270
+
271
+ [[package]]
272
+ name = "minimal-lexical"
273
+ version = "0.2.1"
274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
275
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
276
+
277
+ [[package]]
278
+ name = "nom"
279
+ version = "7.1.3"
280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
281
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
282
+ dependencies = [
283
+ "memchr",
284
+ "minimal-lexical",
285
+ ]
286
+
287
+ [[package]]
288
+ name = "once_cell"
289
+ version = "1.19.0"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
292
+
293
+ [[package]]
294
+ name = "peeking_take_while"
295
+ version = "0.1.2"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
298
+
299
+ [[package]]
300
+ name = "pf2"
301
+ version = "0.1.0"
302
+ dependencies = [
303
+ "backtrace-sys2",
304
+ "cc",
305
+ "env_logger",
306
+ "libc",
307
+ "log",
308
+ "rb-sys",
309
+ "serde",
310
+ "serde_derive",
311
+ "serde_json",
312
+ ]
313
+
314
+ [[package]]
315
+ name = "prettyplease"
316
+ version = "0.2.16"
317
+ source = "registry+https://github.com/rust-lang/crates.io-index"
318
+ checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5"
319
+ dependencies = [
320
+ "proc-macro2",
321
+ "syn",
322
+ ]
323
+
324
+ [[package]]
325
+ name = "proc-macro2"
326
+ version = "1.0.78"
327
+ source = "registry+https://github.com/rust-lang/crates.io-index"
328
+ checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
329
+ dependencies = [
330
+ "unicode-ident",
331
+ ]
332
+
333
+ [[package]]
334
+ name = "quote"
335
+ version = "1.0.35"
336
+ source = "registry+https://github.com/rust-lang/crates.io-index"
337
+ checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
338
+ dependencies = [
339
+ "proc-macro2",
340
+ ]
341
+
342
+ [[package]]
343
+ name = "rb-sys"
344
+ version = "0.9.82"
345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
346
+ checksum = "a3e6bf79bf4c711917cacfaf46dfab4314dbfdd89a8ee3ec4b98336cd23f1ebf"
347
+ dependencies = [
348
+ "rb-sys-build",
349
+ ]
350
+
351
+ [[package]]
352
+ name = "rb-sys-build"
353
+ version = "0.9.82"
354
+ source = "registry+https://github.com/rust-lang/crates.io-index"
355
+ checksum = "5482a1ed4cde58dddaf162b6aebcb5c25645822547832b8be101f2acd40bcdd6"
356
+ dependencies = [
357
+ "bindgen 0.66.1",
358
+ "lazy_static",
359
+ "proc-macro2",
360
+ "quote",
361
+ "regex",
362
+ "shell-words",
363
+ "syn",
364
+ ]
365
+
366
+ [[package]]
367
+ name = "regex"
368
+ version = "1.10.2"
369
+ source = "registry+https://github.com/rust-lang/crates.io-index"
370
+ checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343"
371
+ dependencies = [
372
+ "aho-corasick",
373
+ "memchr",
374
+ "regex-automata",
375
+ "regex-syntax",
376
+ ]
377
+
378
+ [[package]]
379
+ name = "regex-automata"
380
+ version = "0.4.3"
381
+ source = "registry+https://github.com/rust-lang/crates.io-index"
382
+ checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f"
383
+ dependencies = [
384
+ "aho-corasick",
385
+ "memchr",
386
+ "regex-syntax",
387
+ ]
388
+
389
+ [[package]]
390
+ name = "regex-syntax"
391
+ version = "0.8.2"
392
+ source = "registry+https://github.com/rust-lang/crates.io-index"
393
+ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
394
+
395
+ [[package]]
396
+ name = "rustc-hash"
397
+ version = "1.1.0"
398
+ source = "registry+https://github.com/rust-lang/crates.io-index"
399
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
400
+
401
+ [[package]]
402
+ name = "rustix"
403
+ version = "0.38.21"
404
+ source = "registry+https://github.com/rust-lang/crates.io-index"
405
+ checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3"
406
+ dependencies = [
407
+ "bitflags",
408
+ "errno",
409
+ "libc",
410
+ "linux-raw-sys",
411
+ "windows-sys 0.48.0",
412
+ ]
413
+
414
+ [[package]]
415
+ name = "ryu"
416
+ version = "1.0.15"
417
+ source = "registry+https://github.com/rust-lang/crates.io-index"
418
+ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
419
+
420
+ [[package]]
421
+ name = "serde"
422
+ version = "1.0.189"
423
+ source = "registry+https://github.com/rust-lang/crates.io-index"
424
+ checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537"
425
+ dependencies = [
426
+ "serde_derive",
427
+ ]
428
+
429
+ [[package]]
430
+ name = "serde_derive"
431
+ version = "1.0.189"
432
+ source = "registry+https://github.com/rust-lang/crates.io-index"
433
+ checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5"
434
+ dependencies = [
435
+ "proc-macro2",
436
+ "quote",
437
+ "syn",
438
+ ]
439
+
440
+ [[package]]
441
+ name = "serde_json"
442
+ version = "1.0.107"
443
+ source = "registry+https://github.com/rust-lang/crates.io-index"
444
+ checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65"
445
+ dependencies = [
446
+ "itoa",
447
+ "ryu",
448
+ "serde",
449
+ ]
450
+
451
+ [[package]]
452
+ name = "shell-words"
453
+ version = "1.1.0"
454
+ source = "registry+https://github.com/rust-lang/crates.io-index"
455
+ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
456
+
457
+ [[package]]
458
+ name = "shlex"
459
+ version = "1.2.0"
460
+ source = "registry+https://github.com/rust-lang/crates.io-index"
461
+ checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380"
462
+
463
+ [[package]]
464
+ name = "syn"
465
+ version = "2.0.48"
466
+ source = "registry+https://github.com/rust-lang/crates.io-index"
467
+ checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
468
+ dependencies = [
469
+ "proc-macro2",
470
+ "quote",
471
+ "unicode-ident",
472
+ ]
473
+
474
+ [[package]]
475
+ name = "unicode-ident"
476
+ version = "1.0.12"
477
+ source = "registry+https://github.com/rust-lang/crates.io-index"
478
+ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
479
+
480
+ [[package]]
481
+ name = "utf8parse"
482
+ version = "0.2.1"
483
+ source = "registry+https://github.com/rust-lang/crates.io-index"
484
+ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
485
+
486
+ [[package]]
487
+ name = "which"
488
+ version = "4.4.2"
489
+ source = "registry+https://github.com/rust-lang/crates.io-index"
490
+ checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
491
+ dependencies = [
492
+ "either",
493
+ "home",
494
+ "once_cell",
495
+ "rustix",
496
+ ]
497
+
498
+ [[package]]
499
+ name = "winapi"
500
+ version = "0.3.9"
501
+ source = "registry+https://github.com/rust-lang/crates.io-index"
502
+ checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
503
+ dependencies = [
504
+ "winapi-i686-pc-windows-gnu",
505
+ "winapi-x86_64-pc-windows-gnu",
506
+ ]
507
+
508
+ [[package]]
509
+ name = "winapi-i686-pc-windows-gnu"
510
+ version = "0.4.0"
511
+ source = "registry+https://github.com/rust-lang/crates.io-index"
512
+ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
513
+
514
+ [[package]]
515
+ name = "winapi-x86_64-pc-windows-gnu"
516
+ version = "0.4.0"
517
+ source = "registry+https://github.com/rust-lang/crates.io-index"
518
+ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
519
+
520
+ [[package]]
521
+ name = "windows-sys"
522
+ version = "0.48.0"
523
+ source = "registry+https://github.com/rust-lang/crates.io-index"
524
+ checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
525
+ dependencies = [
526
+ "windows-targets 0.48.5",
527
+ ]
528
+
529
+ [[package]]
530
+ name = "windows-sys"
531
+ version = "0.52.0"
532
+ source = "registry+https://github.com/rust-lang/crates.io-index"
533
+ checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
534
+ dependencies = [
535
+ "windows-targets 0.52.0",
536
+ ]
537
+
538
+ [[package]]
539
+ name = "windows-targets"
540
+ version = "0.48.5"
541
+ source = "registry+https://github.com/rust-lang/crates.io-index"
542
+ checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
543
+ dependencies = [
544
+ "windows_aarch64_gnullvm 0.48.5",
545
+ "windows_aarch64_msvc 0.48.5",
546
+ "windows_i686_gnu 0.48.5",
547
+ "windows_i686_msvc 0.48.5",
548
+ "windows_x86_64_gnu 0.48.5",
549
+ "windows_x86_64_gnullvm 0.48.5",
550
+ "windows_x86_64_msvc 0.48.5",
551
+ ]
552
+
553
+ [[package]]
554
+ name = "windows-targets"
555
+ version = "0.52.0"
556
+ source = "registry+https://github.com/rust-lang/crates.io-index"
557
+ checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd"
558
+ dependencies = [
559
+ "windows_aarch64_gnullvm 0.52.0",
560
+ "windows_aarch64_msvc 0.52.0",
561
+ "windows_i686_gnu 0.52.0",
562
+ "windows_i686_msvc 0.52.0",
563
+ "windows_x86_64_gnu 0.52.0",
564
+ "windows_x86_64_gnullvm 0.52.0",
565
+ "windows_x86_64_msvc 0.52.0",
566
+ ]
567
+
568
+ [[package]]
569
+ name = "windows_aarch64_gnullvm"
570
+ version = "0.48.5"
571
+ source = "registry+https://github.com/rust-lang/crates.io-index"
572
+ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
573
+
574
+ [[package]]
575
+ name = "windows_aarch64_gnullvm"
576
+ version = "0.52.0"
577
+ source = "registry+https://github.com/rust-lang/crates.io-index"
578
+ checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea"
579
+
580
+ [[package]]
581
+ name = "windows_aarch64_msvc"
582
+ version = "0.48.5"
583
+ source = "registry+https://github.com/rust-lang/crates.io-index"
584
+ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
585
+
586
+ [[package]]
587
+ name = "windows_aarch64_msvc"
588
+ version = "0.52.0"
589
+ source = "registry+https://github.com/rust-lang/crates.io-index"
590
+ checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef"
591
+
592
+ [[package]]
593
+ name = "windows_i686_gnu"
594
+ version = "0.48.5"
595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
596
+ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
597
+
598
+ [[package]]
599
+ name = "windows_i686_gnu"
600
+ version = "0.52.0"
601
+ source = "registry+https://github.com/rust-lang/crates.io-index"
602
+ checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313"
603
+
604
+ [[package]]
605
+ name = "windows_i686_msvc"
606
+ version = "0.48.5"
607
+ source = "registry+https://github.com/rust-lang/crates.io-index"
608
+ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
609
+
610
+ [[package]]
611
+ name = "windows_i686_msvc"
612
+ version = "0.52.0"
613
+ source = "registry+https://github.com/rust-lang/crates.io-index"
614
+ checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a"
615
+
616
+ [[package]]
617
+ name = "windows_x86_64_gnu"
618
+ version = "0.48.5"
619
+ source = "registry+https://github.com/rust-lang/crates.io-index"
620
+ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
621
+
622
+ [[package]]
623
+ name = "windows_x86_64_gnu"
624
+ version = "0.52.0"
625
+ source = "registry+https://github.com/rust-lang/crates.io-index"
626
+ checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd"
627
+
628
+ [[package]]
629
+ name = "windows_x86_64_gnullvm"
630
+ version = "0.48.5"
631
+ source = "registry+https://github.com/rust-lang/crates.io-index"
632
+ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
633
+
634
+ [[package]]
635
+ name = "windows_x86_64_gnullvm"
636
+ version = "0.52.0"
637
+ source = "registry+https://github.com/rust-lang/crates.io-index"
638
+ checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
639
+
640
+ [[package]]
641
+ name = "windows_x86_64_msvc"
642
+ version = "0.48.5"
643
+ source = "registry+https://github.com/rust-lang/crates.io-index"
644
+ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
645
+
646
+ [[package]]
647
+ name = "windows_x86_64_msvc"
648
+ version = "0.52.0"
649
+ source = "registry+https://github.com/rust-lang/crates.io-index"
650
+ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
data/Cargo.toml ADDED
@@ -0,0 +1,3 @@
1
+ [workspace]
2
+ members = ["./ext/pf2", "./crates/backtrace-sys2"]
3
+ resolver = "2"