Cargo Features

Raphtory has no features set by default.

[dependencies]
raphtory = { version = "0.14.0", features = ["io", "search", "vectors", "python", "storage", "arrow", "proto"] }
io python? = proto

Enables the graph loader io module

Enables tokio and zip

tokio:

for vector testing

and bzip2 ^0.4.4, csv, flate2, neo4rs, and reqwest

csv:

io optional dependencies

Affects raphtory::graph_loader, raphtory::io

Enables tantivy

search optional dependencies

Affects raphtory::search, graph::index

vectors python?

Enables async-openai ^0.23.4, async-trait, bincode, futures-util, minijinja, and minijinja-contrib

futures-util:

vectors optional dependencies

Affects raphtory::vectors, packages::vectors

python = arrow, io, proto, search, vectors

Enables generating the pyo3 python bindings

Enables display-error-chain, num and numpy ^0.22.1, notebook of kdam, python of raphtory-api, compute of optional polars-arrow ^0.39.2 and pyo3 ^0.22.6

python binding optional dependencies

Affects raphtory::python

storage = arrow, pometry-storage

Enables memmap2, tempfile, storage of raphtory-api, arrow_rs and io_ipc of optional polars-arrow ^0.39.2

Affects parquet_loaders::read_struct_arrays, raphtory::disk_graph, graph::disk_graph, algorithms::connected_components

arrow python? storage?

Enables polars-arrow ^0.39.2, compression of polars-parquet ^0.39.2

Affects errors::LoadError, io::parquet_loaders

proto io? python?

Enables memmap2, prost, prost-build, prost-types, and zip

Affects errors::WriteError, raphtory::serialise

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

kdam python?
pometry-storage storage?