jetstream-extra 0.3.0

Set of utilities and extensions for the JetStream NATS of the async-nats crate
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 = "jetstream-extra"
version = "0.3.0"
authors = ["Tomasz Pietrek <tomasz@synadia.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Set of utilities and extensions for the JetStream NATS of the async-nats crate"
homepage = "https://github.com/synadia-io/orbit.rs"
documentation = "https://docs.rs/jetstream-extra"
readme = "README.md"
keywords = [
    "nats",
    "extra",
    "extensions",
    "api",
    "jetstream",
]
categories = [
    "network-programming",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/synadia-io/orbit.rs"
resolver = "2"

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

[[example]]
name = "bench_fast_sweep"
path = "examples/bench_fast_sweep.rs"

[[example]]
name = "bench_normal_vs_fast"
path = "examples/bench_normal_vs_fast.rs"

[[test]]
name = "batch_fetch"
path = "tests/batch_fetch.rs"

[[test]]
name = "batch_publish"
path = "tests/batch_publish.rs"

[[test]]
name = "batch_publish_all"
path = "tests/batch_publish_all.rs"

[[test]]
name = "batch_publish_errors"
path = "tests/batch_publish_errors.rs"

[[test]]
name = "batch_publish_fast"
path = "tests/batch_publish_fast.rs"

[dependencies.async-nats]
version = "0.48.0"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.futures]
version = "0.3"

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

[dependencies.nuid]
version = "0.5"

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
]

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tokio-stream]
version = "0.1"
features = ["io-util"]