# 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"
name = "k8s-operator-storage"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Storage backends for k8s-operator framework"
readme = false
keywords = [
    "kubernetes",
    "operator",
    "storage",
    "rocksdb",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/alexchoi0/k8s-operator"

[features]
default = ["rocksdb"]
rocksdb = ["dep:rocksdb"]

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

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

[dependencies.bytes]
version = "1"

[dependencies.k8s-operator-core]
version = "0.1.1"

[dependencies.openraft]
version = "0.9"
features = ["serde"]

[dependencies.openraft-memstore]
version = "0.9"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rocksdb]
version = "0.22"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"
