[package]
edition = "2024"
rust-version = "1.85"
name = "webgraph"
version = "0.6.0"
authors = [
"Tommaso Fontana <tommaso.fontana.96@gmail.com>",
"Sebastiano Vigna <sebastiano.vigna@unimi.it>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust port of the WebGraph framework (http://webgraph.di.unimi.it/)."
readme = "README.md"
keywords = [
"graph",
"compression",
"codes",
"webgraph",
]
categories = [
"compression",
"data-structures",
]
license = "Apache-2.0 OR LGPL-2.1-or-later"
repository = "https://github.com/vigna/webgraph-rs/"
resolver = "2"
[features]
be_bins = []
default = []
fuzz = [
"dep:arbitrary",
"dep:zip",
"dsi-bitstream/fuzz",
]
le_bins = []
serde = ["dep:serde"]
slow_tests = []
[lib]
name = "webgraph"
path = "src/lib.rs"
[[example]]
name = "bench_sort_pairs"
path = "examples/bench_sort_pairs.rs"
[[example]]
name = "bench_swh_labels"
path = "examples/bench_swh_labels.rs"
[[example]]
name = "bench_unit_graph"
path = "examples/bench_unit_graph.rs"
[[example]]
name = "bench_unit_transpose"
path = "examples/bench_unit_transpose.rs"
[[example]]
name = "bfs"
path = "examples/bfs.rs"
[[example]]
name = "custom_codes"
path = "examples/custom_codes.rs"
[[example]]
name = "custom_codes_bfs"
path = "examples/custom_codes_bfs.rs"
[[example]]
name = "print"
path = "examples/print.rs"
[[test]]
name = "test_arc_list_graph"
path = "tests/test_arc_list_graph.rs"
[[test]]
name = "test_batch_codec"
path = "tests/test_batch_codec.rs"
[[test]]
name = "test_breadth_first"
path = "tests/test_breadth_first.rs"
[[test]]
name = "test_btree_graph"
path = "tests/test_btree_graph.rs"
[[test]]
name = "test_build_dcf"
path = "tests/test_build_dcf.rs"
[[test]]
name = "test_bvcomp"
path = "tests/test_bvcomp.rs"
[[test]]
name = "test_bvgraph_access"
path = "tests/test_bvgraph_access.rs"
[[test]]
name = "test_bvgraph_roundtrip"
path = "tests/test_bvgraph_roundtrip.rs"
[[test]]
name = "test_comp_flags"
path = "tests/test_comp_flags.rs"
[[test]]
name = "test_csr_graph"
path = "tests/test_csr_graph.rs"
[[test]]
name = "test_decoders"
path = "tests/test_decoders.rs"
[[test]]
name = "test_factories_mmap"
path = "tests/test_factories_mmap.rs"
[[test]]
name = "test_fuzz"
path = "tests/test_fuzz.rs"
[[test]]
name = "test_graph_equality"
path = "tests/test_graph_equality.rs"
[[test]]
name = "test_graph_types_coverage"
path = "tests/test_graph_types_coverage.rs"
[[test]]
name = "test_graph_wrappers"
path = "tests/test_graph_wrappers.rs"
[[test]]
name = "test_iter"
path = "tests/test_iter.rs"
[[test]]
name = "test_labels_projections"
path = "tests/test_labels_projections.rs"
[[test]]
name = "test_lenders"
path = "tests/test_lenders.rs"
[[test]]
name = "test_offsets"
path = "tests/test_offsets.rs"
[[test]]
name = "test_par_bvcomp"
path = "tests/test_par_bvcomp.rs"
[[test]]
name = "test_regression_le"
path = "tests/test_regression_le.rs"
[[test]]
name = "test_sort_merge"
path = "tests/test_sort_merge.rs"
[[test]]
name = "test_transforms_coverage"
path = "tests/test_transforms_coverage.rs"
[[test]]
name = "test_transpose"
path = "tests/test_transpose.rs"
[[test]]
name = "test_utils_coverage"
path = "tests/test_utils_coverage.rs"
[[test]]
name = "test_vec_graph"
path = "tests/test_vec_graph.rs"
[[test]]
name = "test_visits_coverage"
path = "tests/test_visits_coverage.rs"
[dependencies.anyhow]
version = "1.0.79"
features = ["backtrace"]
[dependencies.arbitrary]
version = "1.3.2"
features = ["derive"]
optional = true
[dependencies.bitflags]
version = "2.6.0"
[dependencies.common_traits]
version = "0.12.0"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.crossbeam-queue]
version = "0.3.12"
[dependencies.dary_heap]
version = "0.3.6"
[dependencies.dsi-bitstream]
version = "0.7.0"
[dependencies.dsi-progress-logger]
version = "=0.8.2"
[dependencies.epserde]
version = "0.12.0"
[dependencies.impl-tools]
version = "0.11.2"
[dependencies.itertools]
version = "0.14.0"
[dependencies.java-properties]
version = "2.0.0"
[dependencies.lender]
version = "0.6.0"
[dependencies.libc]
version = "0.2.155"
[dependencies.log]
version = "0.4.22"
[dependencies.mmap-rs]
version = "0.7.0"
[dependencies.no-break]
version = "0.1.2"
[dependencies.nonmax]
version = "0.5.5"
[dependencies.num_cpus]
version = "1.16.0"
[dependencies.parallel_frontier]
version = "0.1.1"
[dependencies.rand]
version = "0.10.0"
[dependencies.rayon]
version = "1.10.0"
[dependencies.rdst]
version = "0.20.14"
features = ["multi-threaded"]
[dependencies.sealed]
version = "0.6.0"
[dependencies.serde]
version = "1.0.217"
features = ["serde_derive"]
optional = true
[dependencies.sux]
version = "0.12.2"
features = [
"epserde",
"rayon",
"mmap",
]
[dependencies.sync-cell-slice]
version = "0.9.12"
[dependencies.sysinfo]
version = ">=0.35.0,<0.37"
[dependencies.tempfile]
version = "3.10.1"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.value-traits]
version = "0.2.0"
[dependencies.zip]
version = "8.0.0"
optional = true
[dev-dependencies.clap]
version = "4.5.11"
features = [
"derive",
"string",
"wrap_help",
]
[dev-dependencies.env_logger]
version = "0.11.5"
features = [
"auto-color",
"regex",
]
default-features = false
[dev-dependencies.serde]
version = "1.0.217"
features = ["serde_derive"]
[dev-dependencies.serde_json]
version = "1.0.137"