ballistics-engine 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cec61418d1b9192639dc793b3d72ed46a435126d43df52bdb71e545a94941cf3
4
- data.tar.gz: 5525b67a464265c9f107828568eb5f539f1b14d186d2f6a58bc51bd4a2e50d49
3
+ metadata.gz: 59832fce67e2bffa2599ca83679e40f54ede2967201271404f417dee3e84f44d
4
+ data.tar.gz: 7ebcf196351b1bae6154967231e00b8d06bdb597bec8eb37c9f476111928336b
5
5
  SHA512:
6
- metadata.gz: 02a6aeb318e77b9c24333c73811c4659316de5b2bd1b9792aa86b032cedb6a134caf3be2c6ef47d06b30571078dd9f35711ef171b6292f4a644f67a852298970
7
- data.tar.gz: da1ea9da474a65864723f79f32a0c8dcadb7560c414b0eabcd6d23fd847399638511831a3e944bba46da8e2ba36f8090450fa1b3e4be9ab62f601c671500119c
6
+ metadata.gz: be7a492471ab5a8f9a8a4ef13f680693c87406454648d963bb8dbb2f3d1d6832475ed5a96afa279c783621293a8447d2d6c25cc1224b17938f27ab4cc86a81b5
7
+ data.tar.gz: 9d24fd6562cd9bab1122f03ad9c639c073de053c5e6ffafbba220b566134f4dcde2bcf5a58333df8a35d4fce14d9c072f1dda98942789d024539e86f582d23fd
data/Cargo.lock CHANGED
@@ -17,56 +17,6 @@ dependencies = [
17
17
  "memchr",
18
18
  ]
19
19
 
20
- [[package]]
21
- name = "anstream"
22
- version = "0.6.21"
23
- source = "registry+https://github.com/rust-lang/crates.io-index"
24
- checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
25
- dependencies = [
26
- "anstyle",
27
- "anstyle-parse",
28
- "anstyle-query",
29
- "anstyle-wincon",
30
- "colorchoice",
31
- "is_terminal_polyfill",
32
- "utf8parse",
33
- ]
34
-
35
- [[package]]
36
- name = "anstyle"
37
- version = "1.0.13"
38
- source = "registry+https://github.com/rust-lang/crates.io-index"
39
- checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
40
-
41
- [[package]]
42
- name = "anstyle-parse"
43
- version = "0.2.7"
44
- source = "registry+https://github.com/rust-lang/crates.io-index"
45
- checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
46
- dependencies = [
47
- "utf8parse",
48
- ]
49
-
50
- [[package]]
51
- name = "anstyle-query"
52
- version = "1.1.5"
53
- source = "registry+https://github.com/rust-lang/crates.io-index"
54
- checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
55
- dependencies = [
56
- "windows-sys",
57
- ]
58
-
59
- [[package]]
60
- name = "anstyle-wincon"
61
- version = "3.0.11"
62
- source = "registry+https://github.com/rust-lang/crates.io-index"
63
- checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
64
- dependencies = [
65
- "anstyle",
66
- "once_cell_polyfill",
67
- "windows-sys",
68
- ]
69
-
70
20
  [[package]]
71
21
  name = "approx"
72
22
  version = "0.5.1"
@@ -93,26 +43,20 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
93
43
 
94
44
  [[package]]
95
45
  name = "ballistics-engine"
96
- version = "0.25.2"
46
+ version = "0.27.0"
97
47
  source = "registry+https://github.com/rust-lang/crates.io-index"
98
- checksum = "1bb270bb9aec05ce3100d97bb59927bb8eff46e6a4fa82f5e84e827a259fdcaa"
48
+ checksum = "dd6c452005af1a6a5ede7a0d439dbd773460a931ceb6ce28bbf3a0622ed1f0ba"
99
49
  dependencies = [
100
- "clap",
101
- "clap_complete",
102
- "csv",
103
- "dirs",
104
- "getrandom 0.4.3",
50
+ "getrandom",
105
51
  "js-sys",
106
52
  "nalgebra",
107
53
  "ndarray",
108
54
  "ndarray-npy",
109
55
  "rand",
110
56
  "rand_distr",
111
- "rayon",
112
57
  "serde",
113
58
  "serde-wasm-bindgen",
114
59
  "serde_json",
115
- "strsim",
116
60
  "thiserror",
117
61
  "wasm-bindgen",
118
62
  "wasm-bindgen-futures",
@@ -121,7 +65,7 @@ dependencies = [
121
65
 
122
66
  [[package]]
123
67
  name = "ballistics_engine_rb"
124
- version = "0.22.11"
68
+ version = "0.27.0"
125
69
  dependencies = [
126
70
  "ballistics-engine",
127
71
  "magnus",
@@ -215,61 +159,6 @@ dependencies = [
215
159
  "libloading",
216
160
  ]
217
161
 
218
- [[package]]
219
- name = "clap"
220
- version = "4.5.54"
221
- source = "registry+https://github.com/rust-lang/crates.io-index"
222
- checksum = "c6e6ff9dcd79cff5cd969a17a545d79e84ab086e444102a591e288a8aa3ce394"
223
- dependencies = [
224
- "clap_builder",
225
- "clap_derive",
226
- ]
227
-
228
- [[package]]
229
- name = "clap_builder"
230
- version = "4.5.54"
231
- source = "registry+https://github.com/rust-lang/crates.io-index"
232
- checksum = "fa42cf4d2b7a41bc8f663a7cab4031ebafa1bf3875705bfaf8466dc60ab52c00"
233
- dependencies = [
234
- "anstream",
235
- "anstyle",
236
- "clap_lex",
237
- "strsim",
238
- ]
239
-
240
- [[package]]
241
- name = "clap_complete"
242
- version = "4.6.5"
243
- source = "registry+https://github.com/rust-lang/crates.io-index"
244
- checksum = "e0a7a9bfdb35811f9e59832f0f05975114d2251b415fb534108e6f34060fd772"
245
- dependencies = [
246
- "clap",
247
- ]
248
-
249
- [[package]]
250
- name = "clap_derive"
251
- version = "4.5.49"
252
- source = "registry+https://github.com/rust-lang/crates.io-index"
253
- checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671"
254
- dependencies = [
255
- "heck",
256
- "proc-macro2",
257
- "quote",
258
- "syn",
259
- ]
260
-
261
- [[package]]
262
- name = "clap_lex"
263
- version = "0.7.7"
264
- source = "registry+https://github.com/rust-lang/crates.io-index"
265
- checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32"
266
-
267
- [[package]]
268
- name = "colorchoice"
269
- version = "1.0.4"
270
- source = "registry+https://github.com/rust-lang/crates.io-index"
271
- checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
272
-
273
162
  [[package]]
274
163
  name = "cpufeatures"
275
164
  version = "0.2.17"
@@ -297,31 +186,6 @@ dependencies = [
297
186
  "cfg-if",
298
187
  ]
299
188
 
300
- [[package]]
301
- name = "crossbeam-deque"
302
- version = "0.8.6"
303
- source = "registry+https://github.com/rust-lang/crates.io-index"
304
- checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
305
- dependencies = [
306
- "crossbeam-epoch",
307
- "crossbeam-utils",
308
- ]
309
-
310
- [[package]]
311
- name = "crossbeam-epoch"
312
- version = "0.9.18"
313
- source = "registry+https://github.com/rust-lang/crates.io-index"
314
- checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
315
- dependencies = [
316
- "crossbeam-utils",
317
- ]
318
-
319
- [[package]]
320
- name = "crossbeam-utils"
321
- version = "0.8.21"
322
- source = "registry+https://github.com/rust-lang/crates.io-index"
323
- checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
324
-
325
189
  [[package]]
326
190
  name = "crypto-common"
327
191
  version = "0.1.7"
@@ -332,27 +196,6 @@ dependencies = [
332
196
  "typenum",
333
197
  ]
334
198
 
335
- [[package]]
336
- name = "csv"
337
- version = "1.4.0"
338
- source = "registry+https://github.com/rust-lang/crates.io-index"
339
- checksum = "52cd9d68cf7efc6ddfaaee42e7288d3a99d613d4b50f76ce9827ae0c6e14f938"
340
- dependencies = [
341
- "csv-core",
342
- "itoa",
343
- "ryu",
344
- "serde_core",
345
- ]
346
-
347
- [[package]]
348
- name = "csv-core"
349
- version = "0.1.13"
350
- source = "registry+https://github.com/rust-lang/crates.io-index"
351
- checksum = "704a3c26996a80471189265814dbc2c257598b96b8a7feae2d31ace646bb9782"
352
- dependencies = [
353
- "memchr",
354
- ]
355
-
356
199
  [[package]]
357
200
  name = "derive_arbitrary"
358
201
  version = "1.4.2"
@@ -374,27 +217,6 @@ dependencies = [
374
217
  "crypto-common",
375
218
  ]
376
219
 
377
- [[package]]
378
- name = "dirs"
379
- version = "6.0.0"
380
- source = "registry+https://github.com/rust-lang/crates.io-index"
381
- checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e"
382
- dependencies = [
383
- "dirs-sys",
384
- ]
385
-
386
- [[package]]
387
- name = "dirs-sys"
388
- version = "0.5.0"
389
- source = "registry+https://github.com/rust-lang/crates.io-index"
390
- checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab"
391
- dependencies = [
392
- "libc",
393
- "option-ext",
394
- "redox_users",
395
- "windows-sys",
396
- ]
397
-
398
220
  [[package]]
399
221
  name = "either"
400
222
  version = "1.15.0"
@@ -453,17 +275,6 @@ dependencies = [
453
275
  "version_check",
454
276
  ]
455
277
 
456
- [[package]]
457
- name = "getrandom"
458
- version = "0.2.17"
459
- source = "registry+https://github.com/rust-lang/crates.io-index"
460
- checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
461
- dependencies = [
462
- "cfg-if",
463
- "libc",
464
- "wasi",
465
- ]
466
-
467
278
  [[package]]
468
279
  name = "getrandom"
469
280
  version = "0.4.3"
@@ -514,12 +325,6 @@ version = "0.17.1"
514
325
  source = "registry+https://github.com/rust-lang/crates.io-index"
515
326
  checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
516
327
 
517
- [[package]]
518
- name = "heck"
519
- version = "0.5.0"
520
- source = "registry+https://github.com/rust-lang/crates.io-index"
521
- checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
522
-
523
328
  [[package]]
524
329
  name = "indexmap"
525
330
  version = "2.14.0"
@@ -530,12 +335,6 @@ dependencies = [
530
335
  "hashbrown",
531
336
  ]
532
337
 
533
- [[package]]
534
- name = "is_terminal_polyfill"
535
- version = "1.70.2"
536
- source = "registry+https://github.com/rust-lang/crates.io-index"
537
- checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
538
-
539
338
  [[package]]
540
339
  name = "itertools"
541
340
  version = "0.12.1"
@@ -589,15 +388,6 @@ version = "0.2.16"
589
388
  source = "registry+https://github.com/rust-lang/crates.io-index"
590
389
  checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
591
390
 
592
- [[package]]
593
- name = "libredox"
594
- version = "0.1.17"
595
- source = "registry+https://github.com/rust-lang/crates.io-index"
596
- checksum = "f02ab6bace2054fb888a3c16f990117b579d14a3088e472d63c6011fa185c9d3"
597
- dependencies = [
598
- "libc",
599
- ]
600
-
601
391
  [[package]]
602
392
  name = "log"
603
393
  version = "0.4.33"
@@ -784,18 +574,6 @@ version = "1.21.3"
784
574
  source = "registry+https://github.com/rust-lang/crates.io-index"
785
575
  checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
786
576
 
787
- [[package]]
788
- name = "once_cell_polyfill"
789
- version = "1.70.2"
790
- source = "registry+https://github.com/rust-lang/crates.io-index"
791
- checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
792
-
793
- [[package]]
794
- name = "option-ext"
795
- version = "0.2.0"
796
- source = "registry+https://github.com/rust-lang/crates.io-index"
797
- checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
798
-
799
577
  [[package]]
800
578
  name = "pest"
801
579
  version = "2.8.5"
@@ -910,7 +688,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
910
688
  checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80"
911
689
  dependencies = [
912
690
  "chacha20",
913
- "getrandom 0.4.3",
691
+ "getrandom",
914
692
  "rand_core",
915
693
  ]
916
694
 
@@ -936,26 +714,6 @@ version = "0.2.1"
936
714
  source = "registry+https://github.com/rust-lang/crates.io-index"
937
715
  checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
938
716
 
939
- [[package]]
940
- name = "rayon"
941
- version = "1.11.0"
942
- source = "registry+https://github.com/rust-lang/crates.io-index"
943
- checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f"
944
- dependencies = [
945
- "either",
946
- "rayon-core",
947
- ]
948
-
949
- [[package]]
950
- name = "rayon-core"
951
- version = "1.13.0"
952
- source = "registry+https://github.com/rust-lang/crates.io-index"
953
- checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
954
- dependencies = [
955
- "crossbeam-deque",
956
- "crossbeam-utils",
957
- ]
958
-
959
717
  [[package]]
960
718
  name = "rb-sys"
961
719
  version = "0.9.128"
@@ -986,17 +744,6 @@ version = "0.2.3"
986
744
  source = "registry+https://github.com/rust-lang/crates.io-index"
987
745
  checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
988
746
 
989
- [[package]]
990
- name = "redox_users"
991
- version = "0.5.2"
992
- source = "registry+https://github.com/rust-lang/crates.io-index"
993
- checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac"
994
- dependencies = [
995
- "getrandom 0.2.17",
996
- "libredox",
997
- "thiserror",
998
- ]
999
-
1000
747
  [[package]]
1001
748
  name = "regex"
1002
749
  version = "1.12.2"
@@ -1038,12 +785,6 @@ version = "1.0.22"
1038
785
  source = "registry+https://github.com/rust-lang/crates.io-index"
1039
786
  checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
1040
787
 
1041
- [[package]]
1042
- name = "ryu"
1043
- version = "1.0.22"
1044
- source = "registry+https://github.com/rust-lang/crates.io-index"
1045
- checksum = "a50f4cf475b65d88e057964e0e9bb1f0aa9bbb2036dc65c64596b42932536984"
1046
-
1047
788
  [[package]]
1048
789
  name = "safe_arch"
1049
790
  version = "1.0.0"
@@ -1160,12 +901,6 @@ version = "0.4.11"
1160
901
  source = "registry+https://github.com/rust-lang/crates.io-index"
1161
902
  checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589"
1162
903
 
1163
- [[package]]
1164
- name = "strsim"
1165
- version = "0.11.1"
1166
- source = "registry+https://github.com/rust-lang/crates.io-index"
1167
- checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
1168
-
1169
904
  [[package]]
1170
905
  name = "syn"
1171
906
  version = "2.0.114"
@@ -1215,24 +950,12 @@ version = "1.0.22"
1215
950
  source = "registry+https://github.com/rust-lang/crates.io-index"
1216
951
  checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
1217
952
 
1218
- [[package]]
1219
- name = "utf8parse"
1220
- version = "0.2.2"
1221
- source = "registry+https://github.com/rust-lang/crates.io-index"
1222
- checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
1223
-
1224
953
  [[package]]
1225
954
  name = "version_check"
1226
955
  version = "0.9.5"
1227
956
  source = "registry+https://github.com/rust-lang/crates.io-index"
1228
957
  checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1229
958
 
1230
- [[package]]
1231
- name = "wasi"
1232
- version = "0.11.1+wasi-snapshot-preview1"
1233
- source = "registry+https://github.com/rust-lang/crates.io-index"
1234
- checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
1235
-
1236
959
  [[package]]
1237
960
  name = "wasm-bindgen"
1238
961
  version = "0.2.108"
@@ -1318,15 +1041,6 @@ version = "0.2.1"
1318
1041
  source = "registry+https://github.com/rust-lang/crates.io-index"
1319
1042
  checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
1320
1043
 
1321
- [[package]]
1322
- name = "windows-sys"
1323
- version = "0.61.2"
1324
- source = "registry+https://github.com/rust-lang/crates.io-index"
1325
- checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
1326
- dependencies = [
1327
- "windows-link",
1328
- ]
1329
-
1330
1044
  [[package]]
1331
1045
  name = "zip"
1332
1046
  version = "6.0.0"
data/Cargo.toml CHANGED
@@ -3,7 +3,7 @@
3
3
  # rake-compiler/rb-sys cargo-metadata lookup resolves (newer rb-sys does not
4
4
  # normalize hyphens). The published gem name is set in the gemspec, independent.
5
5
  name = "ballistics_engine_rb"
6
- version = "0.26.0"
6
+ version = "0.27.0"
7
7
  edition = "2021"
8
8
  authors = ["Alex Jokela <email@tinycomputers.io>"]
9
9
  description = "Ruby bindings for ballistics-engine"
@@ -15,7 +15,7 @@ name = "ballistics_engine_rb"
15
15
  crate-type = ["cdylib"]
16
16
 
17
17
  [dependencies]
18
- ballistics-engine = { version = "0.26.0", default-features = false }
18
+ ballistics-engine = { version = "0.27.0", default-features = false }
19
19
  magnus = "0.8"
20
20
 
21
21
  [profile.release]
@@ -4,7 +4,7 @@ require "ballistics_engine_rb"
4
4
 
5
5
  # Top-level module for the BallisticsEngine gem
6
6
  module BallisticsEngine
7
- VERSION = "0.26.0"
7
+ VERSION = "0.27.0"
8
8
 
9
9
  class Error < StandardError; end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ballistics-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Jokela
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-17 00:00:00.000000000 Z
11
+ date: 2026-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys