Cargo Features

Raphtory has no features set by default.

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

Enables the graph loader io module

Enables tokio and zip

tokio:

for vector testing

and arrow-json =53.2.0, bzip2 ^0.4.4, csv, flate2, neo4rs, parquet =53.2.0, and reqwest

csv:

io optional dependencies

Affects disk_graph::io, raphtory::graph_loader, raphtory::io

Enables tantivy ^0.22.0

search optional dependencies

Affects graph::SearchableGraphOps, raphtory::search, graph::index

vectors python?

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

futures-util:

vectors optional dependencies

Affects raphtory::vectors, packages::vectors

python = arrow, io, proto, pyo3-arrow, search, vectors

Enables generating the pyo3 python bindings

Enables display-error-chain, num and numpy ^0.23.0, notebook of kdam, python of raphtory-api, compute of optional polars-arrow ^0.42.0 and pyo3 =0.23.3

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.42.0

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

arrow proto? python? storage?

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

Affects errors::LoadError, io::parquet_loaders

proto io? python? search? = arrow, io

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?
pyo3-arrow python?

Enables pyo3-arrow ^0.6