rust-geo-python 0.1.3__tar.gz → 0.1.5__tar.gz

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.
@@ -29,6 +29,12 @@ version = "1.5.0"
29
29
  source = "registry+https://github.com/rust-lang/crates.io-index"
30
30
  checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
31
31
 
32
+ [[package]]
33
+ name = "cfg-if"
34
+ version = "1.0.4"
35
+ source = "registry+https://github.com/rust-lang/crates.io-index"
36
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
37
+
32
38
  [[package]]
33
39
  name = "crossbeam-deque"
34
40
  version = "0.8.6"
@@ -90,9 +96,9 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
90
96
 
91
97
  [[package]]
92
98
  name = "geo"
93
- version = "0.31.0"
99
+ version = "0.32.0"
94
100
  source = "registry+https://github.com/rust-lang/crates.io-index"
95
- checksum = "2fc1a1678e54befc9b4bcab6cd43b8e7f834ae8ea121118b0fd8c42747675b4a"
101
+ checksum = "3f3901269ec6d4f6068d3f09e5f02f995bd076398dcd1dfec407cd230b02d11b"
96
102
  dependencies = [
97
103
  "earcutr",
98
104
  "float_next_after",
@@ -101,16 +107,27 @@ dependencies = [
101
107
  "i_overlay",
102
108
  "log",
103
109
  "num-traits",
110
+ "rand",
104
111
  "robust",
105
112
  "rstar",
113
+ "sif-itree",
106
114
  "spade",
107
115
  ]
108
116
 
117
+ [[package]]
118
+ name = "geo-traits"
119
+ version = "0.3.0"
120
+ source = "registry+https://github.com/rust-lang/crates.io-index"
121
+ checksum = "2e7c353d12a704ccfab1ba8bfb1a7fe6cb18b665bf89d37f4f7890edcd260206"
122
+ dependencies = [
123
+ "geo-types",
124
+ ]
125
+
109
126
  [[package]]
110
127
  name = "geo-types"
111
- version = "0.7.17"
128
+ version = "0.7.18"
112
129
  source = "registry+https://github.com/rust-lang/crates.io-index"
113
- checksum = "75a4dcd69d35b2c87a7c83bce9af69fd65c9d68d3833a0ded568983928f3fc99"
130
+ checksum = "24f8647af4005fa11da47cd56252c6ef030be8fa97bdbf355e7dfb6348f0a82c"
114
131
  dependencies = [
115
132
  "approx",
116
133
  "num-traits",
@@ -128,6 +145,17 @@ dependencies = [
128
145
  "libm",
129
146
  ]
130
147
 
148
+ [[package]]
149
+ name = "getrandom"
150
+ version = "0.2.16"
151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
152
+ checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
153
+ dependencies = [
154
+ "cfg-if",
155
+ "libc",
156
+ "wasi",
157
+ ]
158
+
131
159
  [[package]]
132
160
  name = "hash32"
133
161
  version = "0.3.1"
@@ -148,6 +176,12 @@ dependencies = [
148
176
  "foldhash",
149
177
  ]
150
178
 
179
+ [[package]]
180
+ name = "hashbrown"
181
+ version = "0.16.1"
182
+ source = "registry+https://github.com/rust-lang/crates.io-index"
183
+ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
184
+
151
185
  [[package]]
152
186
  name = "heapless"
153
187
  version = "0.8.0"
@@ -207,6 +241,16 @@ version = "0.16.0"
207
241
  source = "registry+https://github.com/rust-lang/crates.io-index"
208
242
  checksum = "35e6d558e6d4c7b82bc51d9c771e7a927862a161a7d87bf2b0541450e0e20915"
209
243
 
244
+ [[package]]
245
+ name = "indexmap"
246
+ version = "2.12.1"
247
+ source = "registry+https://github.com/rust-lang/crates.io-index"
248
+ checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2"
249
+ dependencies = [
250
+ "equivalent",
251
+ "hashbrown 0.16.1",
252
+ ]
253
+
210
254
  [[package]]
211
255
  name = "indoc"
212
256
  version = "2.0.7"
@@ -227,9 +271,9 @@ dependencies = [
227
271
 
228
272
  [[package]]
229
273
  name = "libc"
230
- version = "0.2.177"
274
+ version = "0.2.178"
231
275
  source = "registry+https://github.com/rust-lang/crates.io-index"
232
- checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
276
+ checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091"
233
277
 
234
278
  [[package]]
235
279
  name = "libm"
@@ -239,9 +283,9 @@ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
239
283
 
240
284
  [[package]]
241
285
  name = "log"
242
- version = "0.4.28"
286
+ version = "0.4.29"
243
287
  source = "registry+https://github.com/rust-lang/crates.io-index"
244
- checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
288
+ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
245
289
 
246
290
  [[package]]
247
291
  name = "matrixmultiply"
@@ -253,6 +297,12 @@ dependencies = [
253
297
  "rawpointer",
254
298
  ]
255
299
 
300
+ [[package]]
301
+ name = "memchr"
302
+ version = "2.7.6"
303
+ source = "registry+https://github.com/rust-lang/crates.io-index"
304
+ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
305
+
256
306
  [[package]]
257
307
  name = "memoffset"
258
308
  version = "0.9.1"
@@ -264,9 +314,9 @@ dependencies = [
264
314
 
265
315
  [[package]]
266
316
  name = "ndarray"
267
- version = "0.16.1"
317
+ version = "0.17.1"
268
318
  source = "registry+https://github.com/rust-lang/crates.io-index"
269
- checksum = "882ed72dce9365842bf196bdeedf5055305f11fc8c03dee7bb0194a6cad34841"
319
+ checksum = "0c7c9125e8f6f10c9da3aad044cc918cf8784fa34de857b1aa68038eb05a50a9"
270
320
  dependencies = [
271
321
  "matrixmultiply",
272
322
  "num-complex",
@@ -306,11 +356,33 @@ dependencies = [
306
356
  "libm",
307
357
  ]
308
358
 
359
+ [[package]]
360
+ name = "num_enum"
361
+ version = "0.7.5"
362
+ source = "registry+https://github.com/rust-lang/crates.io-index"
363
+ checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c"
364
+ dependencies = [
365
+ "num_enum_derive",
366
+ "rustversion",
367
+ ]
368
+
369
+ [[package]]
370
+ name = "num_enum_derive"
371
+ version = "0.7.5"
372
+ source = "registry+https://github.com/rust-lang/crates.io-index"
373
+ checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7"
374
+ dependencies = [
375
+ "proc-macro-crate",
376
+ "proc-macro2",
377
+ "quote",
378
+ "syn",
379
+ ]
380
+
309
381
  [[package]]
310
382
  name = "numpy"
311
- version = "0.27.0"
383
+ version = "0.27.1"
312
384
  source = "registry+https://github.com/rust-lang/crates.io-index"
313
- checksum = "0fa24ffc88cf9d43f7269d6b6a0d0a00010924a8cc90604a21ef9c433b66998d"
385
+ checksum = "7aac2e6a6e4468ffa092ad43c39b81c79196c2bb773b8db4085f695efe3bba17"
314
386
  dependencies = [
315
387
  "libc",
316
388
  "ndarray",
@@ -343,6 +415,24 @@ dependencies = [
343
415
  "portable-atomic",
344
416
  ]
345
417
 
418
+ [[package]]
419
+ name = "ppv-lite86"
420
+ version = "0.2.21"
421
+ source = "registry+https://github.com/rust-lang/crates.io-index"
422
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
423
+ dependencies = [
424
+ "zerocopy",
425
+ ]
426
+
427
+ [[package]]
428
+ name = "proc-macro-crate"
429
+ version = "3.4.0"
430
+ source = "registry+https://github.com/rust-lang/crates.io-index"
431
+ checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983"
432
+ dependencies = [
433
+ "toml_edit",
434
+ ]
435
+
346
436
  [[package]]
347
437
  name = "proc-macro2"
348
438
  version = "1.0.103"
@@ -354,9 +444,9 @@ dependencies = [
354
444
 
355
445
  [[package]]
356
446
  name = "pyo3"
357
- version = "0.27.1"
447
+ version = "0.27.2"
358
448
  source = "registry+https://github.com/rust-lang/crates.io-index"
359
- checksum = "37a6df7eab65fc7bee654a421404947e10a0f7085b6951bf2ea395f4659fb0cf"
449
+ checksum = "ab53c047fcd1a1d2a8820fe84f05d6be69e9526be40cb03b73f86b6b03e6d87d"
360
450
  dependencies = [
361
451
  "indoc",
362
452
  "libc",
@@ -371,18 +461,18 @@ dependencies = [
371
461
 
372
462
  [[package]]
373
463
  name = "pyo3-build-config"
374
- version = "0.27.1"
464
+ version = "0.27.2"
375
465
  source = "registry+https://github.com/rust-lang/crates.io-index"
376
- checksum = "f77d387774f6f6eec64a004eac0ed525aab7fa1966d94b42f743797b3e395afb"
466
+ checksum = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6"
377
467
  dependencies = [
378
468
  "target-lexicon",
379
469
  ]
380
470
 
381
471
  [[package]]
382
472
  name = "pyo3-ffi"
383
- version = "0.27.1"
473
+ version = "0.27.2"
384
474
  source = "registry+https://github.com/rust-lang/crates.io-index"
385
- checksum = "2dd13844a4242793e02df3e2ec093f540d948299a6a77ea9ce7afd8623f542be"
475
+ checksum = "1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089"
386
476
  dependencies = [
387
477
  "libc",
388
478
  "pyo3-build-config",
@@ -390,9 +480,9 @@ dependencies = [
390
480
 
391
481
  [[package]]
392
482
  name = "pyo3-macros"
393
- version = "0.27.1"
483
+ version = "0.27.2"
394
484
  source = "registry+https://github.com/rust-lang/crates.io-index"
395
- checksum = "eaf8f9f1108270b90d3676b8679586385430e5c0bb78bb5f043f95499c821a71"
485
+ checksum = "0a5b10c9bf9888125d917fb4d2ca2d25c8df94c7ab5a52e13313a07e050a3b02"
396
486
  dependencies = [
397
487
  "proc-macro2",
398
488
  "pyo3-macros-backend",
@@ -402,9 +492,9 @@ dependencies = [
402
492
 
403
493
  [[package]]
404
494
  name = "pyo3-macros-backend"
405
- version = "0.27.1"
495
+ version = "0.27.2"
406
496
  source = "registry+https://github.com/rust-lang/crates.io-index"
407
- checksum = "70a3b2274450ba5288bc9b8c1b69ff569d1d61189d4bff38f8d22e03d17f932b"
497
+ checksum = "03b51720d314836e53327f5871d4c0cfb4fb37cc2c4a11cc71907a86342c40f9"
408
498
  dependencies = [
409
499
  "heck",
410
500
  "proc-macro2",
@@ -422,6 +512,36 @@ dependencies = [
422
512
  "proc-macro2",
423
513
  ]
424
514
 
515
+ [[package]]
516
+ name = "rand"
517
+ version = "0.8.5"
518
+ source = "registry+https://github.com/rust-lang/crates.io-index"
519
+ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
520
+ dependencies = [
521
+ "libc",
522
+ "rand_chacha",
523
+ "rand_core",
524
+ ]
525
+
526
+ [[package]]
527
+ name = "rand_chacha"
528
+ version = "0.3.1"
529
+ source = "registry+https://github.com/rust-lang/crates.io-index"
530
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
531
+ dependencies = [
532
+ "ppv-lite86",
533
+ "rand_core",
534
+ ]
535
+
536
+ [[package]]
537
+ name = "rand_core"
538
+ version = "0.6.4"
539
+ source = "registry+https://github.com/rust-lang/crates.io-index"
540
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
541
+ dependencies = [
542
+ "getrandom",
543
+ ]
544
+
425
545
  [[package]]
426
546
  name = "rawpointer"
427
547
  version = "0.2.1"
@@ -467,12 +587,14 @@ dependencies = [
467
587
 
468
588
  [[package]]
469
589
  name = "rust-geo-python"
470
- version = "0.1.3"
590
+ version = "0.1.5"
471
591
  dependencies = [
472
592
  "geo",
473
593
  "ndarray",
474
594
  "numpy",
475
595
  "pyo3",
596
+ "wkb",
597
+ "wkt",
476
598
  ]
477
599
 
478
600
  [[package]]
@@ -517,6 +639,12 @@ dependencies = [
517
639
  "syn",
518
640
  ]
519
641
 
642
+ [[package]]
643
+ name = "sif-itree"
644
+ version = "0.4.0"
645
+ source = "registry+https://github.com/rust-lang/crates.io-index"
646
+ checksum = "142099cd6db3c4fab61e5133c62ff80b26674391e195860791fda0b1be3e5080"
647
+
520
648
  [[package]]
521
649
  name = "smallvec"
522
650
  version = "1.15.1"
@@ -529,7 +657,7 @@ version = "2.15.0"
529
657
  source = "registry+https://github.com/rust-lang/crates.io-index"
530
658
  checksum = "fb313e1c8afee5b5647e00ee0fe6855e3d529eb863a0fdae1d60006c4d1e9990"
531
659
  dependencies = [
532
- "hashbrown",
660
+ "hashbrown 0.15.5",
533
661
  "num-traits",
534
662
  "robust",
535
663
  "smallvec",
@@ -543,9 +671,9 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
543
671
 
544
672
  [[package]]
545
673
  name = "syn"
546
- version = "2.0.110"
674
+ version = "2.0.111"
547
675
  source = "registry+https://github.com/rust-lang/crates.io-index"
548
- checksum = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea"
676
+ checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
549
677
  dependencies = [
550
678
  "proc-macro2",
551
679
  "quote",
@@ -558,6 +686,56 @@ version = "0.13.3"
558
686
  source = "registry+https://github.com/rust-lang/crates.io-index"
559
687
  checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
560
688
 
689
+ [[package]]
690
+ name = "thiserror"
691
+ version = "1.0.69"
692
+ source = "registry+https://github.com/rust-lang/crates.io-index"
693
+ checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
694
+ dependencies = [
695
+ "thiserror-impl",
696
+ ]
697
+
698
+ [[package]]
699
+ name = "thiserror-impl"
700
+ version = "1.0.69"
701
+ source = "registry+https://github.com/rust-lang/crates.io-index"
702
+ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
703
+ dependencies = [
704
+ "proc-macro2",
705
+ "quote",
706
+ "syn",
707
+ ]
708
+
709
+ [[package]]
710
+ name = "toml_datetime"
711
+ version = "0.7.3"
712
+ source = "registry+https://github.com/rust-lang/crates.io-index"
713
+ checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533"
714
+ dependencies = [
715
+ "serde_core",
716
+ ]
717
+
718
+ [[package]]
719
+ name = "toml_edit"
720
+ version = "0.23.9"
721
+ source = "registry+https://github.com/rust-lang/crates.io-index"
722
+ checksum = "5d7cbc3b4b49633d57a0509303158ca50de80ae32c265093b24c414705807832"
723
+ dependencies = [
724
+ "indexmap",
725
+ "toml_datetime",
726
+ "toml_parser",
727
+ "winnow",
728
+ ]
729
+
730
+ [[package]]
731
+ name = "toml_parser"
732
+ version = "1.0.4"
733
+ source = "registry+https://github.com/rust-lang/crates.io-index"
734
+ checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e"
735
+ dependencies = [
736
+ "winnow",
737
+ ]
738
+
561
739
  [[package]]
562
740
  name = "unicode-ident"
563
741
  version = "1.0.22"
@@ -569,3 +747,63 @@ name = "unindent"
569
747
  version = "0.2.4"
570
748
  source = "registry+https://github.com/rust-lang/crates.io-index"
571
749
  checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
750
+
751
+ [[package]]
752
+ name = "wasi"
753
+ version = "0.11.1+wasi-snapshot-preview1"
754
+ source = "registry+https://github.com/rust-lang/crates.io-index"
755
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
756
+
757
+ [[package]]
758
+ name = "winnow"
759
+ version = "0.7.14"
760
+ source = "registry+https://github.com/rust-lang/crates.io-index"
761
+ checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829"
762
+ dependencies = [
763
+ "memchr",
764
+ ]
765
+
766
+ [[package]]
767
+ name = "wkb"
768
+ version = "0.9.2"
769
+ source = "registry+https://github.com/rust-lang/crates.io-index"
770
+ checksum = "a120b336c7ad17749026d50427c23d838ecb50cd64aaea6254b5030152f890a9"
771
+ dependencies = [
772
+ "byteorder",
773
+ "geo-traits",
774
+ "num_enum",
775
+ "thiserror",
776
+ ]
777
+
778
+ [[package]]
779
+ name = "wkt"
780
+ version = "0.14.0"
781
+ source = "registry+https://github.com/rust-lang/crates.io-index"
782
+ checksum = "efb2b923ccc882312e559ffaa832a055ba9d1ac0cc8e86b3e25453247e4b81d7"
783
+ dependencies = [
784
+ "geo-traits",
785
+ "geo-types",
786
+ "log",
787
+ "num-traits",
788
+ "thiserror",
789
+ ]
790
+
791
+ [[package]]
792
+ name = "zerocopy"
793
+ version = "0.8.31"
794
+ source = "registry+https://github.com/rust-lang/crates.io-index"
795
+ checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3"
796
+ dependencies = [
797
+ "zerocopy-derive",
798
+ ]
799
+
800
+ [[package]]
801
+ name = "zerocopy-derive"
802
+ version = "0.8.31"
803
+ source = "registry+https://github.com/rust-lang/crates.io-index"
804
+ checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a"
805
+ dependencies = [
806
+ "proc-macro2",
807
+ "quote",
808
+ "syn",
809
+ ]
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-geo-python"
3
- version = "0.1.3"
3
+ version = "0.1.5"
4
4
  authors = ["plooney"]
5
5
  edition = "2024"
6
6
  readme = "README.md"
@@ -11,9 +11,11 @@ crate-type = ["cdylib"]
11
11
 
12
12
  [dependencies]
13
13
  pyo3 = { version = "0.27.1", features = ["extension-module", "abi3-py37"] }
14
- ndarray = {version="0.16", features = ["rayon"]}
15
- numpy = "0.27.0"
16
- geo = { version = "0.31.0" }
14
+ ndarray = {version="0.17.1", features = ["rayon"]}
15
+ numpy = "0.27.1"
16
+ geo = { version = "0.32.0" }
17
+ wkt = "0.14.0"
18
+ wkb = "0.9.1"
17
19
 
18
20
  [workspace]
19
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rust-geo-python
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Author: plooney
5
5
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
6
6