[package]
edition = "2021"
rust-version = "1.95"
name = "graphrefly-graph"
version = "0.0.6"
authors = ["David Chen<clfhhc@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GraphReFly Graph container, describe/observe, content-addressed snapshots"
homepage = "https://graphrefly.dev"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/graphrefly/graphrefly-rs"
[features]
cbor = ["dep:ciborium"]
content-addressing = [
"dep:cid",
"dep:multihash",
"dep:multibase",
"dep:blake3",
]
dag-cbor = ["dep:serde_ipld_dagcbor"]
default = [
"dag-cbor",
"content-addressing",
]
sha2-interop = ["dep:sha2"]
zstd-codec = [
"dep:zstd",
"dag-cbor",
]
[lib]
name = "graphrefly_graph"
path = "src/lib.rs"
[[test]]
name = "describe"
path = "tests/describe.rs"
[[test]]
name = "gap_fills"
path = "tests/gap_fills.rs"
[[test]]
name = "mount"
path = "tests/mount.rs"
[[test]]
name = "namespace"
path = "tests/namespace.rs"
[[test]]
name = "observe"
path = "tests/observe.rs"
[[test]]
name = "reactive"
path = "tests/reactive.rs"
[[test]]
name = "snapshot"
path = "tests/snapshot.rs"
[dependencies.blake3]
version = "1.5"
optional = true
[dependencies.ciborium]
version = "0.2"
optional = true
[dependencies.cid]
version = "0.11"
optional = true
[dependencies.graphrefly-core]
version = "0.0.6"
[dependencies.indexmap]
version = "2.6"
features = ["serde"]
[dependencies.multibase]
version = "0.9"
optional = true
[dependencies.multihash]
version = "0.19"
optional = true
[dependencies.parking_lot]
version = "0.12"
features = ["arc_lock"]
default-features = false
[dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde_ipld_dagcbor]
version = "0.6"
optional = true
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
optional = true
[dependencies.thiserror]
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.zstd]
version = "0.13"
optional = true