feat: python bindings

This commit is contained in:
Henri Bourcereau 2026-01-18 18:41:08 +01:00
parent 43afac1a20
commit 3f51e3ac08
12 changed files with 402 additions and 14 deletions

View file

@ -7,14 +7,17 @@ edition = "2021"
[lib]
name = "store"
# "cdylib" is necessary to produce a shared library for Python to import from.
# Only "rlib" is needed for other Rust crates to use this library
crate-type = ["rlib"]
crate-type = ["cdylib", "rlib"]
[dependencies]
base64 = "0.21.7"
# provides macros for creating log messages to be used by a logger (for example env_logger)
log = "0.4.20"
merge = "0.1.0"
# generate python lib (with maturin) to be used in AI training
pyo3 = { version = "0.23", features = ["extension-module", "abi3-py38"] }
rand = "0.8.5"
serde = { version = "1.0", features = ["derive"] }
transpose = "0.2.2"