Cargo Features

[dependencies]
swh-graph = { version = "6.0.0", default-features = false, features = ["arrow", "compression", "orc", "macros", "serde"] }
default = macros

The macros feature is set by default whenever swh-graph is added without default-features = false somewhere in the dependency tree.

arrow orc?

Enables arrow ^52.0, arrow-array ^52.0, and arrow-schema ^52.0

arrow:

compression

compression = sha1

Reads dataset from ORC files and produces a compressed graph

Affects swh-graph::compress

Required by swh-graph-compress and swh-graph-extract binaries

orc = ar_row, ar_row_derive, arrow, chrono, orc-rust

Affects compress::bv, compress::orc, compress::properties, compress::stats

Required by the swh-graph-extract binary

macros default = const-hex, const_panic
serde

Enables serde

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.

sha1 compression?
chrono orc?
orc-rust orc?
ar_row orc?
ar_row_derive orc?
const_panic macros

Enables const_panic

macros

const-hex macros