# 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 = "rf-rpc"
version = "1.0.0-beta.6"
authors = ["Erling Kristiansen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RavenFabric — RPC message types, multiplexer, codec"
homepage = "https://ravenfabric.io"
readme = false
keywords = [
    "security",
    "remote-execution",
    "mesh-networking",
    "noise-protocol",
    "zero-trust",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/egkristi/RavenFabric"
resolver = "2"

[features]
default = []
sqlite = ["dep:rusqlite"]

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

[[bench]]
name = "codec_bench"
path = "benches/codec_bench.rs"
harness = false

[dependencies.futures-util]
version = "0.3"

[dependencies.rand]
version = "0.9"

[dependencies.rf-crypto]
version = "1.0.0-beta.6"

[dependencies.rf-transport]
version = "1.0.0-beta.6"

[dependencies.rmp-serde]
version = "1"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-util]
version = "0.7"
features = [
    "rt",
    "compat",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.yamux]
version = "0.13"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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