# 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 = "rstmdb"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A state machine database with WAL durability"
homepage = "https://github.com/rstmdb/rstmdb"
readme = "README.md"
keywords = [
    "state-machine",
    "database",
    "wal",
    "event-sourcing",
]
categories = [
    "database",
    "data-structures",
]
license = "BUSL-1.1"
repository = "https://github.com/rstmdb/rstmdb"

[package.metadata.deb]
maintainer = "rstmdb maintainers"
copyright = "2026, rstmdb authors. Licensed under BSL-1.1"
extended-description = "rstmdb is a state machine database with Write-Ahead Log (WAL) durability. It provides a TCP-based command protocol (RCP) for managing versioned state machine definitions, creating instances, and applying events with guard conditions."
section = "database"
priority = "optional"
assets = [
    [
    "target/release/rstmdb",
    "usr/bin/",
    "755",
],
    [
    "target/release/rstmdb-cli",
    "usr/bin/",
    "755",
],
]
conf-files = []

[[package.metadata.generate-rpm.assets]]
source = "target/release/rstmdb"
dest = "/usr/bin/rstmdb"
mode = "0755"

[[package.metadata.generate-rpm.assets]]
source = "target/release/rstmdb-cli"
dest = "/usr/bin/rstmdb-cli"
mode = "0755"

[package.metadata.generate-rpm.requires]

[[bin]]
name = "rstmdb"
path = "src/main.rs"

[dependencies.rstmdb-core]
version = "0.2.0"

[dependencies.rstmdb-server]
version = "0.2.0"

[dependencies.rstmdb-storage]
version = "0.2.0"

[dependencies.rstmdb-wal]
version = "0.2.0"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
