|
|
|
[package]
|
|
|
|
name = "cozo_py"
|
|
|
|
version = "0.5.1"
|
|
|
|
edition = "2021"
|
|
|
|
description = "Cozo database for python"
|
|
|
|
authors = ["Ziyang Hu"]
|
|
|
|
license = "MPL-2.0"
|
|
|
|
homepage = "https://www.cozodb.org"
|
|
|
|
repository = "https://github.com/cozodb/cozo"
|
|
|
|
documentation = "https://docs.cozodb.org"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "cozo_embedded"
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
[features]
|
|
|
|
#! # Features
|
|
|
|
|
|
|
|
## Enables the `minimal`, `requests` and `graph-algo` features
|
|
|
|
compact = ["minimal", "requests", "graph-algo"]
|
|
|
|
## Enables the `storage-sqlite` and `graph-algo` features
|
|
|
|
mobile = ["storage-sqlite", "graph-algo"]
|
|
|
|
## Enables the `minimal`, `requests` and `graph-algo` features in single threaded mode
|
|
|
|
compact-single-threaded = ["minimal", "requests", "graph-algo"]
|
|
|
|
## Enables the `storage-sqlite` feature
|
|
|
|
minimal = ["storage-sqlite"]
|
|
|
|
## Enables the [Sqlite](https://www.sqlite.org/index.html) backend, also allows backup and restore with Sqlite data files.
|
|
|
|
storage-sqlite = ["cozo/storage-sqlite"]
|
|
|
|
## Enables the [RocksDB](http://rocksdb.org/) backend
|
|
|
|
storage-rocksdb = ["cozo/storage-rocksdb"]
|
|
|
|
## Enables the graph algorithms
|
|
|
|
graph-algo = ["cozo/graph-algo"]
|
|
|
|
## Allows the utilities to make web requests to fetch data
|
|
|
|
requests = ["cozo/requests"]
|
|
|
|
## Uses jemalloc as the global allocator, can make a difference in performance
|
|
|
|
jemalloc = ["cozo/jemalloc"]
|
|
|
|
## Enables io-uring option for the RocksDB storage
|
|
|
|
io-uring = ["cozo/io-uring"]
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
cozo = { version = "0.5.1", path = "../cozo-core", default-features = false }
|
|
|
|
pyo3 = { version = "0.17.1", features = ["extension-module", "abi3", "abi3-py37"] }
|
|
|
|
miette = "5.5.0"
|