lora-python 0.5.6__tar.gz → 0.7.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.
- {lora_python-0.5.6 → lora_python-0.7.0}/Cargo.lock +241 -16
- {lora_python-0.5.6 → lora_python-0.7.0}/Cargo.toml +17 -10
- {lora_python-0.5.6 → lora_python-0.7.0}/PKG-INFO +20 -9
- {lora_python-0.5.6 → lora_python-0.7.0}/README.md +19 -8
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/README.md +19 -8
- lora_python-0.7.0/crates/bindings/lora-python/src/errors.rs +73 -0
- lora_python-0.7.0/crates/bindings/lora-python/src/from_python.rs +503 -0
- lora_python-0.7.0/crates/bindings/lora-python/src/lib.rs +546 -0
- lora_python-0.7.0/crates/bindings/lora-python/src/to_python.rs +217 -0
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/tests/test_async.py +56 -0
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/tests/test_sync.py +85 -0
- lora_python-0.7.0/crates/lora-analyzer/src/analyzer/clauses.rs +323 -0
- lora_python-0.7.0/crates/lora-analyzer/src/analyzer/expressions.rs +604 -0
- lora_python-0.7.0/crates/lora-analyzer/src/analyzer/mod.rs +34 -0
- lora_python-0.7.0/crates/lora-analyzer/src/analyzer/patterns.rs +244 -0
- lora_python-0.7.0/crates/lora-analyzer/src/analyzer/state.rs +309 -0
- lora_python-0.7.0/crates/lora-analyzer/src/analyzer/tests.rs +302 -0
- lora_python-0.7.0/crates/lora-analyzer/src/errors.rs +58 -0
- lora_python-0.7.0/crates/lora-analyzer/src/lib.rs +15 -0
- lora_python-0.7.0/crates/lora-analyzer/tests/error_messages.rs +136 -0
- lora_python-0.7.0/crates/lora-ast/src/lib.rs +18 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-compiler/src/lib.rs +11 -2
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/Cargo.toml +8 -0
- lora_python-0.7.0/crates/lora-database/benches/concurrent_benchmarks.rs +347 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/benches/engine_benchmarks.rs +11 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/benches/wal_benchmarks.rs +92 -2
- lora_python-0.7.0/crates/lora-database/src/database/builder.rs +254 -0
- lora_python-0.7.0/crates/lora-database/src/database/execute.rs +230 -0
- lora_python-0.7.0/crates/lora-database/src/database/graph_api.rs +346 -0
- lora_python-0.7.0/crates/lora-database/src/database/mod.rs +232 -0
- lora_python-0.7.0/crates/lora-database/src/database/occ.rs +184 -0
- lora_python-0.7.0/crates/lora-database/src/database/pull_mode.rs +49 -0
- lora_python-0.7.0/crates/lora-database/src/database/replay.rs +303 -0
- lora_python-0.7.0/crates/lora-database/src/database/stream.rs +166 -0
- lora_python-0.7.0/crates/lora-database/src/database/write_guard.rs +216 -0
- lora_python-0.7.0/crates/lora-database/src/error.rs +497 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/src/lib.rs +19 -4
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/src/named.rs +3 -3
- lora_python-0.7.0/crates/lora-database/src/plan_cache.rs +225 -0
- lora_python-0.7.0/crates/lora-database/src/snapshot/json.rs +305 -0
- lora_python-0.7.0/crates/lora-database/src/snapshot/mod.rs +418 -0
- lora_python-0.7.0/crates/lora-database/src/snapshot/store.rs +281 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/src/stream.rs +61 -74
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/src/transaction.rs +316 -184
- lora_python-0.7.0/crates/lora-database/src/wal/admin.rs +77 -0
- lora_python-0.7.0/crates/lora-database/src/wal/mod.rs +9 -0
- lora_python-0.7.0/crates/lora-database/src/wal/write_scope.rs +76 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/backend_stub.rs +1 -1
- lora_python-0.7.0/crates/lora-database/tests/binary.rs +72 -0
- lora_python-0.7.0/crates/lora-database/tests/error_messages.rs +38 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/errors.rs +17 -17
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/functions_extended.rs +12 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/invariants.rs +1 -1
- lora_python-0.7.0/crates/lora-database/tests/managed_snapshots.rs +274 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/match.rs +1 -1
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/paths.rs +1 -1
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/projection.rs +1 -1
- lora_python-0.7.0/crates/lora-database/tests/scale.rs +241 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/snapshot.rs +146 -1
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/test_helpers.rs +4 -4
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/transactions.rs +178 -36
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/update.rs +1 -1
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/vectors.rs +22 -9
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/wal.rs +30 -11
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/with.rs +5 -5
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-executor/Cargo.toml +1 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-executor/src/errors.rs +1 -0
- lora_python-0.7.0/crates/lora-executor/src/eval/binops.rs +325 -0
- lora_python-0.7.0/crates/lora-executor/src/eval/errors.rs +31 -0
- lora_python-0.7.0/crates/lora-executor/src/eval/expr.rs +747 -0
- lora_python-0.7.0/crates/lora-executor/src/eval/functions.rs +885 -0
- lora_python-0.7.0/crates/lora-executor/src/eval/mod.rs +35 -0
- lora_python-0.7.0/crates/lora-executor/src/eval/point.rs +200 -0
- lora_python-0.7.0/crates/lora-executor/src/eval/vector.rs +310 -0
- lora_python-0.7.0/crates/lora-executor/src/executor/helpers.rs +987 -0
- lora_python-0.7.0/crates/lora-executor/src/executor/immutable.rs +946 -0
- lora_python-0.7.0/crates/lora-executor/src/executor/mod.rs +56 -0
- lora_python-0.5.6/crates/lora-executor/src/executor.rs → lora_python-0.7.0/crates/lora-executor/src/executor/mutable.rs +1069 -2698
- lora_python-0.7.0/crates/lora-executor/src/lib.rs +20 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/aggregate.rs +444 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/expand.rs +449 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/filter.rs +49 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/mod.rs +91 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/optional.rs +125 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/path.rs +148 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/projection.rs +185 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/scan.rs +361 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/sort.rs +142 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/tests.rs +72 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/traits.rs +1001 -0
- lora_python-0.7.0/crates/lora-executor/src/pull/union.rs +62 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-executor/src/value.rs +104 -41
- lora_python-0.7.0/crates/lora-executor/tests/error_messages.rs +251 -0
- lora_python-0.5.6/crates/lora-parser/src/error.rs → lora_python-0.7.0/crates/lora-parser/src/errors.rs +1 -1
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-parser/src/lib.rs +2 -2
- lora_python-0.7.0/crates/lora-parser/src/parser/clauses.rs +578 -0
- lora_python-0.7.0/crates/lora-parser/src/parser/expressions.rs +602 -0
- lora_python-0.7.0/crates/lora-parser/src/parser/literals.rs +476 -0
- lora_python-0.7.0/crates/lora-parser/src/parser/mod.rs +82 -0
- lora_python-0.7.0/crates/lora-parser/src/parser/patterns.rs +294 -0
- lora_python-0.7.0/crates/lora-parser/src/parser/query.rs +141 -0
- lora_python-0.7.0/crates/lora-parser/src/parser/tests.rs +1390 -0
- lora_python-0.7.0/crates/lora-parser/src/parser/util.rs +30 -0
- lora_python-0.7.0/crates/lora-parser/tests/error_messages.rs +24 -0
- lora_python-0.7.0/crates/lora-snapshot/Cargo.toml +30 -0
- lora_python-0.7.0/crates/lora-snapshot/src/body.rs +184 -0
- lora_python-0.7.0/crates/lora-snapshot/src/codec.rs +181 -0
- lora_python-0.7.0/crates/lora-snapshot/src/columnar.rs +550 -0
- lora_python-0.7.0/crates/lora-snapshot/src/envelope.rs +142 -0
- lora_python-0.7.0/crates/lora-snapshot/src/errors.rs +33 -0
- lora_python-0.7.0/crates/lora-snapshot/src/format.rs +7 -0
- lora_python-0.7.0/crates/lora-snapshot/src/lib.rs +45 -0
- lora_python-0.7.0/crates/lora-snapshot/src/options.rs +103 -0
- lora_python-0.7.0/crates/lora-snapshot/src/tests.rs +244 -0
- lora_python-0.7.0/crates/lora-snapshot/src/transform.rs +84 -0
- lora_python-0.7.0/crates/lora-snapshot/src/view.rs +232 -0
- lora_python-0.7.0/crates/lora-snapshot/tests/error_messages.rs +99 -0
- lora_python-0.7.0/crates/lora-store/src/lib.rs +45 -0
- lora_python-0.7.0/crates/lora-store/src/lock_table.rs +233 -0
- lora_python-0.7.0/crates/lora-store/src/memory/graph.rs +1291 -0
- lora_python-0.7.0/crates/lora-store/src/memory/impls.rs +844 -0
- lora_python-0.7.0/crates/lora-store/src/memory/mod.rs +23 -0
- lora_python-0.7.0/crates/lora-store/src/memory/property_index.rs +265 -0
- lora_python-0.7.0/crates/lora-store/src/memory/snapshot.rs +78 -0
- lora_python-0.7.0/crates/lora-store/src/memory/tests.rs +820 -0
- lora_python-0.7.0/crates/lora-store/src/mutation.rs +251 -0
- lora_python-0.7.0/crates/lora-store/src/snapshot.rs +67 -0
- lora_python-0.5.6/crates/lora-store/src/graph.rs → lora_python-0.7.0/crates/lora-store/src/traits.rs +12 -85
- lora_python-0.7.0/crates/lora-store/src/types/binary/mod.rs +17 -0
- lora_python-0.7.0/crates/lora-store/src/types/binary/tests.rs +19 -0
- lora_python-0.7.0/crates/lora-store/src/types/binary/traits.rs +37 -0
- lora_python-0.7.0/crates/lora-store/src/types/binary/types.rs +59 -0
- lora_python-0.7.0/crates/lora-store/src/types/graph.rs +70 -0
- lora_python-0.7.0/crates/lora-store/src/types/mod.rs +44 -0
- lora_python-0.7.0/crates/lora-store/src/types/property_value.rs +39 -0
- lora_python-0.7.0/crates/lora-store/src/types/spatial/distance.rs +51 -0
- lora_python-0.7.0/crates/lora-store/src/types/spatial/mod.rs +24 -0
- lora_python-0.7.0/crates/lora-store/src/types/spatial/point.rs +149 -0
- lora_python-0.7.0/crates/lora-store/src/types/spatial/srid.rs +146 -0
- lora_python-0.7.0/crates/lora-store/src/types/spatial/tests.rs +93 -0
- lora_python-0.7.0/crates/lora-store/src/types/temporal/calendar.rs +88 -0
- lora_python-0.7.0/crates/lora-store/src/types/temporal/date.rs +121 -0
- lora_python-0.7.0/crates/lora-store/src/types/temporal/datetime.rs +251 -0
- lora_python-0.7.0/crates/lora-store/src/types/temporal/duration.rs +316 -0
- lora_python-0.7.0/crates/lora-store/src/types/temporal/format.rs +29 -0
- lora_python-0.7.0/crates/lora-store/src/types/temporal/mod.rs +28 -0
- lora_python-0.7.0/crates/lora-store/src/types/temporal/parsing.rs +90 -0
- lora_python-0.7.0/crates/lora-store/src/types/temporal/time.rs +121 -0
- lora_python-0.7.0/crates/lora-store/src/types/vector/build.rs +242 -0
- lora_python-0.7.0/crates/lora-store/src/types/vector/mod.rs +36 -0
- lora_python-0.7.0/crates/lora-store/src/types/vector/similarity.rs +157 -0
- lora_python-0.7.0/crates/lora-store/src/types/vector/tests.rs +620 -0
- lora_python-0.7.0/crates/lora-store/src/types/vector/types.rs +211 -0
- lora_python-0.7.0/crates/lora-store/tests/error_messages.rs +98 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/Cargo.toml +0 -1
- lora_python-0.7.0/crates/lora-wal/src/codec/decode.rs +369 -0
- lora_python-0.7.0/crates/lora-wal/src/codec/encode.rs +546 -0
- lora_python-0.7.0/crates/lora-wal/src/codec/format.rs +40 -0
- lora_python-0.7.0/crates/lora-wal/src/codec/mod.rs +26 -0
- lora_python-0.7.0/crates/lora-wal/src/codec/tests.rs +193 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/dir.rs +1 -1
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/lib.rs +7 -4
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/lock.rs +1 -1
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/record.rs +28 -19
- lora_python-0.7.0/crates/lora-wal/src/recorder/errors.rs +59 -0
- lora_python-0.7.0/crates/lora-wal/src/recorder/mirror.rs +19 -0
- lora_python-0.7.0/crates/lora-wal/src/recorder/mod.rs +20 -0
- lora_python-0.5.6/crates/lora-wal/src/recorder_adapter.rs → lora_python-0.7.0/crates/lora-wal/src/recorder/recorder.rs +77 -224
- lora_python-0.7.0/crates/lora-wal/src/recorder/tests.rs +196 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/replay.rs +1 -1
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/segment.rs +1 -1
- lora_python-0.7.0/crates/lora-wal/src/wal/group_flusher.rs +81 -0
- lora_python-0.7.0/crates/lora-wal/src/wal/mod.rs +18 -0
- lora_python-0.7.0/crates/lora-wal/src/wal/tests.rs +443 -0
- {lora_python-0.5.6/crates/lora-wal/src → lora_python-0.7.0/crates/lora-wal/src/wal}/wal.rs +16 -526
- lora_python-0.7.0/crates/lora-wal/tests/error_messages.rs +155 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/pyproject.toml +2 -2
- {lora_python-0.5.6 → lora_python-0.7.0}/python/lora_python/__init__.py +7 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/python/lora_python/_async.py +24 -3
- {lora_python-0.5.6 → lora_python-0.7.0}/python/lora_python/_native.pyi +53 -8
- {lora_python-0.5.6 → lora_python-0.7.0}/python/lora_python/types.py +36 -1
- lora_python-0.5.6/crates/lora-analyzer/src/analyzer.rs +0 -1862
- lora_python-0.5.6/crates/lora-analyzer/src/errors.rs +0 -58
- lora_python-0.5.6/crates/lora-analyzer/src/lib.rs +0 -9
- lora_python-0.5.6/crates/lora-ast/src/lib.rs +0 -9
- lora_python-0.5.6/crates/lora-database/src/database.rs +0 -1088
- lora_python-0.5.6/crates/lora-executor/src/eval.rs +0 -2384
- lora_python-0.5.6/crates/lora-executor/src/lib.rs +0 -13
- lora_python-0.5.6/crates/lora-executor/src/pull.rs +0 -2500
- lora_python-0.5.6/crates/lora-parser/src/parser.rs +0 -3499
- lora_python-0.5.6/crates/lora-python/src/lib.rs +0 -939
- lora_python-0.5.6/crates/lora-store/src/lib.rs +0 -18
- lora_python-0.5.6/crates/lora-store/src/memory.rs +0 -2737
- lora_python-0.5.6/crates/lora-store/src/mutation.rs +0 -133
- lora_python-0.5.6/crates/lora-store/src/snapshot.rs +0 -458
- lora_python-0.5.6/crates/lora-store/src/spatial.rs +0 -435
- lora_python-0.5.6/crates/lora-store/src/temporal.rs +0 -983
- lora_python-0.5.6/crates/lora-store/src/vector.rs +0 -1242
- {lora_python-0.5.6 → lora_python-0.7.0}/LICENSE +0 -0
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/.gitignore +0 -0
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/Cargo.toml +0 -0
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/LICENSE +0 -0
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/build.rs +0 -0
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/examples/async_demo.py +0 -0
- {lora_python-0.5.6/crates → lora_python-0.7.0/crates/bindings}/lora-python/examples/basic.py +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-analyzer/Cargo.toml +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-analyzer/src/resolved.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-analyzer/src/scope.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-analyzer/src/symbols.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-ast/Cargo.toml +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-ast/src/ast.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-compiler/Cargo.toml +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-compiler/src/logical.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-compiler/src/optimizer.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-compiler/src/pattern.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-compiler/src/physical.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-compiler/src/planner.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/benches/advanced_benchmarks.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/benches/fixtures.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/benches/perf_smoke_benchmarks.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/benches/scale_benchmarks.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/benches/temporal_spatial_benchmarks.rs +0 -0
- {lora_python-0.5.6/crates/lora-database/src → lora_python-0.7.0/crates/lora-database/src/wal}/archive.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/advanced_queries.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/aggregation.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/create.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/expressions.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/merge.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/ordering.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/parameters.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/parser.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/seeds.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/spatial.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/temporal.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/types_advanced.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/union.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-database/tests/where_clause.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-parser/Cargo.toml +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-parser/src/cypher.pest +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-store/Cargo.toml +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/config.rs +0 -0
- /lora_python-0.5.6/crates/lora-wal/src/error.rs → /lora_python-0.7.0/crates/lora-wal/src/errors.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/lsn.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.0}/crates/lora-wal/src/testing.rs +0 -0
- {lora_python-0.5.6 → lora_python-0.7.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,39 @@ 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 = "arc-swap"
|
|
59
|
+
version = "1.9.1"
|
|
60
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
61
|
+
checksum = "6a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207"
|
|
62
|
+
dependencies = [
|
|
63
|
+
"rustversion",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
[[package]]
|
|
67
|
+
name = "argon2"
|
|
68
|
+
version = "0.5.3"
|
|
69
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
+
checksum = "3c3610892ee6e0cbce8ae2700349fcf8f98adb0dbfbee85aec3c9179d29cc072"
|
|
71
|
+
dependencies = [
|
|
72
|
+
"base64ct",
|
|
73
|
+
"blake2",
|
|
74
|
+
"cpufeatures 0.2.17",
|
|
75
|
+
"password-hash",
|
|
76
|
+
]
|
|
77
|
+
|
|
78
|
+
[[package]]
|
|
79
|
+
name = "arrayref"
|
|
80
|
+
version = "0.3.9"
|
|
81
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
82
|
+
checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
|
|
83
|
+
|
|
84
|
+
[[package]]
|
|
85
|
+
name = "arrayvec"
|
|
86
|
+
version = "0.7.6"
|
|
87
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
|
+
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
|
|
89
|
+
|
|
47
90
|
[[package]]
|
|
48
91
|
name = "async-trait"
|
|
49
92
|
version = "0.1.89"
|
|
@@ -122,6 +165,12 @@ dependencies = [
|
|
|
122
165
|
"tracing",
|
|
123
166
|
]
|
|
124
167
|
|
|
168
|
+
[[package]]
|
|
169
|
+
name = "base64ct"
|
|
170
|
+
version = "1.8.3"
|
|
171
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
172
|
+
checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06"
|
|
173
|
+
|
|
125
174
|
[[package]]
|
|
126
175
|
name = "bincode"
|
|
127
176
|
version = "1.3.3"
|
|
@@ -155,6 +204,29 @@ version = "2.11.1"
|
|
|
155
204
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
156
205
|
checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3"
|
|
157
206
|
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "blake2"
|
|
209
|
+
version = "0.10.6"
|
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
211
|
+
checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe"
|
|
212
|
+
dependencies = [
|
|
213
|
+
"digest",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "blake3"
|
|
218
|
+
version = "1.8.5"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "0aa83c34e62843d924f905e0f5c866eb1dd6545fc4d719e803d9ba6030371fce"
|
|
221
|
+
dependencies = [
|
|
222
|
+
"arrayref",
|
|
223
|
+
"arrayvec",
|
|
224
|
+
"cc",
|
|
225
|
+
"cfg-if",
|
|
226
|
+
"constant_time_eq",
|
|
227
|
+
"cpufeatures 0.3.0",
|
|
228
|
+
]
|
|
229
|
+
|
|
158
230
|
[[package]]
|
|
159
231
|
name = "block-buffer"
|
|
160
232
|
version = "0.10.4"
|
|
@@ -213,6 +285,30 @@ version = "1.0.4"
|
|
|
213
285
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
286
|
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
215
287
|
|
|
288
|
+
[[package]]
|
|
289
|
+
name = "chacha20"
|
|
290
|
+
version = "0.9.1"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818"
|
|
293
|
+
dependencies = [
|
|
294
|
+
"cfg-if",
|
|
295
|
+
"cipher",
|
|
296
|
+
"cpufeatures 0.2.17",
|
|
297
|
+
]
|
|
298
|
+
|
|
299
|
+
[[package]]
|
|
300
|
+
name = "chacha20poly1305"
|
|
301
|
+
version = "0.10.1"
|
|
302
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
303
|
+
checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35"
|
|
304
|
+
dependencies = [
|
|
305
|
+
"aead",
|
|
306
|
+
"chacha20",
|
|
307
|
+
"cipher",
|
|
308
|
+
"poly1305",
|
|
309
|
+
"zeroize",
|
|
310
|
+
]
|
|
311
|
+
|
|
216
312
|
[[package]]
|
|
217
313
|
name = "ciborium"
|
|
218
314
|
version = "0.2.2"
|
|
@@ -240,6 +336,17 @@ dependencies = [
|
|
|
240
336
|
"half",
|
|
241
337
|
]
|
|
242
338
|
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "cipher"
|
|
341
|
+
version = "0.4.4"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
|
|
344
|
+
dependencies = [
|
|
345
|
+
"crypto-common",
|
|
346
|
+
"inout",
|
|
347
|
+
"zeroize",
|
|
348
|
+
]
|
|
349
|
+
|
|
243
350
|
[[package]]
|
|
244
351
|
name = "clang-sys"
|
|
245
352
|
version = "1.8.1"
|
|
@@ -286,6 +393,12 @@ dependencies = [
|
|
|
286
393
|
"wasm-bindgen",
|
|
287
394
|
]
|
|
288
395
|
|
|
396
|
+
[[package]]
|
|
397
|
+
name = "constant_time_eq"
|
|
398
|
+
version = "0.4.2"
|
|
399
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
400
|
+
checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
|
|
401
|
+
|
|
289
402
|
[[package]]
|
|
290
403
|
name = "convert_case"
|
|
291
404
|
version = "0.6.0"
|
|
@@ -304,6 +417,15 @@ dependencies = [
|
|
|
304
417
|
"libc",
|
|
305
418
|
]
|
|
306
419
|
|
|
420
|
+
[[package]]
|
|
421
|
+
name = "cpufeatures"
|
|
422
|
+
version = "0.3.0"
|
|
423
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
424
|
+
checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
|
|
425
|
+
dependencies = [
|
|
426
|
+
"libc",
|
|
427
|
+
]
|
|
428
|
+
|
|
307
429
|
[[package]]
|
|
308
430
|
name = "crc32fast"
|
|
309
431
|
version = "1.5.0"
|
|
@@ -386,6 +508,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
386
508
|
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
|
|
387
509
|
dependencies = [
|
|
388
510
|
"generic-array",
|
|
511
|
+
"rand_core",
|
|
389
512
|
"typenum",
|
|
390
513
|
]
|
|
391
514
|
|
|
@@ -407,6 +530,7 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
|
407
530
|
dependencies = [
|
|
408
531
|
"block-buffer",
|
|
409
532
|
"crypto-common",
|
|
533
|
+
"subtle",
|
|
410
534
|
]
|
|
411
535
|
|
|
412
536
|
[[package]]
|
|
@@ -483,6 +607,19 @@ dependencies = [
|
|
|
483
607
|
"version_check",
|
|
484
608
|
]
|
|
485
609
|
|
|
610
|
+
[[package]]
|
|
611
|
+
name = "getrandom"
|
|
612
|
+
version = "0.2.17"
|
|
613
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
614
|
+
checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
|
|
615
|
+
dependencies = [
|
|
616
|
+
"cfg-if",
|
|
617
|
+
"js-sys",
|
|
618
|
+
"libc",
|
|
619
|
+
"wasi",
|
|
620
|
+
"wasm-bindgen",
|
|
621
|
+
]
|
|
622
|
+
|
|
486
623
|
[[package]]
|
|
487
624
|
name = "glob"
|
|
488
625
|
version = "0.3.3"
|
|
@@ -596,6 +733,15 @@ dependencies = [
|
|
|
596
733
|
"rustversion",
|
|
597
734
|
]
|
|
598
735
|
|
|
736
|
+
[[package]]
|
|
737
|
+
name = "inout"
|
|
738
|
+
version = "0.1.4"
|
|
739
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
740
|
+
checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
|
|
741
|
+
dependencies = [
|
|
742
|
+
"generic-array",
|
|
743
|
+
]
|
|
744
|
+
|
|
599
745
|
[[package]]
|
|
600
746
|
name = "itertools"
|
|
601
747
|
version = "0.13.0"
|
|
@@ -651,7 +797,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
|
651
797
|
|
|
652
798
|
[[package]]
|
|
653
799
|
name = "lora-analyzer"
|
|
654
|
-
version = "0.
|
|
800
|
+
version = "0.7.0"
|
|
655
801
|
dependencies = [
|
|
656
802
|
"lora-ast",
|
|
657
803
|
"lora-parser",
|
|
@@ -661,14 +807,14 @@ dependencies = [
|
|
|
661
807
|
|
|
662
808
|
[[package]]
|
|
663
809
|
name = "lora-ast"
|
|
664
|
-
version = "0.
|
|
810
|
+
version = "0.7.0"
|
|
665
811
|
dependencies = [
|
|
666
812
|
"smallvec 2.0.0-alpha.12",
|
|
667
813
|
]
|
|
668
814
|
|
|
669
815
|
[[package]]
|
|
670
816
|
name = "lora-compiler"
|
|
671
|
-
version = "0.
|
|
817
|
+
version = "0.7.0"
|
|
672
818
|
dependencies = [
|
|
673
819
|
"lora-analyzer",
|
|
674
820
|
"lora-ast",
|
|
@@ -676,25 +822,29 @@ dependencies = [
|
|
|
676
822
|
|
|
677
823
|
[[package]]
|
|
678
824
|
name = "lora-database"
|
|
679
|
-
version = "0.
|
|
825
|
+
version = "0.7.0"
|
|
680
826
|
dependencies = [
|
|
681
827
|
"anyhow",
|
|
828
|
+
"arc-swap",
|
|
682
829
|
"criterion",
|
|
683
830
|
"lora-analyzer",
|
|
684
831
|
"lora-ast",
|
|
685
832
|
"lora-compiler",
|
|
686
833
|
"lora-executor",
|
|
687
834
|
"lora-parser",
|
|
835
|
+
"lora-snapshot",
|
|
688
836
|
"lora-store",
|
|
689
837
|
"lora-wal",
|
|
690
838
|
"serde_json",
|
|
839
|
+
"thiserror",
|
|
691
840
|
"tower",
|
|
841
|
+
"tracing",
|
|
692
842
|
"zip",
|
|
693
843
|
]
|
|
694
844
|
|
|
695
845
|
[[package]]
|
|
696
846
|
name = "lora-executor"
|
|
697
|
-
version = "0.
|
|
847
|
+
version = "0.7.0"
|
|
698
848
|
dependencies = [
|
|
699
849
|
"lora-analyzer",
|
|
700
850
|
"lora-ast",
|
|
@@ -702,14 +852,16 @@ dependencies = [
|
|
|
702
852
|
"lora-store",
|
|
703
853
|
"regex",
|
|
704
854
|
"serde",
|
|
855
|
+
"smallvec 2.0.0-alpha.12",
|
|
705
856
|
"thiserror",
|
|
706
857
|
"tracing",
|
|
707
858
|
]
|
|
708
859
|
|
|
709
860
|
[[package]]
|
|
710
861
|
name = "lora-ffi"
|
|
711
|
-
version = "0.
|
|
862
|
+
version = "0.7.0"
|
|
712
863
|
dependencies = [
|
|
864
|
+
"anyhow",
|
|
713
865
|
"lora-database",
|
|
714
866
|
"lora-store",
|
|
715
867
|
"serde",
|
|
@@ -718,7 +870,7 @@ dependencies = [
|
|
|
718
870
|
|
|
719
871
|
[[package]]
|
|
720
872
|
name = "lora-node"
|
|
721
|
-
version = "0.
|
|
873
|
+
version = "0.7.0"
|
|
722
874
|
dependencies = [
|
|
723
875
|
"anyhow",
|
|
724
876
|
"lora-database",
|
|
@@ -732,7 +884,7 @@ dependencies = [
|
|
|
732
884
|
|
|
733
885
|
[[package]]
|
|
734
886
|
name = "lora-parser"
|
|
735
|
-
version = "0.
|
|
887
|
+
version = "0.7.0"
|
|
736
888
|
dependencies = [
|
|
737
889
|
"lora-ast",
|
|
738
890
|
"pest",
|
|
@@ -743,7 +895,7 @@ dependencies = [
|
|
|
743
895
|
|
|
744
896
|
[[package]]
|
|
745
897
|
name = "lora-python"
|
|
746
|
-
version = "0.
|
|
898
|
+
version = "0.7.0"
|
|
747
899
|
dependencies = [
|
|
748
900
|
"anyhow",
|
|
749
901
|
"lora-database",
|
|
@@ -755,7 +907,7 @@ dependencies = [
|
|
|
755
907
|
|
|
756
908
|
[[package]]
|
|
757
909
|
name = "lora-server"
|
|
758
|
-
version = "0.
|
|
910
|
+
version = "0.7.0"
|
|
759
911
|
dependencies = [
|
|
760
912
|
"anyhow",
|
|
761
913
|
"axum",
|
|
@@ -767,9 +919,24 @@ dependencies = [
|
|
|
767
919
|
"tower",
|
|
768
920
|
]
|
|
769
921
|
|
|
922
|
+
[[package]]
|
|
923
|
+
name = "lora-snapshot"
|
|
924
|
+
version = "0.7.0"
|
|
925
|
+
dependencies = [
|
|
926
|
+
"argon2",
|
|
927
|
+
"bincode",
|
|
928
|
+
"blake3",
|
|
929
|
+
"chacha20poly1305",
|
|
930
|
+
"flate2",
|
|
931
|
+
"getrandom",
|
|
932
|
+
"lora-store",
|
|
933
|
+
"serde",
|
|
934
|
+
"thiserror",
|
|
935
|
+
]
|
|
936
|
+
|
|
770
937
|
[[package]]
|
|
771
938
|
name = "lora-store"
|
|
772
|
-
version = "0.
|
|
939
|
+
version = "0.7.0"
|
|
773
940
|
dependencies = [
|
|
774
941
|
"bincode",
|
|
775
942
|
"crc32fast",
|
|
@@ -781,9 +948,8 @@ dependencies = [
|
|
|
781
948
|
|
|
782
949
|
[[package]]
|
|
783
950
|
name = "lora-wal"
|
|
784
|
-
version = "0.
|
|
951
|
+
version = "0.7.0"
|
|
785
952
|
dependencies = [
|
|
786
|
-
"bincode",
|
|
787
953
|
"crc32fast",
|
|
788
954
|
"lora-store",
|
|
789
955
|
"serde",
|
|
@@ -792,7 +958,7 @@ dependencies = [
|
|
|
792
958
|
|
|
793
959
|
[[package]]
|
|
794
960
|
name = "lora-wasm"
|
|
795
|
-
version = "0.
|
|
961
|
+
version = "0.7.0"
|
|
796
962
|
dependencies = [
|
|
797
963
|
"anyhow",
|
|
798
964
|
"console_error_panic_hook",
|
|
@@ -807,7 +973,7 @@ dependencies = [
|
|
|
807
973
|
|
|
808
974
|
[[package]]
|
|
809
975
|
name = "lora_ruby"
|
|
810
|
-
version = "0.
|
|
976
|
+
version = "0.7.0"
|
|
811
977
|
dependencies = [
|
|
812
978
|
"anyhow",
|
|
813
979
|
"lora-database",
|
|
@@ -986,6 +1152,12 @@ version = "11.1.5"
|
|
|
986
1152
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
987
1153
|
checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
|
|
988
1154
|
|
|
1155
|
+
[[package]]
|
|
1156
|
+
name = "opaque-debug"
|
|
1157
|
+
version = "0.3.1"
|
|
1158
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1159
|
+
checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381"
|
|
1160
|
+
|
|
989
1161
|
[[package]]
|
|
990
1162
|
name = "page_size"
|
|
991
1163
|
version = "0.6.0"
|
|
@@ -996,6 +1168,17 @@ dependencies = [
|
|
|
996
1168
|
"winapi",
|
|
997
1169
|
]
|
|
998
1170
|
|
|
1171
|
+
[[package]]
|
|
1172
|
+
name = "password-hash"
|
|
1173
|
+
version = "0.5.0"
|
|
1174
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1175
|
+
checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166"
|
|
1176
|
+
dependencies = [
|
|
1177
|
+
"base64ct",
|
|
1178
|
+
"rand_core",
|
|
1179
|
+
"subtle",
|
|
1180
|
+
]
|
|
1181
|
+
|
|
999
1182
|
[[package]]
|
|
1000
1183
|
name = "percent-encoding"
|
|
1001
1184
|
version = "2.3.2"
|
|
@@ -1085,6 +1268,17 @@ dependencies = [
|
|
|
1085
1268
|
"plotters-backend",
|
|
1086
1269
|
]
|
|
1087
1270
|
|
|
1271
|
+
[[package]]
|
|
1272
|
+
name = "poly1305"
|
|
1273
|
+
version = "0.8.0"
|
|
1274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1275
|
+
checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf"
|
|
1276
|
+
dependencies = [
|
|
1277
|
+
"cpufeatures 0.2.17",
|
|
1278
|
+
"opaque-debug",
|
|
1279
|
+
"universal-hash",
|
|
1280
|
+
]
|
|
1281
|
+
|
|
1088
1282
|
[[package]]
|
|
1089
1283
|
name = "portable-atomic"
|
|
1090
1284
|
version = "1.13.1"
|
|
@@ -1172,6 +1366,15 @@ dependencies = [
|
|
|
1172
1366
|
"proc-macro2",
|
|
1173
1367
|
]
|
|
1174
1368
|
|
|
1369
|
+
[[package]]
|
|
1370
|
+
name = "rand_core"
|
|
1371
|
+
version = "0.6.4"
|
|
1372
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1373
|
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
1374
|
+
dependencies = [
|
|
1375
|
+
"getrandom",
|
|
1376
|
+
]
|
|
1377
|
+
|
|
1175
1378
|
[[package]]
|
|
1176
1379
|
name = "rayon"
|
|
1177
1380
|
version = "1.12.0"
|
|
@@ -1374,7 +1577,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1374
1577
|
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
1375
1578
|
dependencies = [
|
|
1376
1579
|
"cfg-if",
|
|
1377
|
-
"cpufeatures",
|
|
1580
|
+
"cpufeatures 0.2.17",
|
|
1378
1581
|
"digest",
|
|
1379
1582
|
]
|
|
1380
1583
|
|
|
@@ -1424,6 +1627,12 @@ dependencies = [
|
|
|
1424
1627
|
"windows-sys",
|
|
1425
1628
|
]
|
|
1426
1629
|
|
|
1630
|
+
[[package]]
|
|
1631
|
+
name = "subtle"
|
|
1632
|
+
version = "2.6.1"
|
|
1633
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1634
|
+
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
|
|
1635
|
+
|
|
1427
1636
|
[[package]]
|
|
1428
1637
|
name = "syn"
|
|
1429
1638
|
version = "2.0.117"
|
|
@@ -1592,6 +1801,16 @@ version = "0.2.4"
|
|
|
1592
1801
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1593
1802
|
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
1594
1803
|
|
|
1804
|
+
[[package]]
|
|
1805
|
+
name = "universal-hash"
|
|
1806
|
+
version = "0.5.1"
|
|
1807
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1808
|
+
checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
|
|
1809
|
+
dependencies = [
|
|
1810
|
+
"crypto-common",
|
|
1811
|
+
"subtle",
|
|
1812
|
+
]
|
|
1813
|
+
|
|
1595
1814
|
[[package]]
|
|
1596
1815
|
name = "version_check"
|
|
1597
1816
|
version = "0.9.5"
|
|
@@ -1748,6 +1967,12 @@ dependencies = [
|
|
|
1748
1967
|
"syn",
|
|
1749
1968
|
]
|
|
1750
1969
|
|
|
1970
|
+
[[package]]
|
|
1971
|
+
name = "zeroize"
|
|
1972
|
+
version = "1.8.2"
|
|
1973
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1974
|
+
checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
|
|
1975
|
+
|
|
1751
1976
|
[[package]]
|
|
1752
1977
|
name = "zip"
|
|
1753
1978
|
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/bindings/lora-python"]
|
|
3
3
|
resolver = "2"
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
6
|
edition = "2021"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.7.0"
|
|
8
8
|
license = "BUSL-1.1"
|
|
9
9
|
authors = ["LoraDB, Inc."]
|
|
10
10
|
repository = "https://github.com/lora-db/lora"
|
|
@@ -15,17 +15,19 @@ 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.
|
|
19
|
-
lora-parser = { path = "crates/lora-parser", version = "=0.
|
|
20
|
-
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.
|
|
21
|
-
lora-compiler = { path = "crates/lora-compiler", version = "=0.
|
|
22
|
-
lora-store = { path = "crates/lora-store", version = "=0.
|
|
23
|
-
lora-
|
|
24
|
-
lora-
|
|
25
|
-
lora-
|
|
18
|
+
lora-ast = { path = "crates/lora-ast", version = "=0.7.0" }
|
|
19
|
+
lora-parser = { path = "crates/lora-parser", version = "=0.7.0" }
|
|
20
|
+
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.7.0" }
|
|
21
|
+
lora-compiler = { path = "crates/lora-compiler", version = "=0.7.0" }
|
|
22
|
+
lora-store = { path = "crates/lora-store", version = "=0.7.0" }
|
|
23
|
+
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.7.0", default-features = false }
|
|
24
|
+
lora-wal = { path = "crates/lora-wal", version = "=0.7.0" }
|
|
25
|
+
lora-executor = { path = "crates/lora-executor", version = "=0.7.0" }
|
|
26
|
+
lora-database = { path = "crates/lora-database", version = "=0.7.0" }
|
|
26
27
|
|
|
27
28
|
# External crates.
|
|
28
29
|
anyhow = "1"
|
|
30
|
+
arc-swap = "1"
|
|
29
31
|
thiserror = "2"
|
|
30
32
|
tracing = "0"
|
|
31
33
|
axum = "0"
|
|
@@ -41,3 +43,8 @@ criterion = { version = "0.8.2", features = ["html_reports"] }
|
|
|
41
43
|
bincode = "1.3"
|
|
42
44
|
crc32fast = "1.4"
|
|
43
45
|
zip = { version = "0.6", default-features = false, features = ["deflate"] }
|
|
46
|
+
chacha20poly1305 = "0.10"
|
|
47
|
+
blake3 = "1"
|
|
48
|
+
getrandom = "0.2"
|
|
49
|
+
argon2 = "0.5"
|
|
50
|
+
flate2 = "1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lora-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: 3
|
|
6
6
|
Classifier: Programming Language :: Python :: 3.8
|
|
@@ -30,16 +30,16 @@ Project-URL: Repository, https://github.com/lora-db/lora
|
|
|
30
30
|
|
|
31
31
|
# lora-python
|
|
32
32
|
|
|
33
|
-
Python bindings for the [Lora](
|
|
33
|
+
Python bindings for the [Lora](../../../README.md) graph
|
|
34
34
|
engine. Ships both a synchronous PyO3 `Database` class and an
|
|
35
35
|
asyncio-compatible `AsyncDatabase` wrapper that never blocks the event loop.
|
|
36
36
|
|
|
37
|
-
> **
|
|
37
|
+
> **Package:** `lora-python`.
|
|
38
38
|
|
|
39
39
|
## Install (local dev)
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
cd crates/lora-python
|
|
42
|
+
cd crates/bindings/lora-python
|
|
43
43
|
python3 -m venv .venv && source .venv/bin/activate
|
|
44
44
|
pip install -U pip maturin pytest pytest-asyncio
|
|
45
45
|
maturin develop # builds the Rust extension into the venv
|
|
@@ -133,7 +133,7 @@ Constructors and guards are exported from `lora_python.types`:
|
|
|
133
133
|
`is_relationship`, `is_path`, `is_point`, `is_temporal`.
|
|
134
134
|
|
|
135
135
|
> `distance()` on WGS-84-3D points ignores `height` — see
|
|
136
|
-
> [functions reference](
|
|
136
|
+
> [functions reference](../../../apps/loradb.com/docs/functions/overview.md) for the full spatial
|
|
137
137
|
> reference and known limitations.
|
|
138
138
|
|
|
139
139
|
## Errors
|
|
@@ -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
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# lora-python
|
|
2
2
|
|
|
3
|
-
Python bindings for the [Lora](
|
|
3
|
+
Python bindings for the [Lora](../../../README.md) graph
|
|
4
4
|
engine. Ships both a synchronous PyO3 `Database` class and an
|
|
5
5
|
asyncio-compatible `AsyncDatabase` wrapper that never blocks the event loop.
|
|
6
6
|
|
|
7
|
-
> **
|
|
7
|
+
> **Package:** `lora-python`.
|
|
8
8
|
|
|
9
9
|
## Install (local dev)
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
cd crates/lora-python
|
|
12
|
+
cd crates/bindings/lora-python
|
|
13
13
|
python3 -m venv .venv && source .venv/bin/activate
|
|
14
14
|
pip install -U pip maturin pytest pytest-asyncio
|
|
15
15
|
maturin develop # builds the Rust extension into the venv
|
|
@@ -103,7 +103,7 @@ Constructors and guards are exported from `lora_python.types`:
|
|
|
103
103
|
`is_relationship`, `is_path`, `is_point`, `is_temporal`.
|
|
104
104
|
|
|
105
105
|
> `distance()` on WGS-84-3D points ignores `height` — see
|
|
106
|
-
> [functions reference](
|
|
106
|
+
> [functions reference](../../../apps/loradb.com/docs/functions/overview.md) for the full spatial
|
|
107
107
|
> reference and known limitations.
|
|
108
108
|
|
|
109
109
|
## Errors
|
|
@@ -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
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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
|
|