lora-python 0.5.6__tar.gz → 0.6.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 (130) hide show
  1. {lora_python-0.5.6 → lora_python-0.6.0}/Cargo.lock +228 -16
  2. {lora_python-0.5.6 → lora_python-0.6.0}/Cargo.toml +16 -10
  3. {lora_python-0.5.6 → lora_python-0.6.0}/PKG-INFO +16 -5
  4. {lora_python-0.5.6 → lora_python-0.6.0}/README.md +15 -4
  5. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/Cargo.toml +1 -0
  6. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/benches/wal_benchmarks.rs +92 -2
  7. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/src/database.rs +882 -12
  8. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/src/lib.rs +14 -2
  9. lora_python-0.6.0/crates/lora-database/src/snapshot_store.rs +267 -0
  10. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/src/transaction.rs +25 -8
  11. lora_python-0.6.0/crates/lora-database/tests/binary.rs +72 -0
  12. lora_python-0.6.0/crates/lora-database/tests/managed_snapshots.rs +193 -0
  13. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/snapshot.rs +165 -1
  14. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-executor/src/errors.rs +1 -0
  15. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-executor/src/eval.rs +2 -0
  16. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-executor/src/executor.rs +18 -13
  17. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-executor/src/value.rs +15 -2
  18. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/README.md +15 -4
  19. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/src/lib.rs +309 -23
  20. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/tests/test_async.py +56 -0
  21. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/tests/test_sync.py +85 -0
  22. lora_python-0.6.0/crates/lora-snapshot/Cargo.toml +30 -0
  23. lora_python-0.6.0/crates/lora-snapshot/src/body.rs +178 -0
  24. lora_python-0.6.0/crates/lora-snapshot/src/columnar.rs +550 -0
  25. lora_python-0.6.0/crates/lora-snapshot/src/envelope.rs +130 -0
  26. lora_python-0.6.0/crates/lora-snapshot/src/error.rs +33 -0
  27. lora_python-0.6.0/crates/lora-snapshot/src/lib.rs +203 -0
  28. lora_python-0.6.0/crates/lora-snapshot/src/options.rs +103 -0
  29. lora_python-0.6.0/crates/lora-snapshot/src/tests.rs +225 -0
  30. lora_python-0.6.0/crates/lora-snapshot/src/transform.rs +84 -0
  31. lora_python-0.6.0/crates/lora-snapshot/src/view.rs +229 -0
  32. lora_python-0.6.0/crates/lora-store/src/binary.rs +111 -0
  33. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/src/graph.rs +2 -0
  34. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/src/lib.rs +2 -0
  35. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/src/memory.rs +51 -30
  36. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/src/mutation.rs +7 -8
  37. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/Cargo.toml +0 -1
  38. lora_python-0.6.0/crates/lora-wal/src/codec.rs +1139 -0
  39. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/lib.rs +1 -0
  40. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/record.rs +26 -17
  41. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/recorder_adapter.rs +6 -6
  42. {lora_python-0.5.6 → lora_python-0.6.0}/pyproject.toml +1 -1
  43. {lora_python-0.5.6 → lora_python-0.6.0}/python/lora_python/__init__.py +7 -0
  44. {lora_python-0.5.6 → lora_python-0.6.0}/python/lora_python/_async.py +24 -3
  45. {lora_python-0.5.6 → lora_python-0.6.0}/python/lora_python/_native.pyi +53 -8
  46. {lora_python-0.5.6 → lora_python-0.6.0}/python/lora_python/types.py +36 -1
  47. {lora_python-0.5.6 → lora_python-0.6.0}/LICENSE +0 -0
  48. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-analyzer/Cargo.toml +0 -0
  49. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-analyzer/src/analyzer.rs +0 -0
  50. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-analyzer/src/errors.rs +0 -0
  51. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-analyzer/src/lib.rs +0 -0
  52. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-analyzer/src/resolved.rs +0 -0
  53. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-analyzer/src/scope.rs +0 -0
  54. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-analyzer/src/symbols.rs +0 -0
  55. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-ast/Cargo.toml +0 -0
  56. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-ast/src/ast.rs +0 -0
  57. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-ast/src/lib.rs +0 -0
  58. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-compiler/Cargo.toml +0 -0
  59. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-compiler/src/lib.rs +0 -0
  60. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-compiler/src/logical.rs +0 -0
  61. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-compiler/src/optimizer.rs +0 -0
  62. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-compiler/src/pattern.rs +0 -0
  63. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-compiler/src/physical.rs +0 -0
  64. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-compiler/src/planner.rs +0 -0
  65. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/benches/advanced_benchmarks.rs +0 -0
  66. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/benches/engine_benchmarks.rs +0 -0
  67. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/benches/fixtures.rs +0 -0
  68. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
  69. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/benches/perf_smoke_benchmarks.rs +0 -0
  70. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/benches/scale_benchmarks.rs +0 -0
  71. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/benches/temporal_spatial_benchmarks.rs +0 -0
  72. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/src/archive.rs +0 -0
  73. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/src/named.rs +0 -0
  74. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/src/stream.rs +0 -0
  75. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/advanced_queries.rs +0 -0
  76. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/aggregation.rs +0 -0
  77. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/backend_stub.rs +0 -0
  78. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/create.rs +0 -0
  79. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/errors.rs +0 -0
  80. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/expressions.rs +0 -0
  81. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/functions_extended.rs +0 -0
  82. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/invariants.rs +0 -0
  83. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/match.rs +0 -0
  84. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/merge.rs +0 -0
  85. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/ordering.rs +0 -0
  86. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/parameters.rs +0 -0
  87. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/parser.rs +0 -0
  88. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/paths.rs +0 -0
  89. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/projection.rs +0 -0
  90. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/seeds.rs +0 -0
  91. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/spatial.rs +0 -0
  92. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/temporal.rs +0 -0
  93. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/test_helpers.rs +0 -0
  94. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/transactions.rs +0 -0
  95. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/types_advanced.rs +0 -0
  96. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/union.rs +0 -0
  97. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/update.rs +0 -0
  98. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/vectors.rs +0 -0
  99. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/wal.rs +0 -0
  100. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/where_clause.rs +0 -0
  101. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-database/tests/with.rs +0 -0
  102. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-executor/Cargo.toml +0 -0
  103. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-executor/src/lib.rs +0 -0
  104. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-executor/src/pull.rs +0 -0
  105. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-parser/Cargo.toml +0 -0
  106. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-parser/src/cypher.pest +0 -0
  107. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-parser/src/error.rs +0 -0
  108. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-parser/src/lib.rs +0 -0
  109. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-parser/src/parser.rs +0 -0
  110. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/.gitignore +0 -0
  111. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/Cargo.toml +0 -0
  112. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/LICENSE +0 -0
  113. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/build.rs +0 -0
  114. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/examples/async_demo.py +0 -0
  115. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-python/examples/basic.py +0 -0
  116. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/Cargo.toml +0 -0
  117. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/src/snapshot.rs +0 -0
  118. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/src/spatial.rs +0 -0
  119. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/src/temporal.rs +0 -0
  120. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-store/src/vector.rs +0 -0
  121. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/config.rs +0 -0
  122. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/dir.rs +0 -0
  123. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/error.rs +0 -0
  124. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/lock.rs +0 -0
  125. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/lsn.rs +0 -0
  126. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/replay.rs +0 -0
  127. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/segment.rs +0 -0
  128. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/testing.rs +0 -0
  129. {lora_python-0.5.6 → lora_python-0.6.0}/crates/lora-wal/src/wal.rs +0 -0
  130. {lora_python-0.5.6 → lora_python-0.6.0}/python/lora_python/py.typed +0 -0
@@ -8,6 +8,16 @@ version = "2.0.1"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
9
  checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
10
10
 
11
+ [[package]]
12
+ name = "aead"
13
+ version = "0.5.2"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
16
+ dependencies = [
17
+ "crypto-common",
18
+ "generic-array",
19
+ ]
20
+
11
21
  [[package]]
12
22
  name = "aho-corasick"
13
23
  version = "1.1.4"
@@ -44,6 +54,30 @@ version = "1.0.102"
44
54
  source = "registry+https://github.com/rust-lang/crates.io-index"
45
55
  checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
46
56
 
57
+ [[package]]
58
+ name = "argon2"
59
+ version = "0.5.3"
60
+ source = "registry+https://github.com/rust-lang/crates.io-index"
61
+ checksum = "3c3610892ee6e0cbce8ae2700349fcf8f98adb0dbfbee85aec3c9179d29cc072"
62
+ dependencies = [
63
+ "base64ct",
64
+ "blake2",
65
+ "cpufeatures 0.2.17",
66
+ "password-hash",
67
+ ]
68
+
69
+ [[package]]
70
+ name = "arrayref"
71
+ version = "0.3.9"
72
+ source = "registry+https://github.com/rust-lang/crates.io-index"
73
+ checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
74
+
75
+ [[package]]
76
+ name = "arrayvec"
77
+ version = "0.7.6"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
80
+
47
81
  [[package]]
48
82
  name = "async-trait"
49
83
  version = "0.1.89"
@@ -122,6 +156,12 @@ dependencies = [
122
156
  "tracing",
123
157
  ]
124
158
 
159
+ [[package]]
160
+ name = "base64ct"
161
+ version = "1.8.3"
162
+ source = "registry+https://github.com/rust-lang/crates.io-index"
163
+ checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06"
164
+
125
165
  [[package]]
126
166
  name = "bincode"
127
167
  version = "1.3.3"
@@ -155,6 +195,29 @@ version = "2.11.1"
155
195
  source = "registry+https://github.com/rust-lang/crates.io-index"
156
196
  checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3"
157
197
 
198
+ [[package]]
199
+ name = "blake2"
200
+ version = "0.10.6"
201
+ source = "registry+https://github.com/rust-lang/crates.io-index"
202
+ checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe"
203
+ dependencies = [
204
+ "digest",
205
+ ]
206
+
207
+ [[package]]
208
+ name = "blake3"
209
+ version = "1.8.5"
210
+ source = "registry+https://github.com/rust-lang/crates.io-index"
211
+ checksum = "0aa83c34e62843d924f905e0f5c866eb1dd6545fc4d719e803d9ba6030371fce"
212
+ dependencies = [
213
+ "arrayref",
214
+ "arrayvec",
215
+ "cc",
216
+ "cfg-if",
217
+ "constant_time_eq",
218
+ "cpufeatures 0.3.0",
219
+ ]
220
+
158
221
  [[package]]
159
222
  name = "block-buffer"
160
223
  version = "0.10.4"
@@ -213,6 +276,30 @@ version = "1.0.4"
213
276
  source = "registry+https://github.com/rust-lang/crates.io-index"
214
277
  checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
215
278
 
279
+ [[package]]
280
+ name = "chacha20"
281
+ version = "0.9.1"
282
+ source = "registry+https://github.com/rust-lang/crates.io-index"
283
+ checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818"
284
+ dependencies = [
285
+ "cfg-if",
286
+ "cipher",
287
+ "cpufeatures 0.2.17",
288
+ ]
289
+
290
+ [[package]]
291
+ name = "chacha20poly1305"
292
+ version = "0.10.1"
293
+ source = "registry+https://github.com/rust-lang/crates.io-index"
294
+ checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35"
295
+ dependencies = [
296
+ "aead",
297
+ "chacha20",
298
+ "cipher",
299
+ "poly1305",
300
+ "zeroize",
301
+ ]
302
+
216
303
  [[package]]
217
304
  name = "ciborium"
218
305
  version = "0.2.2"
@@ -240,6 +327,17 @@ dependencies = [
240
327
  "half",
241
328
  ]
242
329
 
330
+ [[package]]
331
+ name = "cipher"
332
+ version = "0.4.4"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
335
+ dependencies = [
336
+ "crypto-common",
337
+ "inout",
338
+ "zeroize",
339
+ ]
340
+
243
341
  [[package]]
244
342
  name = "clang-sys"
245
343
  version = "1.8.1"
@@ -286,6 +384,12 @@ dependencies = [
286
384
  "wasm-bindgen",
287
385
  ]
288
386
 
387
+ [[package]]
388
+ name = "constant_time_eq"
389
+ version = "0.4.2"
390
+ source = "registry+https://github.com/rust-lang/crates.io-index"
391
+ checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
392
+
289
393
  [[package]]
290
394
  name = "convert_case"
291
395
  version = "0.6.0"
@@ -304,6 +408,15 @@ dependencies = [
304
408
  "libc",
305
409
  ]
306
410
 
411
+ [[package]]
412
+ name = "cpufeatures"
413
+ version = "0.3.0"
414
+ source = "registry+https://github.com/rust-lang/crates.io-index"
415
+ checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
416
+ dependencies = [
417
+ "libc",
418
+ ]
419
+
307
420
  [[package]]
308
421
  name = "crc32fast"
309
422
  version = "1.5.0"
@@ -386,6 +499,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
386
499
  checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
387
500
  dependencies = [
388
501
  "generic-array",
502
+ "rand_core",
389
503
  "typenum",
390
504
  ]
391
505
 
@@ -407,6 +521,7 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
407
521
  dependencies = [
408
522
  "block-buffer",
409
523
  "crypto-common",
524
+ "subtle",
410
525
  ]
411
526
 
412
527
  [[package]]
@@ -483,6 +598,19 @@ dependencies = [
483
598
  "version_check",
484
599
  ]
485
600
 
601
+ [[package]]
602
+ name = "getrandom"
603
+ version = "0.2.17"
604
+ source = "registry+https://github.com/rust-lang/crates.io-index"
605
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
606
+ dependencies = [
607
+ "cfg-if",
608
+ "js-sys",
609
+ "libc",
610
+ "wasi",
611
+ "wasm-bindgen",
612
+ ]
613
+
486
614
  [[package]]
487
615
  name = "glob"
488
616
  version = "0.3.3"
@@ -596,6 +724,15 @@ dependencies = [
596
724
  "rustversion",
597
725
  ]
598
726
 
727
+ [[package]]
728
+ name = "inout"
729
+ version = "0.1.4"
730
+ source = "registry+https://github.com/rust-lang/crates.io-index"
731
+ checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
732
+ dependencies = [
733
+ "generic-array",
734
+ ]
735
+
599
736
  [[package]]
600
737
  name = "itertools"
601
738
  version = "0.13.0"
@@ -651,7 +788,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
651
788
 
652
789
  [[package]]
653
790
  name = "lora-analyzer"
654
- version = "0.5.6"
791
+ version = "0.6.0"
655
792
  dependencies = [
656
793
  "lora-ast",
657
794
  "lora-parser",
@@ -661,14 +798,14 @@ dependencies = [
661
798
 
662
799
  [[package]]
663
800
  name = "lora-ast"
664
- version = "0.5.6"
801
+ version = "0.6.0"
665
802
  dependencies = [
666
803
  "smallvec 2.0.0-alpha.12",
667
804
  ]
668
805
 
669
806
  [[package]]
670
807
  name = "lora-compiler"
671
- version = "0.5.6"
808
+ version = "0.6.0"
672
809
  dependencies = [
673
810
  "lora-analyzer",
674
811
  "lora-ast",
@@ -676,7 +813,7 @@ dependencies = [
676
813
 
677
814
  [[package]]
678
815
  name = "lora-database"
679
- version = "0.5.6"
816
+ version = "0.6.0"
680
817
  dependencies = [
681
818
  "anyhow",
682
819
  "criterion",
@@ -685,6 +822,7 @@ dependencies = [
685
822
  "lora-compiler",
686
823
  "lora-executor",
687
824
  "lora-parser",
825
+ "lora-snapshot",
688
826
  "lora-store",
689
827
  "lora-wal",
690
828
  "serde_json",
@@ -694,7 +832,7 @@ dependencies = [
694
832
 
695
833
  [[package]]
696
834
  name = "lora-executor"
697
- version = "0.5.6"
835
+ version = "0.6.0"
698
836
  dependencies = [
699
837
  "lora-analyzer",
700
838
  "lora-ast",
@@ -708,8 +846,9 @@ dependencies = [
708
846
 
709
847
  [[package]]
710
848
  name = "lora-ffi"
711
- version = "0.5.6"
849
+ version = "0.6.0"
712
850
  dependencies = [
851
+ "anyhow",
713
852
  "lora-database",
714
853
  "lora-store",
715
854
  "serde",
@@ -718,7 +857,7 @@ dependencies = [
718
857
 
719
858
  [[package]]
720
859
  name = "lora-node"
721
- version = "0.5.6"
860
+ version = "0.6.0"
722
861
  dependencies = [
723
862
  "anyhow",
724
863
  "lora-database",
@@ -732,7 +871,7 @@ dependencies = [
732
871
 
733
872
  [[package]]
734
873
  name = "lora-parser"
735
- version = "0.5.6"
874
+ version = "0.6.0"
736
875
  dependencies = [
737
876
  "lora-ast",
738
877
  "pest",
@@ -743,7 +882,7 @@ dependencies = [
743
882
 
744
883
  [[package]]
745
884
  name = "lora-python"
746
- version = "0.5.6"
885
+ version = "0.6.0"
747
886
  dependencies = [
748
887
  "anyhow",
749
888
  "lora-database",
@@ -755,7 +894,7 @@ dependencies = [
755
894
 
756
895
  [[package]]
757
896
  name = "lora-server"
758
- version = "0.5.6"
897
+ version = "0.6.0"
759
898
  dependencies = [
760
899
  "anyhow",
761
900
  "axum",
@@ -767,9 +906,24 @@ dependencies = [
767
906
  "tower",
768
907
  ]
769
908
 
909
+ [[package]]
910
+ name = "lora-snapshot"
911
+ version = "0.6.0"
912
+ dependencies = [
913
+ "argon2",
914
+ "bincode",
915
+ "blake3",
916
+ "chacha20poly1305",
917
+ "flate2",
918
+ "getrandom",
919
+ "lora-store",
920
+ "serde",
921
+ "thiserror",
922
+ ]
923
+
770
924
  [[package]]
771
925
  name = "lora-store"
772
- version = "0.5.6"
926
+ version = "0.6.0"
773
927
  dependencies = [
774
928
  "bincode",
775
929
  "crc32fast",
@@ -781,9 +935,8 @@ dependencies = [
781
935
 
782
936
  [[package]]
783
937
  name = "lora-wal"
784
- version = "0.5.6"
938
+ version = "0.6.0"
785
939
  dependencies = [
786
- "bincode",
787
940
  "crc32fast",
788
941
  "lora-store",
789
942
  "serde",
@@ -792,7 +945,7 @@ dependencies = [
792
945
 
793
946
  [[package]]
794
947
  name = "lora-wasm"
795
- version = "0.5.6"
948
+ version = "0.6.0"
796
949
  dependencies = [
797
950
  "anyhow",
798
951
  "console_error_panic_hook",
@@ -807,7 +960,7 @@ dependencies = [
807
960
 
808
961
  [[package]]
809
962
  name = "lora_ruby"
810
- version = "0.5.6"
963
+ version = "0.6.0"
811
964
  dependencies = [
812
965
  "anyhow",
813
966
  "lora-database",
@@ -986,6 +1139,12 @@ version = "11.1.5"
986
1139
  source = "registry+https://github.com/rust-lang/crates.io-index"
987
1140
  checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
988
1141
 
1142
+ [[package]]
1143
+ name = "opaque-debug"
1144
+ version = "0.3.1"
1145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1146
+ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381"
1147
+
989
1148
  [[package]]
990
1149
  name = "page_size"
991
1150
  version = "0.6.0"
@@ -996,6 +1155,17 @@ dependencies = [
996
1155
  "winapi",
997
1156
  ]
998
1157
 
1158
+ [[package]]
1159
+ name = "password-hash"
1160
+ version = "0.5.0"
1161
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1162
+ checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166"
1163
+ dependencies = [
1164
+ "base64ct",
1165
+ "rand_core",
1166
+ "subtle",
1167
+ ]
1168
+
999
1169
  [[package]]
1000
1170
  name = "percent-encoding"
1001
1171
  version = "2.3.2"
@@ -1085,6 +1255,17 @@ dependencies = [
1085
1255
  "plotters-backend",
1086
1256
  ]
1087
1257
 
1258
+ [[package]]
1259
+ name = "poly1305"
1260
+ version = "0.8.0"
1261
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1262
+ checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf"
1263
+ dependencies = [
1264
+ "cpufeatures 0.2.17",
1265
+ "opaque-debug",
1266
+ "universal-hash",
1267
+ ]
1268
+
1088
1269
  [[package]]
1089
1270
  name = "portable-atomic"
1090
1271
  version = "1.13.1"
@@ -1172,6 +1353,15 @@ dependencies = [
1172
1353
  "proc-macro2",
1173
1354
  ]
1174
1355
 
1356
+ [[package]]
1357
+ name = "rand_core"
1358
+ version = "0.6.4"
1359
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1360
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
1361
+ dependencies = [
1362
+ "getrandom",
1363
+ ]
1364
+
1175
1365
  [[package]]
1176
1366
  name = "rayon"
1177
1367
  version = "1.12.0"
@@ -1374,7 +1564,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1374
1564
  checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
1375
1565
  dependencies = [
1376
1566
  "cfg-if",
1377
- "cpufeatures",
1567
+ "cpufeatures 0.2.17",
1378
1568
  "digest",
1379
1569
  ]
1380
1570
 
@@ -1424,6 +1614,12 @@ dependencies = [
1424
1614
  "windows-sys",
1425
1615
  ]
1426
1616
 
1617
+ [[package]]
1618
+ name = "subtle"
1619
+ version = "2.6.1"
1620
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1621
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
1622
+
1427
1623
  [[package]]
1428
1624
  name = "syn"
1429
1625
  version = "2.0.117"
@@ -1592,6 +1788,16 @@ version = "0.2.4"
1592
1788
  source = "registry+https://github.com/rust-lang/crates.io-index"
1593
1789
  checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
1594
1790
 
1791
+ [[package]]
1792
+ name = "universal-hash"
1793
+ version = "0.5.1"
1794
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1795
+ checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
1796
+ dependencies = [
1797
+ "crypto-common",
1798
+ "subtle",
1799
+ ]
1800
+
1595
1801
  [[package]]
1596
1802
  name = "version_check"
1597
1803
  version = "0.9.5"
@@ -1748,6 +1954,12 @@ dependencies = [
1748
1954
  "syn",
1749
1955
  ]
1750
1956
 
1957
+ [[package]]
1958
+ name = "zeroize"
1959
+ version = "1.8.2"
1960
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1961
+ checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
1962
+
1751
1963
  [[package]]
1752
1964
  name = "zip"
1753
1965
  version = "0.6.6"
@@ -1,10 +1,10 @@
1
1
  [workspace]
2
- members = ["crates/lora-ast", "crates/lora-parser", "crates/lora-analyzer", "crates/lora-compiler", "crates/lora-store", "crates/lora-wal", "crates/lora-executor", "crates/lora-database", "crates/lora-python"]
2
+ members = ["crates/lora-ast", "crates/lora-parser", "crates/lora-analyzer", "crates/lora-compiler", "crates/lora-store", "crates/lora-snapshot", "crates/lora-wal", "crates/lora-executor", "crates/lora-database", "crates/lora-python"]
3
3
  resolver = "2"
4
4
 
5
5
  [workspace.package]
6
6
  edition = "2021"
7
- version = "0.5.6"
7
+ version = "0.6.0"
8
8
  license = "BUSL-1.1"
9
9
  authors = ["LoraDB, Inc."]
10
10
  repository = "https://github.com/lora-db/lora"
@@ -15,14 +15,15 @@ rust-version = "1.87"
15
15
  # Internal crates — versions are kept in lockstep with [workspace.package].version
16
16
  # by `scripts/sync-versions.mjs`. Both `path` and `version` are set so that
17
17
  # `cargo publish` works (crates.io cannot resolve path-only deps).
18
- lora-ast = { path = "crates/lora-ast", version = "=0.5.6" }
19
- lora-parser = { path = "crates/lora-parser", version = "=0.5.6" }
20
- lora-analyzer = { path = "crates/lora-analyzer", version = "=0.5.6" }
21
- lora-compiler = { path = "crates/lora-compiler", version = "=0.5.6" }
22
- lora-store = { path = "crates/lora-store", version = "=0.5.6" }
23
- lora-wal = { path = "crates/lora-wal", version = "=0.5.6" }
24
- lora-executor = { path = "crates/lora-executor", version = "=0.5.6" }
25
- lora-database = { path = "crates/lora-database", version = "=0.5.6" }
18
+ lora-ast = { path = "crates/lora-ast", version = "=0.6.0" }
19
+ lora-parser = { path = "crates/lora-parser", version = "=0.6.0" }
20
+ lora-analyzer = { path = "crates/lora-analyzer", version = "=0.6.0" }
21
+ lora-compiler = { path = "crates/lora-compiler", version = "=0.6.0" }
22
+ lora-store = { path = "crates/lora-store", version = "=0.6.0" }
23
+ lora-snapshot = { path = "crates/lora-snapshot", version = "=0.6.0", default-features = false }
24
+ lora-wal = { path = "crates/lora-wal", version = "=0.6.0" }
25
+ lora-executor = { path = "crates/lora-executor", version = "=0.6.0" }
26
+ lora-database = { path = "crates/lora-database", version = "=0.6.0" }
26
27
 
27
28
  # External crates.
28
29
  anyhow = "1"
@@ -41,3 +42,8 @@ criterion = { version = "0.8.2", features = ["html_reports"] }
41
42
  bincode = "1.3"
42
43
  crc32fast = "1.4"
43
44
  zip = { version = "0.6", default-features = false, features = ["deflate"] }
45
+ chacha20poly1305 = "0.10"
46
+ blake3 = "1"
47
+ getrandom = "0.2"
48
+ argon2 = "0.5"
49
+ flate2 = "1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lora-python
3
- Version: 0.5.6
3
+ Version: 0.6.0
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.8
@@ -154,10 +154,21 @@ replays committed writes before returning the handle.
154
154
  Call `db.close()` / `await db.close()` before reopening the same archive
155
155
  inside one process.
156
156
 
157
- This first Python persistence slice intentionally stays small: the
158
- binding exposes archive-backed initialization plus the existing
159
- `save_snapshot` / `load_snapshot` APIs, but not checkpoint, truncate,
160
- status, or sync-mode controls.
157
+ For explicit WAL directories with managed snapshots, use `open_wal`:
158
+
159
+ ```python
160
+ db = Database.open_wal(
161
+ "./data/wal",
162
+ {
163
+ "snapshot_dir": "./data/snapshots",
164
+ "snapshot_every_commits": 1000,
165
+ "snapshot_keep_old": 2,
166
+ },
167
+ )
168
+ ```
169
+
170
+ `snapshot_options` accepts the same compression/encryption options as
171
+ `save_snapshot`.
161
172
 
162
173
  Snapshots accept the same broad shapes in sync and async APIs:
163
174
 
@@ -124,10 +124,21 @@ replays committed writes before returning the handle.
124
124
  Call `db.close()` / `await db.close()` before reopening the same archive
125
125
  inside one process.
126
126
 
127
- This first Python persistence slice intentionally stays small: the
128
- binding exposes archive-backed initialization plus the existing
129
- `save_snapshot` / `load_snapshot` APIs, but not checkpoint, truncate,
130
- status, or sync-mode controls.
127
+ For explicit WAL directories with managed snapshots, use `open_wal`:
128
+
129
+ ```python
130
+ db = Database.open_wal(
131
+ "./data/wal",
132
+ {
133
+ "snapshot_dir": "./data/snapshots",
134
+ "snapshot_every_commits": 1000,
135
+ "snapshot_keep_old": 2,
136
+ },
137
+ )
138
+ ```
139
+
140
+ `snapshot_options` accepts the same compression/encryption options as
141
+ `save_snapshot`.
131
142
 
132
143
  Snapshots accept the same broad shapes in sync and async APIs:
133
144
 
@@ -24,6 +24,7 @@ lora-analyzer.workspace = true
24
24
  lora-compiler.workspace = true
25
25
  lora-executor.workspace = true
26
26
  lora-store.workspace = true
27
+ lora-snapshot.workspace = true
27
28
  lora-wal.workspace = true
28
29
 
29
30
  serde_json.workspace = true