swh-graph 9.1.0

Compressed in-memory representation of the Software Heritage archive graph
Documentation
[[bin]]
name = "swh-graph-compress"
path = "src/bin/swh-graph-compress.rs"
required-features = ["compression"]

[[bin]]
name = "swh-graph-convert"
path = "src/bin/swh-graph-convert.rs"
required-features = ["serde"]

[[bin]]
name = "swh-graph-extract"
path = "src/bin/swh-graph-extract.rs"
required-features = ["compression", "orc"]

[[bin]]
name = "swh-graph-get-node"
path = "src/bin/swh-graph-get-node.rs"
required-features = ["serde"]

[[bin]]
name = "swh-graph-hash"
path = "src/bin/swh-graph-hash.rs"
required-features = ["compression"]

[[bin]]
name = "swh-graph-index"
path = "src/bin/swh-graph-index.rs"

[[bin]]
name = "swh-graph-node2type"
path = "src/bin/swh-graph-node2type.rs"

[[bin]]
name = "swh-graph-person-id-to-name"
path = "src/bin/swh-graph-person-id-to-name.rs"

[dependencies.anyhow]
features = ["backtrace"]
version = "1.0.79"

[dependencies.ar_row]
optional = true
version = "1.0.0"

[dependencies.ar_row_derive]
optional = true
version = "1.0.0"

[dependencies.arrow]
optional = true
version = "57.0.0"

[dependencies.arrow-array]
optional = true
version = "57.0.0"

[dependencies.base64-simd]
version = "0.8.0"

[dependencies.bytemuck]
features = ["extern_crate_alloc"]
version = "1.18.0"

[dependencies.byteorder]
version = "1.4.3"

[dependencies.clap]
features = ["derive"]
version = "4.1.6"

[dependencies.common_traits]
version = "0.12.0"

[dependencies.const-hex]
optional = true
version = "1.11.1"

[dependencies.const_panic]
optional = true
version = "0.2.8"

[dependencies.crossbeam]
version = "0.8.4"

[dependencies.dary_heap]
version = "0.3.6"

[dependencies.dsi-bitstream]
version = "0.5.0"

[dependencies.dsi-progress-logger]
version = "0.8.0"

[dependencies.env_logger]
version = "0.11.5"

[dependencies.epserde]
version = "0.11.1"

[dependencies.faster-hex]
default-features = false
features = ["std"]
version = "0.8.0"

[dependencies.hex]
optional = true
version = "0.4.3"

[dependencies.itertools]
version = "0.11.0"

[dependencies.java-properties]
version = "1.4.1"

[dependencies.lender]
version = "0.4.2"

[dependencies.log]
version = "0.4.17"

[dependencies.mimalloc]
default-features = false
optional = true
version = "0.1"

[dependencies.mmap-rs]
version = "0.6.1"

[dependencies.nonmax]
version = "0.5.5"

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.orc-rust]
default-features = false
optional = true
version = "0.7.1"

[dependencies.pthash]
features = ["rayon"]
version = "0.4.0"

[dependencies.rand]
version = "0.9.0"

[dependencies.rayon]
version = "1.9.0"

[dependencies.rdst]
features = ["multi-threaded"]
version = "0.20.14"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.189"

[dependencies.serde_json]
optional = true
version = "1.0.108"

[dependencies.sha1]
version = "0.10.6"

[dependencies.sux]
version = "0.10.0"

[dependencies.tempfile]
version = "3.7.1"

[dependencies.thiserror]
version = "1.0.51"

[dependencies.thread_local]
version = "1.1.7"

[dependencies.value-traits]
version = "0.2.0"

[dependencies.webgraph]
version = "0.5.0"

[dependencies.webgraph-cli]
version = "0.3.0"

[dependencies.zstd]
version = "0.12"

[dev-dependencies.futures]
version = "0.3.30"

[[example]]
name = "bfs"
path = "examples/bfs.rs"

[[example]]
name = "bfs_labels"
path = "examples/bfs_labels.rs"

[[example]]
name = "compare-graphs"
path = "examples/compare-graphs.rs"

[features]
arrow = ["dep:arrow", "dep:arrow-array"]
compression = []
default = ["macros"]
macros = ["const_panic", "const-hex"]
miri = ["hex"]
orc = ["ar_row", "ar_row_derive", "arrow", "orc-rust", "mimalloc"]
serde = ["dep:serde", "dep:serde_json"]

[lib]
name = "swh_graph"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["compression", "science"]
description = "Compressed in-memory representation of the Software Heritage archive graph"
edition = "2021"
keywords = ["software-heritage", "graph", "compression", "webgraph"]
license = "GPL-3.0-or-later"
name = "swh-graph"
readme = "README.md"
repository = "https://gitlab.softwareheritage.org/swh/devel/swh-graph"
rust-version = "1.81"
version = "9.1.0"

[package.metadata.docs.rs]
all-features = true

[[test]]
name = "compress_label_names"
path = "tests/compress_label_names.rs"

[[test]]
name = "contiguous_subgraph"
path = "tests/contiguous_subgraph.rs"

[[test]]
name = "gov"
path = "tests/gov.rs"

[[test]]
name = "graph_builder"
path = "tests/graph_builder.rs"

[[test]]
name = "label_name_order"
path = "tests/label_name_order.rs"

[[test]]
name = "properties"
path = "tests/properties.rs"

[[test]]
name = "subgraph"
path = "tests/subgraph.rs"

[[test]]
name = "test_label_iterators"
path = "tests/test_label_iterators.rs"

[[test]]
name = "test_node2swhid"
path = "tests/test_node2swhid.rs"

[[test]]
name = "test_node2type"
path = "tests/test_node2type.rs"

[[test]]
name = "test_order_mph"
path = "tests/test_order_mph.rs"

[[test]]
name = "test_swhid"
path = "tests/test_swhid.rs"

[[test]]
name = "transposed"
path = "tests/transposed.rs"

[[test]]
name = "vec_graph"
path = "tests/vec_graph.rs"

[[test]]
name = "webgraph_adapter"
path = "tests/webgraph_adapter.rs"