unb-runtime 2.0.0

unb session runtime: transport codec, session/writer engine, Wire handle, cancellation
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 = "2021"
name = "unb-runtime"
version = "2.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "unb session runtime: transport codec, session/writer engine, Wire handle, cancellation"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Midwess/unb"

[features]
observability = [
    "dep:tracing",
    "dep:metrics",
]

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

[dependencies.bytes]
version = "1"

[dependencies.futures-util]
version = "0.3.32"
features = ["sink"]

[dependencies.http]
version = "1"

[dependencies.metrics]
version = "0.24"
optional = true

[dependencies.n0-future]
version = "0.2.0"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "sync",
]

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.unb-core]
version = "2.0.0"

[dependencies.unb-transport]
version = "2.0.0"
features = ["body"]
default-features = false

[dependencies.web-time]
version = "1"

[dev-dependencies.futures-executor]
version = "0.3"

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

[dev-dependencies.tokio]
version = "1.52.3"
features = ["test-util"]

[dev-dependencies.unb-transport]
version = "2.0.0"
features = [
    "body",
    "unix",
]
default-features = false

[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dependencies.tokio]
version = "1.52.3"
features = [
    "rt",
    "time",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.52.3"
features = [
    "rt",
    "time",
    "net",
    "rt-multi-thread",
]