swh-graph 11.3.0

Compressed in-memory representation of the Software Heritage archive graph
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

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

[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"

[[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"

[[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"

[[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_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"

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

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

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

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

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

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

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

[dependencies.byteorder]
version = "1.4.3"

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

[dependencies.common_traits]
version = "0.12.0"

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

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

[dependencies.crossbeam]
version = "0.8.4"

[dependencies.dary_heap]
version = "0.3.6"

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

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

[dependencies.env_logger]
version = "0.11.5"

[dependencies.epserde]
version = "0.12.0"

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

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

[dependencies.itertools]
version = "0.11.0"

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

[dependencies.lender]
version = "0.6.2"

[dependencies.log]
version = "0.4.17"

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

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

[dependencies.nonmax]
version = "0.5.5"

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.once_cell]
version = "1.19.0"

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

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

[dependencies.rand]
version = "0.9.0"

[dependencies.rayon]
version = "1.9.0"

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

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

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

[dependencies.sha1]
version = "0.10.6"

[dependencies.sux]
version = "0.12.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.6.0"

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

[dependencies.zstd]
version = "0.12"

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