alkblobs 0.2.0

Content-addressed blob storage: multi-hash put/get/verify store with pluggable backends, transport- and protocol-agnostic
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 = "2021"
rust-version = "1.88"
name = "alkblobs"
version = "0.2.0"
build = false
exclude = [
    ".opencode/",
    "AGENTS.md",
    "docs/reviews/",
    "docs/research/",
    "docs/plans/",
    "tasks/",
    "docs/sdd_process.md",
    "fuzz/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Content-addressed blob storage: multi-hash put/get/verify store with pluggable backends, transport- and protocol-agnostic"
readme = "README.md"
keywords = [
    "blobs",
    "content-addressed",
    "storage",
    "git",
    "gix",
]
categories = [
    "asynchronous",
    "filesystem",
    "database",
]
license = "MIT OR Apache-2.0"
repository = "https://git.alk.dev/alkdev/alkblobs"

[features]
default = [
    "mem",
    "sqlite",
]
mem = []
ops = [
    "dep:alkcall",
    "dep:serde",
    "dep:serde_json",
    "dep:getrandom",
]
pg-lo = [
    "dep:tokio-postgres",
    "dep:deadpool-postgres",
]
postgres = [
    "dep:tokio-postgres",
    "dep:deadpool-postgres",
]
sqlite = ["dep:rusqlite"]

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

[[test]]
name = "conformance"
path = "tests/conformance/main.rs"

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

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

[dependencies.alkcall]
version = "0.10"
optional = true

[dependencies.deadpool-postgres]
version = "0.14"
optional = true

[dependencies.getrandom]
version = "0.4"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
optional = true

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

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

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "io-util",
    "macros",
    "time",
]
default-features = false

[dependencies.tokio-postgres]
version = "0.7"
optional = true

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
default-features = false

[target."cfg(unix)".dependencies.libc]
version = "0.2"