Cargo Features
[dependencies]
swh-graph = { version = "6.2.0", default-features = false, features = ["arrow", "compression", "orc", "macros", "serde"] }
- default = macros
-
The
macros
feature is set by default wheneverswh-graph
is added without
somewhere in the dependency tree.default-features = false - 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, swh-graph-extract and swh-graph-hash 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 and serde_json
Affects
swh-graph::serde
…Required by the swh-graph-convert binary
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?
-
Enables orc-rust ^0.3.1
- ar_row orc?
- ar_row_derive orc?
- const_panic macros
-
Enables const_panic
macros
- const-hex macros