jetstream 15.1.0

Jetstream is a RPC framework for Rust, based on the 9P protocol and QUIC.
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 = "jetstream"
version = "15.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Jetstream is a RPC framework for Rust, based on the 9P protocol and QUIC."
documentation = "https://jetstream.rs"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/sevki/jetstream"

[package.metadata.docs.rs]
features = ["all"]

[features]
9p = ["dep:jetstream_9p"]
all = [
    "9p",
    "http",
    "iroh",
    "quic",
    "tracing",
    "wasm",
]
default = ["tracing"]
http = [
    "dep:jetstream_http",
    "quic",
]
iroh = [
    "dep:jetstream_iroh",
    "jetstream_rpc/iroh",
    "jetstream_error/iroh",
]
miette = ["jetstream_error/miette"]
quic = [
    "dep:jetstream_quic",
    "jetstream_rpc/quinn",
    "jetstream_error/quinn",
]
serde = ["jetstream_rpc/serde"]
source-info = ["jetstream_error/source-info"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
    "miette",
    "source-info",
]
wasm = []

[lib]
name = "jetstream"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"
bench = false

[[example]]
name = "echo"
path = "examples/echo.rs"
bench = false
required-features = ["quic"]

[[example]]
name = "echo_with_tracing"
path = "examples/echo_with_tracing.rs"
bench = false
required-features = ["quic"]

[[example]]
name = "http"
path = "examples/http.rs"
bench = false
required-features = ["quic"]

[[example]]
name = "iroh_echo"
path = "examples/iroh_echo.rs"
bench = false
required-features = ["iroh"]

[[example]]
name = "sqlite_mtls"
path = "examples/sqlite_mtls.rs"
bench = false
required-features = ["quic"]

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

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

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

[[test]]
name = "jetstream_wire_format"
path = "tests/jetstream_wire_format/mod.rs"
bench = false

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

[[test]]
name = "server"
path = "tests/server.rs"
bench = false

[[bench]]
name = "perf"
path = "benches/perf.rs"
harness = false

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

[dependencies.futures]
version = "0.3.31"

[dependencies.jetstream_9p]
version = "15.1.0"
optional = true

[dependencies.jetstream_error]
version = "15.1.0"

[dependencies.jetstream_http]
version = "15.1.0"
optional = true

[dependencies.jetstream_iroh]
version = "15.1.0"
optional = true

[dependencies.jetstream_macros]
version = "15.1.0"

[dependencies.jetstream_quic]
version = "15.1.0"
optional = true

[dependencies.jetstream_rpc]
version = "15.1.0"

[dependencies.jetstream_wireformat]
version = "15.1.0"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.rand]
version = "0.9.2"

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

[dependencies.tracing-subscriber]
version = "0.3.20"
optional = true

[dependencies.trait-variant]
version = "0.1.2"

[dev-dependencies.askama]
version = "0.15.1"

[dev-dependencies.axum]
version = "0.8.8"

[dev-dependencies.criterion]
version = "0.7.0"
features = ["async_tokio"]

[dev-dependencies.hyper]
version = "1.8.1"
features = ["full"]

[dev-dependencies.hyper-util]
version = "0.1.19"
features = ["full"]

[dev-dependencies.insta]
version = "1.46.1"

[dev-dependencies.jetstream_error]
version = "15.1.0"
features = [
    "quinn",
    "test-paths",
]

[dev-dependencies.jetstream_rpc]
version = "15.1.0"
features = [
    "quinn",
    "turmoil",
]
default-features = false

[dev-dependencies.jetstream_wireformat]
version = "15.1.0"
features = ["all"]

[dev-dependencies.miette]
version = "7.6.0"

[dev-dependencies.prost]
version = "0.14.3"

[dev-dependencies.rcgen]
version = "0.14.7"

[dev-dependencies.rusqlite]
version = "0.38.0"
features = ["bundled"]

[dev-dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
default-features = false

[dev-dependencies.rustls-pemfile]
version = "2.2.0"

[dev-dependencies.sha256]
version = "1.6.0"

[dev-dependencies.term-transcript]
version = "0.4.0"

[dev-dependencies.tokio]
version = "1.47.1"
features = ["full"]

[dev-dependencies.tokio-rustls]
version = "0.26.4"

[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]

[dev-dependencies.tower-service]
version = "0.3.3"

[dev-dependencies.turmoil]
version = "0.6.5"

[build-dependencies.cfg_aliases]
version = "0.2.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3.4"
features = ["wasm_js"]