corium-store 0.1.21

Corium content-addressable blob store
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.88"
name = "corium-store"
version = "0.1.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Corium content-addressable blob store"
homepage = "https://github.com/csm/corium"
readme = "README.md"
license = "Apache-2.0 OR MIT"

[features]
default = []
postgres = [
    "dep:deadpool-postgres",
    "dep:rustls",
    "dep:tokio-postgres-rustls",
]
s3 = [
    "dep:aws-config",
    "dep:aws-sdk-s3",
]
turso = ["dep:turso"]

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

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

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

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

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

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

[dependencies.aws-config]
version = "1"
optional = true

[dependencies.aws-sdk-s3]
version = "1"
optional = true

[dependencies.blake3]
version = "1"

[dependencies.corium-core]
version = "0.1.21"

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

[dependencies.fs2]
version = "0.4"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.53.0"
features = [
    "rt",
    "sync",
]

[dependencies.tokio-postgres-rustls]
version = "0.14.0"
features = [
    "native-certs",
    "ring",
]
optional = true

[dependencies.tokio-stream]
version = "0.1.18"

[dependencies.turso]
version = "0.7.0"
optional = true
default-features = false

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

[dev-dependencies.tokio]
version = "1.53.0"
features = [
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"