petgraph-live 0.3.1

Generic generation-keyed graph cache, disk snapshot, and graph algorithms for petgraph 0.8
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 = "2024"
rust-version = "1.95"
name = "petgraph-live"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generic generation-keyed graph cache, disk snapshot, and graph algorithms for petgraph 0.8"
homepage = "https://github.com/geronimo-iia/petgraph-live"
documentation = "https://docs.rs/petgraph-live"
readme = "README.md"
keywords = [
    "petgraph",
    "graph",
    "cache",
    "algorithms",
    "snapshot",
]
categories = [
    "data-structures",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/geronimo-iia/petgraph-live"

[features]
default = []
snapshot = [
    "dep:serde",
    "dep:serde_json",
    "dep:bincode",
    "dep:thiserror",
    "petgraph/serde-1",
]
snapshot-lz4 = [
    "snapshot",
    "dep:lz4_flex",
]
snapshot-zstd = [
    "snapshot",
    "dep:zstd",
]

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

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

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

[[example]]
name = "live_basic"
path = "examples/live_basic.rs"
required-features = ["snapshot"]

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

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

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

[[example]]
name = "snapshot_basic"
path = "examples/snapshot_basic.rs"
required-features = ["snapshot"]

[[example]]
name = "snapshot_compression"
path = "examples/snapshot_compression.rs"
required-features = ["snapshot"]

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

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

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

[dependencies.bincode]
version = "2"
features = ["serde"]
optional = true

[dependencies.lz4_flex]
version = "0.13"
optional = true

[dependencies.petgraph]
version = "0.8"
features = []

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

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

[dependencies.thiserror]
version = "2"
optional = true

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.filetime]
version = "0.2"

[dev-dependencies.tempfile]
version = "3"