# 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.89.0"
name = "sui-graph-store"
version = "0.1.27"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "L1 content-addressed graph store for sui — redb index + rkyv-archived blobs on a ZFS-friendly layout. Replaces the SeaORM/SQLite path with mmap-and-cast zero-copy reads."
readme = false
keywords = [
    "nix",
    "content-addressed",
    "rkyv",
    "redb",
    "blake3",
]
categories = [
    "caching",
    "database-implementations",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/pleme-io/sui"

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

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

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

[dependencies.blake3]
version = "1"

[dependencies.bytecheck]
version = "0.8"

[dependencies.data-encoding]
version = "2"

[dependencies.memmap2]
version = "0.9"

[dependencies.redb]
version = "2"

[dependencies.rkyv]
version = "0.8"
features = [
    "std",
    "bytecheck",
    "alloc",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.proptest]
version = "1"

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

[lints.clippy]
pedantic = "warn"
