You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.8 KiB
TOML
50 lines
1.8 KiB
TOML
[package]
|
|
name = "cozo_c"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
license = "MPL-2.0"
|
|
homepage = "https://github.com/cozodb/cozo"
|
|
repository = "https://github.com/cozodb/cozo"
|
|
documentation = "https://cozodb.github.io/current/manual"
|
|
description = "C bindings for CozoDB"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "staticlib"]
|
|
|
|
[features]
|
|
#! # Features
|
|
|
|
## Enables the `minimal`, `requests` and `graph-algo` features
|
|
compact = ["minimal", "requests", "graph-algo", "rayon"]
|
|
## Enables the `storage-sqlite` and `graph-algo` features
|
|
mobile = ["storage-sqlite", "graph-algo", "rayon"]
|
|
## 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"]
|
|
## Allows threading and enables the use of the `rayon` library for parallelizing algorithms
|
|
rayon = ["cozo/rayon"]
|
|
## Disallows the use of threads
|
|
nothread = ["cozo/nothread"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
cozo = { version = "0.2.0", path = "../cozo-core", default_features = false }
|
|
lazy_static = "1.4.0"
|
|
|
|
[build-dependencies]
|
|
cbindgen = "0.24.3"
|