object_transfer 1.2.2

An object transfer library for various message broker and/or protocols
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"
name = "object_transfer"
version = "1.2.2"
authors = ["Hiroaki Yamamoto"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An object transfer library for various message broker and/or protocols"
homepage = "https://github.com/hiroaki-yamamoto/object-transfer"
readme = "README.md"
keywords = [
    "serialization",
    "deserialization",
    "nats",
    "redis",
    "pubsub",
]
categories = [
    "network-programming",
    "asynchronous",
    "web-programming",
]
license = "MIT"
license-file = "LICENSE.md"
repository = "https://github.com/hiroaki-yamamoto/object-transfer"

[features]
default = [
    "nats",
    "redis",
]
nats = ["dep:async-nats"]
redis = [
    "dep:redis",
    "redis?/aio",
    "redis?/tokio-comp",
    "redis?/streams",
]

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

[dependencies.async-nats]
version = "0.46"
optional = true

[dependencies.async-stream]
version = "0.3.6"

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

[dependencies.bytes]
version = "1.10.1"

[dependencies.futures]
version = "0.3"

[dependencies.redis]
version = "1.0"
optional = true

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.mockall]
version = "0.14.0"

[dev-dependencies.static_assertions]
version = "1.1.0"

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