# 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.79" name = "swh-graph" version = "6.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Compressed in-memory representation of the Software Heritage archive 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" [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-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" [[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 = "bit_vector" path = "tests/bit_vector.rs" [[test]] name = "compress_label_names" path = "tests/compress_label_names.rs" [[test]] name = "gov" path = "tests/gov.rs" [[test]] name = "graph_builder" path = "tests/graph_builder.rs" [[test]] name = "properties" path = "tests/properties.rs" [[test]] name = "sort" path = "tests/sort.rs" [[test]] name = "stdlib" path = "tests/stdlib.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 = "vec_graph" path = "tests/vec_graph.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 = "52.0" optional = true [dependencies.arrow-array] version = "52.0" optional = true [dependencies.arrow-schema] version = "52.0" features = ["serde"] optional = true [dependencies.base64-simd] version = "0.8.0" [dependencies.bitvec] version = "1.0.1" [dependencies.bytemuck] version = "1.14.0" features = ["extern_crate_alloc"] [dependencies.byteorder] version = "1.4.3" [dependencies.chrono] version = "0.4.31" features = ["serde"] optional = true [dependencies.clap] version = "4.1.6" features = ["derive"] [dependencies.common_traits] version = "0.10.0" [dependencies.const-hex] version = "1.11.1" optional = true [dependencies.const_panic] version = "0.2.8" optional = true [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" [dependencies.epserde] version = "0.6.1" [dependencies.faster-hex] version = "0.8.0" features = ["std"] default-features = false [dependencies.itertools] version = "0.11.0" [dependencies.java-properties] version = "1.4.1" [dependencies.lender] version = "0.2.7" [dependencies.log] version = "0.4.17" [dependencies.mmap-rs] version = "0.6.1" [dependencies.nonmax] version = "0.5.5" [dependencies.num_cpus] version = "1.16.0" [dependencies.orc-rust] version = "0.3.1" optional = true default-features = false [dependencies.pthash] version = "0.4.0" features = ["rayon"] [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "1.9.0" [dependencies.rdst] version = "0.20.14" features = ["multi-threaded"] [dependencies.serde] version = "1.0.189" optional = true [dependencies.serde_json] version = "1.0.108" optional = true [dependencies.sha1] version = "0.10.1" optional = true [dependencies.sux] version = "0.4.1" [dependencies.tempfile] version = "3.7.1" [dependencies.thiserror] version = "1.0.51" [dependencies.thread_local] version = "1.1.7" [dependencies.webgraph] version = "0.1.4" [dependencies.zstd] version = "0.12" [dev-dependencies.bitvec] version = "1.0.1" features = ["atomic"] [dev-dependencies.futures] version = "0.3.30" [features] arrow = [ "dep:arrow", "dep:arrow-schema", "dep:arrow-array", ] compression = ["sha1"] default = ["macros"] macros = [ "const_panic", "const-hex", ] orc = [ "ar_row", "ar_row_derive", "arrow", "chrono", "orc-rust", ] serde = [ "dep:serde", "dep:serde_json", ] [target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemallocator] version = "0.5"