vox 0.4.0

Core Vox library 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"
rust-version = "1.91"
name = "vox"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core Vox library crate"
homepage = "https://github.com/bearcove/vox"
documentation = "https://docs.rs/vox"
readme = "README.md"
keywords = [
    "rpc",
    "ipc",
    "serde",
    "networking",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bearcove/vox"
resolver = "2"

[package.metadata."docs.rs"]
rustdoc-args = [
    "--html-in-header",
    "arborium-header.html",
]

[features]
default = [
    "runtime",
    "transport-tcp",
    "transport-local",
]
runtime = ["dep:vox-core"]
transport-all = [
    "transport-tcp",
    "transport-local",
    "transport-websocket",
]
transport-ffi = ["dep:vox-ffi"]
transport-local = ["dep:vox-stream"]
transport-tcp = ["dep:vox-stream"]
transport-websocket = ["dep:vox-websocket"]
transport-websocket-tls = [
    "transport-websocket",
    "dep:tokio-rustls",
    "dep:rustls",
    "dep:rustls-pemfile",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.facet]
version = "0.46"
features = [
    "camino",
    "reflect",
]

[dependencies.facet-pretty]
version = "0.46"

[dependencies.facet-reflect]
version = "0.46"

[dependencies.moire]
version = "1.0.0"

[dependencies.rustls]
version = "0.23"
optional = true

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

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "time",
    "macros",
    "io-util",
]

[dependencies.tokio-rustls]
version = "0.26"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.vox-core]
version = "0.4.0"
optional = true

[dependencies.vox-ffi]
version = "0.4.0"
optional = true

[dependencies.vox-postcard]
version = "0.4.0"

[dependencies.vox-service-macros]
version = "0.4.0"

[dependencies.vox-stream]
version = "0.4.0"
optional = true

[dependencies.vox-types]
version = "0.4.0"

[dependencies.vox-websocket]
version = "0.4.0"
optional = true

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

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

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]