openklic 0.1.0__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.
Files changed (53) hide show
  1. openklic-0.1.0/Cargo.lock +627 -0
  2. openklic-0.1.0/Cargo.toml +29 -0
  3. openklic-0.1.0/PKG-INFO +208 -0
  4. openklic-0.1.0/README.md +176 -0
  5. openklic-0.1.0/crates/export/Cargo.toml +23 -0
  6. openklic-0.1.0/crates/export/README.md +40 -0
  7. openklic-0.1.0/crates/export/examples/export.rs +162 -0
  8. openklic-0.1.0/crates/export/examples/memory.rs +143 -0
  9. openklic-0.1.0/crates/export/src/bundle.rs +744 -0
  10. openklic-0.1.0/crates/export/src/documents.arcade +61 -0
  11. openklic-0.1.0/crates/export/src/documents.rs +344 -0
  12. openklic-0.1.0/crates/export/src/dxf.rs +755 -0
  13. openklic-0.1.0/crates/export/src/geojson.rs +200 -0
  14. openklic-0.1.0/crates/export/src/gpkg.rs +1107 -0
  15. openklic-0.1.0/crates/export/src/lib.rs +128 -0
  16. openklic-0.1.0/crates/export/src/lyrx.rs +582 -0
  17. openklic-0.1.0/crates/export/src/qgs.rs +315 -0
  18. openklic-0.1.0/crates/export/src/qml.rs +322 -0
  19. openklic-0.1.0/crates/export/src/related.rs +506 -0
  20. openklic-0.1.0/crates/export/src/separate.rs +187 -0
  21. openklic-0.1.0/crates/export/src/shapefile.rs +746 -0
  22. openklic-0.1.0/crates/export/src/style.rs +622 -0
  23. openklic-0.1.0/crates/export/src/table.rs +401 -0
  24. openklic-0.1.0/crates/imkl/Cargo.toml +25 -0
  25. openklic-0.1.0/crates/imkl/README.md +114 -0
  26. openklic-0.1.0/crates/imkl/examples/bench.rs +81 -0
  27. openklic-0.1.0/crates/imkl/examples/read.rs +120 -0
  28. openklic-0.1.0/crates/imkl/src/gml.rs +871 -0
  29. openklic-0.1.0/crates/imkl/src/json.rs +148 -0
  30. openklic-0.1.0/crates/imkl/src/lib.rs +243 -0
  31. openklic-0.1.0/crates/imkl/src/package.rs +387 -0
  32. openklic-0.1.0/crates/imkl/src/read.rs +632 -0
  33. openklic-0.1.0/crates/imkl/src/record.rs +351 -0
  34. openklic-0.1.0/crates/imkl/src/rules.rs +401 -0
  35. openklic-0.1.0/crates/imkl/src/xml.rs +957 -0
  36. openklic-0.1.0/crates/imkl/tests/data/99S0000001_1/GI_gebiedsinformatielevering_99S0000001_1_V2.xml +387 -0
  37. openklic-0.1.0/crates/imkl/tests/data/99S0000001_1/LI_99S0000001_1.xml +23 -0
  38. openklic-0.1.0/crates/imkl/tests/robustness.rs +1921 -0
  39. openklic-0.1.0/crates/layers/Cargo.toml +16 -0
  40. openklic-0.1.0/crates/layers/README.md +32 -0
  41. openklic-0.1.0/crates/layers/src/documents.rs +295 -0
  42. openklic-0.1.0/crates/layers/src/lib.rs +863 -0
  43. openklic-0.1.0/crates/python/Cargo.toml +29 -0
  44. openklic-0.1.0/crates/python/README.md +176 -0
  45. openklic-0.1.0/crates/python/src/convert.rs +256 -0
  46. openklic-0.1.0/crates/python/src/lib.rs +445 -0
  47. openklic-0.1.0/crates/python/tests/test_read.py +410 -0
  48. openklic-0.1.0/pyproject.toml +43 -0
  49. openklic-0.1.0/python/openklic/__init__.py +70 -0
  50. openklic-0.1.0/python/openklic/__main__.py +154 -0
  51. openklic-0.1.0/python/openklic/_engine.pyi +155 -0
  52. openklic-0.1.0/python/openklic/py.typed +0 -0
  53. openklic-0.1.0/python/openklic/types.py +136 -0
@@ -0,0 +1,627 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "bitflags"
7
+ version = "2.13.2"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
10
+
11
+ [[package]]
12
+ name = "bumpalo"
13
+ version = "3.20.3"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
16
+
17
+ [[package]]
18
+ name = "cc"
19
+ version = "1.10.0"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "86e055fa6e3e40ad6187ba25b6855eeb635d5271f8e0f0e1e9a5826b8d75bea0"
22
+ dependencies = [
23
+ "find-msvc-tools",
24
+ "shlex",
25
+ ]
26
+
27
+ [[package]]
28
+ name = "cfg-if"
29
+ version = "1.0.5"
30
+ source = "registry+https://github.com/rust-lang/crates.io-index"
31
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
32
+
33
+ [[package]]
34
+ name = "cfg_aliases"
35
+ version = "0.2.2"
36
+ source = "registry+https://github.com/rust-lang/crates.io-index"
37
+ checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
38
+
39
+ [[package]]
40
+ name = "crc32fast"
41
+ version = "1.5.3"
42
+ source = "registry+https://github.com/rust-lang/crates.io-index"
43
+ checksum = "0ba106e844045ddc02c20768ac4b0b7cb45f2cc2ecbd833ac9f5dacb183c2055"
44
+ dependencies = [
45
+ "cfg-if",
46
+ ]
47
+
48
+ [[package]]
49
+ name = "equivalent"
50
+ version = "1.0.3"
51
+ source = "registry+https://github.com/rust-lang/crates.io-index"
52
+ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
53
+
54
+ [[package]]
55
+ name = "fallible-iterator"
56
+ version = "0.3.0"
57
+ source = "registry+https://github.com/rust-lang/crates.io-index"
58
+ checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
59
+
60
+ [[package]]
61
+ name = "fallible-streaming-iterator"
62
+ version = "0.1.9"
63
+ source = "registry+https://github.com/rust-lang/crates.io-index"
64
+ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
65
+
66
+ [[package]]
67
+ name = "find-msvc-tools"
68
+ version = "0.1.15"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
71
+
72
+ [[package]]
73
+ name = "flate2"
74
+ version = "1.1.10"
75
+ source = "registry+https://github.com/rust-lang/crates.io-index"
76
+ checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
77
+ dependencies = [
78
+ "zlib-rs",
79
+ ]
80
+
81
+ [[package]]
82
+ name = "foldhash"
83
+ version = "0.2.0"
84
+ source = "registry+https://github.com/rust-lang/crates.io-index"
85
+ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
86
+
87
+ [[package]]
88
+ name = "futures-core"
89
+ version = "0.3.34"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
92
+
93
+ [[package]]
94
+ name = "futures-task"
95
+ version = "0.3.34"
96
+ source = "registry+https://github.com/rust-lang/crates.io-index"
97
+ checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
98
+
99
+ [[package]]
100
+ name = "futures-util"
101
+ version = "0.3.34"
102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
103
+ checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
104
+ dependencies = [
105
+ "futures-core",
106
+ "futures-task",
107
+ "pin-project-lite",
108
+ "slab",
109
+ ]
110
+
111
+ [[package]]
112
+ name = "getrandom"
113
+ version = "0.4.3"
114
+ source = "registry+https://github.com/rust-lang/crates.io-index"
115
+ checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
116
+ dependencies = [
117
+ "cfg-if",
118
+ "js-sys",
119
+ "libc",
120
+ "r-efi",
121
+ "wasm-bindgen",
122
+ ]
123
+
124
+ [[package]]
125
+ name = "hashbrown"
126
+ version = "0.17.1"
127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
128
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
129
+ dependencies = [
130
+ "foldhash",
131
+ ]
132
+
133
+ [[package]]
134
+ name = "hashlink"
135
+ version = "0.12.2"
136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
137
+ checksum = "a596f1b20ed2cc5ecac41a164aaebc7258057060f06c0cf7a2ba3991ee7990fb"
138
+ dependencies = [
139
+ "hashbrown",
140
+ ]
141
+
142
+ [[package]]
143
+ name = "heck"
144
+ version = "0.5.0"
145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
146
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
147
+
148
+ [[package]]
149
+ name = "indexmap"
150
+ version = "2.14.2"
151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
152
+ checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
153
+ dependencies = [
154
+ "equivalent",
155
+ "hashbrown",
156
+ ]
157
+
158
+ [[package]]
159
+ name = "itoa"
160
+ version = "1.0.18"
161
+ source = "registry+https://github.com/rust-lang/crates.io-index"
162
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
163
+
164
+ [[package]]
165
+ name = "js-sys"
166
+ version = "0.3.106"
167
+ source = "registry+https://github.com/rust-lang/crates.io-index"
168
+ checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
169
+ dependencies = [
170
+ "cfg-if",
171
+ "futures-util",
172
+ "wasm-bindgen",
173
+ ]
174
+
175
+ [[package]]
176
+ name = "libc"
177
+ version = "0.2.191"
178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
179
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
180
+
181
+ [[package]]
182
+ name = "libsqlite3-sys"
183
+ version = "0.40.0"
184
+ source = "registry+https://github.com/rust-lang/crates.io-index"
185
+ checksum = "b06e69070b7e12262b0cd90832f0a7396f142a2b330181255562decf9f0c6215"
186
+ dependencies = [
187
+ "cc",
188
+ "pkg-config",
189
+ "vcpkg",
190
+ ]
191
+
192
+ [[package]]
193
+ name = "memchr"
194
+ version = "2.8.3"
195
+ source = "registry+https://github.com/rust-lang/crates.io-index"
196
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
197
+
198
+ [[package]]
199
+ name = "nix"
200
+ version = "0.31.3"
201
+ source = "registry+https://github.com/rust-lang/crates.io-index"
202
+ checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"
203
+ dependencies = [
204
+ "bitflags",
205
+ "cfg-if",
206
+ "cfg_aliases",
207
+ "libc",
208
+ ]
209
+
210
+ [[package]]
211
+ name = "once_cell"
212
+ version = "1.21.4"
213
+ source = "registry+https://github.com/rust-lang/crates.io-index"
214
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
215
+
216
+ [[package]]
217
+ name = "openklic-export"
218
+ version = "0.1.0"
219
+ dependencies = [
220
+ "openklic-imkl",
221
+ "openklic-layers",
222
+ "rusqlite",
223
+ "serde_json",
224
+ "zip",
225
+ ]
226
+
227
+ [[package]]
228
+ name = "openklic-imkl"
229
+ version = "0.1.0"
230
+ dependencies = [
231
+ "memchr",
232
+ "quick-xml",
233
+ "roxmltree",
234
+ "serde",
235
+ "serde_json",
236
+ "zip",
237
+ ]
238
+
239
+ [[package]]
240
+ name = "openklic-layers"
241
+ version = "0.1.0"
242
+ dependencies = [
243
+ "openklic-imkl",
244
+ ]
245
+
246
+ [[package]]
247
+ name = "openklic-python"
248
+ version = "0.1.0"
249
+ dependencies = [
250
+ "openklic-export",
251
+ "openklic-imkl",
252
+ "openklic-layers",
253
+ "pyo3",
254
+ ]
255
+
256
+ [[package]]
257
+ name = "openklic-wasm"
258
+ version = "0.1.0"
259
+ dependencies = [
260
+ "js-sys",
261
+ "openklic-export",
262
+ "openklic-imkl",
263
+ "openklic-layers",
264
+ "serde_json",
265
+ "sqlite-wasm-rs",
266
+ "wasm-bindgen",
267
+ "zip",
268
+ ]
269
+
270
+ [[package]]
271
+ name = "pin-project-lite"
272
+ version = "0.2.17"
273
+ source = "registry+https://github.com/rust-lang/crates.io-index"
274
+ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
275
+
276
+ [[package]]
277
+ name = "pkg-config"
278
+ version = "0.3.34"
279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
280
+ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
281
+
282
+ [[package]]
283
+ name = "portable-atomic"
284
+ version = "1.15.0"
285
+ source = "registry+https://github.com/rust-lang/crates.io-index"
286
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
287
+
288
+ [[package]]
289
+ name = "proc-macro2"
290
+ version = "1.0.107"
291
+ source = "registry+https://github.com/rust-lang/crates.io-index"
292
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
293
+ dependencies = [
294
+ "unicode-ident",
295
+ ]
296
+
297
+ [[package]]
298
+ name = "pyo3"
299
+ version = "0.30.1"
300
+ source = "registry+https://github.com/rust-lang/crates.io-index"
301
+ checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
302
+ dependencies = [
303
+ "libc",
304
+ "once_cell",
305
+ "portable-atomic",
306
+ "pyo3-build-config",
307
+ "pyo3-ffi",
308
+ "pyo3-macros",
309
+ ]
310
+
311
+ [[package]]
312
+ name = "pyo3-build-config"
313
+ version = "0.30.1"
314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
315
+ checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
316
+ dependencies = [
317
+ "target-lexicon",
318
+ ]
319
+
320
+ [[package]]
321
+ name = "pyo3-ffi"
322
+ version = "0.30.1"
323
+ source = "registry+https://github.com/rust-lang/crates.io-index"
324
+ checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
325
+ dependencies = [
326
+ "libc",
327
+ "pyo3-build-config",
328
+ ]
329
+
330
+ [[package]]
331
+ name = "pyo3-macros"
332
+ version = "0.30.1"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
335
+ dependencies = [
336
+ "proc-macro2",
337
+ "pyo3-macros-backend",
338
+ "quote",
339
+ "syn",
340
+ ]
341
+
342
+ [[package]]
343
+ name = "pyo3-macros-backend"
344
+ version = "0.30.1"
345
+ source = "registry+https://github.com/rust-lang/crates.io-index"
346
+ checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
347
+ dependencies = [
348
+ "heck",
349
+ "proc-macro2",
350
+ "quote",
351
+ "syn",
352
+ ]
353
+
354
+ [[package]]
355
+ name = "quick-xml"
356
+ version = "0.42.0"
357
+ source = "registry+https://github.com/rust-lang/crates.io-index"
358
+ checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b"
359
+ dependencies = [
360
+ "memchr",
361
+ ]
362
+
363
+ [[package]]
364
+ name = "quote"
365
+ version = "1.0.47"
366
+ source = "registry+https://github.com/rust-lang/crates.io-index"
367
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
368
+ dependencies = [
369
+ "proc-macro2",
370
+ ]
371
+
372
+ [[package]]
373
+ name = "r-efi"
374
+ version = "6.0.0"
375
+ source = "registry+https://github.com/rust-lang/crates.io-index"
376
+ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
377
+
378
+ [[package]]
379
+ name = "roxmltree"
380
+ version = "0.20.0"
381
+ source = "registry+https://github.com/rust-lang/crates.io-index"
382
+ checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97"
383
+
384
+ [[package]]
385
+ name = "rsqlite-vfs"
386
+ version = "0.2.0"
387
+ source = "registry+https://github.com/rust-lang/crates.io-index"
388
+ checksum = "353b74f9810d5b085b6c42c9d86a5f0fdb795553235cdd48753b32e3809d18a7"
389
+ dependencies = [
390
+ "thiserror",
391
+ ]
392
+
393
+ [[package]]
394
+ name = "rusqlite"
395
+ version = "0.43.0"
396
+ source = "registry+https://github.com/rust-lang/crates.io-index"
397
+ checksum = "f172c4812a19b26d1c23cdb0070e69db335503dfa378b910eb857386e5b8beba"
398
+ dependencies = [
399
+ "bitflags",
400
+ "fallible-iterator",
401
+ "fallible-streaming-iterator",
402
+ "hashlink",
403
+ "libsqlite3-sys",
404
+ "smallvec",
405
+ "sqlite-wasm-rs",
406
+ ]
407
+
408
+ [[package]]
409
+ name = "rustversion"
410
+ version = "1.0.23"
411
+ source = "registry+https://github.com/rust-lang/crates.io-index"
412
+ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
413
+
414
+ [[package]]
415
+ name = "serde"
416
+ version = "1.0.229"
417
+ source = "registry+https://github.com/rust-lang/crates.io-index"
418
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
419
+ dependencies = [
420
+ "serde_core",
421
+ ]
422
+
423
+ [[package]]
424
+ name = "serde_core"
425
+ version = "1.0.229"
426
+ source = "registry+https://github.com/rust-lang/crates.io-index"
427
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
428
+ dependencies = [
429
+ "serde_derive",
430
+ ]
431
+
432
+ [[package]]
433
+ name = "serde_derive"
434
+ version = "1.0.229"
435
+ source = "registry+https://github.com/rust-lang/crates.io-index"
436
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
437
+ dependencies = [
438
+ "proc-macro2",
439
+ "quote",
440
+ "syn",
441
+ ]
442
+
443
+ [[package]]
444
+ name = "serde_json"
445
+ version = "1.0.154"
446
+ source = "registry+https://github.com/rust-lang/crates.io-index"
447
+ checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
448
+ dependencies = [
449
+ "itoa",
450
+ "memchr",
451
+ "serde",
452
+ "serde_core",
453
+ "zmij",
454
+ ]
455
+
456
+ [[package]]
457
+ name = "shlex"
458
+ version = "2.0.1"
459
+ source = "registry+https://github.com/rust-lang/crates.io-index"
460
+ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
461
+
462
+ [[package]]
463
+ name = "slab"
464
+ version = "0.4.12"
465
+ source = "registry+https://github.com/rust-lang/crates.io-index"
466
+ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
467
+
468
+ [[package]]
469
+ name = "smallvec"
470
+ version = "1.16.4"
471
+ source = "registry+https://github.com/rust-lang/crates.io-index"
472
+ checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"
473
+
474
+ [[package]]
475
+ name = "sqlite-wasm-rs"
476
+ version = "0.6.3"
477
+ source = "registry+https://github.com/rust-lang/crates.io-index"
478
+ checksum = "a6cd504cecbfe7eef649988840f9a6cb768d11085efec138f8e99f160632d867"
479
+ dependencies = [
480
+ "cc",
481
+ "js-sys",
482
+ "rsqlite-vfs",
483
+ "wasm-bindgen",
484
+ ]
485
+
486
+ [[package]]
487
+ name = "syn"
488
+ version = "3.0.9"
489
+ source = "registry+https://github.com/rust-lang/crates.io-index"
490
+ checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
491
+ dependencies = [
492
+ "proc-macro2",
493
+ "quote",
494
+ "unicode-ident",
495
+ ]
496
+
497
+ [[package]]
498
+ name = "target-lexicon"
499
+ version = "0.13.5"
500
+ source = "registry+https://github.com/rust-lang/crates.io-index"
501
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
502
+
503
+ [[package]]
504
+ name = "thiserror"
505
+ version = "2.0.21"
506
+ source = "registry+https://github.com/rust-lang/crates.io-index"
507
+ checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
508
+ dependencies = [
509
+ "thiserror-impl",
510
+ ]
511
+
512
+ [[package]]
513
+ name = "thiserror-impl"
514
+ version = "2.0.21"
515
+ source = "registry+https://github.com/rust-lang/crates.io-index"
516
+ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
517
+ dependencies = [
518
+ "proc-macro2",
519
+ "quote",
520
+ "syn",
521
+ ]
522
+
523
+ [[package]]
524
+ name = "typed-path"
525
+ version = "0.13.0"
526
+ source = "registry+https://github.com/rust-lang/crates.io-index"
527
+ checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e"
528
+
529
+ [[package]]
530
+ name = "unicode-ident"
531
+ version = "1.0.27"
532
+ source = "registry+https://github.com/rust-lang/crates.io-index"
533
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
534
+
535
+ [[package]]
536
+ name = "vcpkg"
537
+ version = "0.2.15"
538
+ source = "registry+https://github.com/rust-lang/crates.io-index"
539
+ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
540
+
541
+ [[package]]
542
+ name = "wasm-bindgen"
543
+ version = "0.2.129"
544
+ source = "registry+https://github.com/rust-lang/crates.io-index"
545
+ checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
546
+ dependencies = [
547
+ "cfg-if",
548
+ "once_cell",
549
+ "rustversion",
550
+ "wasm-bindgen-macro",
551
+ "wasm-bindgen-shared",
552
+ ]
553
+
554
+ [[package]]
555
+ name = "wasm-bindgen-macro"
556
+ version = "0.2.129"
557
+ source = "registry+https://github.com/rust-lang/crates.io-index"
558
+ checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
559
+ dependencies = [
560
+ "quote",
561
+ "wasm-bindgen-macro-support",
562
+ ]
563
+
564
+ [[package]]
565
+ name = "wasm-bindgen-macro-support"
566
+ version = "0.2.129"
567
+ source = "registry+https://github.com/rust-lang/crates.io-index"
568
+ checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
569
+ dependencies = [
570
+ "bumpalo",
571
+ "proc-macro2",
572
+ "quote",
573
+ "syn",
574
+ "wasm-bindgen-shared",
575
+ ]
576
+
577
+ [[package]]
578
+ name = "wasm-bindgen-shared"
579
+ version = "0.2.129"
580
+ source = "registry+https://github.com/rust-lang/crates.io-index"
581
+ checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
582
+ dependencies = [
583
+ "unicode-ident",
584
+ ]
585
+
586
+ [[package]]
587
+ name = "windows-link"
588
+ version = "0.2.1"
589
+ source = "registry+https://github.com/rust-lang/crates.io-index"
590
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
591
+
592
+ [[package]]
593
+ name = "windows-sys"
594
+ version = "0.61.2"
595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
596
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
597
+ dependencies = [
598
+ "windows-link",
599
+ ]
600
+
601
+ [[package]]
602
+ name = "zip"
603
+ version = "9.1.2"
604
+ source = "registry+https://github.com/rust-lang/crates.io-index"
605
+ checksum = "ec2e3161de27091f18a831d9494e9c53378a34833af5c1dda35ad85849da18d6"
606
+ dependencies = [
607
+ "crc32fast",
608
+ "flate2",
609
+ "getrandom",
610
+ "indexmap",
611
+ "memchr",
612
+ "nix",
613
+ "typed-path",
614
+ "windows-sys",
615
+ ]
616
+
617
+ [[package]]
618
+ name = "zlib-rs"
619
+ version = "0.6.8"
620
+ source = "registry+https://github.com/rust-lang/crates.io-index"
621
+ checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
622
+
623
+ [[package]]
624
+ name = "zmij"
625
+ version = "1.0.23"
626
+ source = "registry+https://github.com/rust-lang/crates.io-index"
627
+ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
@@ -0,0 +1,29 @@
1
+ # OpenKLIC's Rust workspace: one engine, used by the web page, Python and Rust alike.
2
+ # crates/imkl openklic-imkl, the reading crate: a levering in, IMKL records out
3
+ # crates/layers openklic-layers: the records joined into what a map draws
4
+ # crates/python openklic-python, the Python package `openklic` (PyO3/maturin)
5
+ # crates/export openklic-export: leveringen as GeoPackage (QGIS, ArcGIS), GeoJSON and DXF
6
+ # crates/wasm openklic-wasm, the engine for the web page (wasm-bindgen)
7
+
8
+ [workspace]
9
+ resolver = "3"
10
+ members = ["crates/export", "crates/imkl", "crates/layers", "crates/python"]
11
+
12
+ [workspace.package]
13
+ edition = "2024"
14
+ rust-version = "1.89"
15
+ license = "MIT"
16
+ authors = ["OpenKLIC contributors"]
17
+ publish = false
18
+
19
+ [workspace.lints.rust]
20
+ unsafe_code = "deny" # PyO3's macros compile under it too
21
+ missing_debug_implementations = "warn"
22
+
23
+ [workspace.lints.clippy]
24
+ all = { level = "warn", priority = -1 }
25
+
26
+ [profile.release]
27
+ # The wheel is shipped; a smaller, faster library is worth the longer build.
28
+ lto = "thin"
29
+ codegen-units = 1