nodedb-client 0.0.0

Unified NodeDb trait and remote client for NodeDB Origin and Lite
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.94"
name = "nodedb-client"
version = "0.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified NodeDb trait and remote client for NodeDB Origin and Lite"
homepage = "https://nodedb.dev"
readme = "README.md"
license = "BUSL-1.1"
repository = "https://github.com/NodeDB-Lab/nodedb"
resolver = "2"

[features]
default = []
native = [
    "tokio",
    "zerompk",
    "serde_json",
    "tokio-rustls",
    "rustls-pemfile",
]
remote = [
    "tokio-postgres",
    "tokio",
    "serde_json",
]

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

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

[dependencies.nodedb-types]
version = "0"

[dependencies.rustls-pemfile]
version = "2"
optional = true

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

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

[dependencies.sonic-rs]
version = "0.5"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "rt",
    "sync",
]
optional = true

[dependencies.tokio-postgres]
version = "0.7"
features = ["with-serde_json-1"]
optional = true

[dependencies.tokio-rustls]
version = "0.26"
features = ["aws-lc-rs"]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.zerompk]
version = "0.3"
features = [
    "std",
    "derive",
]
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "rt",
    "macros",
]