# 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" name = "webgraph" version = "0.1.4" build = "build.rs" 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/" [profile.release] opt-level = 3 debug = 2 debug-assertions = false overflow-checks = false [lib] name = "webgraph" path = "src/lib.rs" [[bin]] name = "webgraph" path = "src/main.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 = "print" path = "examples/print.rs" [[test]] name = "bfs_order" path = "tests/bfs_order.rs" [[test]] name = "llp_pipeline" path = "tests/llp_pipeline.rs" [[test]] name = "permuted_graph" path = "tests/permuted_graph.rs" [[test]] name = "test_bvcomp" path = "tests/test_bvcomp.rs" [[test]] name = "test_fuzz" path = "tests/test_fuzz.rs" [[test]] name = "test_iter" path = "tests/test_iter.rs" [[test]] name = "test_offsets" path = "tests/test_offsets.rs" [[test]] name = "test_par_bvcomp" path = "tests/test_par_bvcomp.rs" [[test]] name = "test_proj" path = "tests/test_proj.rs" [[test]] name = "test_read_hc" path = "tests/test_read_hc.rs" [[test]] name = "test_regression_le" path = "tests/test_regression_le.rs" [[test]] name = "test_zip" path = "tests/test_zip.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.bytemuck] version = "1.16.3" [dependencies.clap] version = "4.5.11" features = [ "derive", "string", ] optional = true [dependencies.clap_complete] version = "4.4.11" optional = true [dependencies.common_traits] version = "0.10.0" [dependencies.dary_heap] version = "0.3.6" [dependencies.dsi-bitstream] version = "0.4.0" [dependencies.dsi-progress-logger] version = "0.2.4" [dependencies.env_logger] version = "0.11.5" optional = true [dependencies.epserde] version = "0.6.1" [dependencies.impl-tools] version = "0.10.0" [dependencies.itertools] version = "0.13.0" [dependencies.java-properties] version = "2.0.0" [dependencies.lender] version = "0.2.9" [dependencies.libc] version = "0.2.155" [dependencies.log] version = "0.4.22" [dependencies.mmap-rs] version = "0.6.1" [dependencies.num_cpus] version = "1.16.0" [dependencies.predicates] version = "3.1.2" [dependencies.rand] version = "0.8.5" features = ["small_rng"] [dependencies.rayon] version = "1.10.0" [dependencies.rdst] version = "0.20.14" features = ["multi-threaded"] [dependencies.sealed] version = "0.5.0" [dependencies.sux] version = "0.4.1" [dependencies.sysinfo] version = "0.30.13" [dependencies.tempfile] version = "3.10.1" [dependencies.zip] version = "2.1.5" optional = true [build-dependencies.built] version = "0.7" features = [ "chrono", "git2", ] [features] be_bins = [] cli = [ "dep:clap", "dep:clap_complete", "dep:env_logger", ] default = ["cli"] fuzz = [ "dep:arbitrary", "dep:zip", "dsi-bitstream/fuzz", ] le_bins = [] slow_tests = []