plexus-client 0.11.0

wasm-safe client runtime for Plexus RPC: the wire envelope, the Transport trait, and typed event decoding
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 = "plexus-client"
version = "0.11.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "wasm-safe client runtime for Plexus RPC: the wire envelope, the Transport trait, and typed event decoding"
readme = false
license = "MIT"
repository = "https://github.com/hypermemetic-ai/plexus-macros"

[features]
binary = ["dep:bytes"]
default = []
schema = ["dep:schemars"]
ws-native = [
    "binary",
    "dep:futures-channel",
    "dep:tokio",
    "dep:tokio-tungstenite",
    "futures-util/sink",
]
ws-web = [
    "binary",
    "dep:futures-channel",
    "dep:wasm-bindgen",
    "dep:web-sys",
]

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

[[example]]
name = "watch_live"
path = "examples/watch_live.rs"
required-features = ["ws-native"]

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

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

[[test]]
name = "kit_client"
path = "tests/kit_client.rs"
harness = false
required-features = ["ws-native"]

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1"
features = ["serde"]
optional = true

[dependencies.futures-channel]
version = "0.3"
features = ["std"]
optional = true
default-features = false

[dependencies.futures-core]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.schemars]
version = "1.1"
optional = true

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

[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]

[dependencies.tokio]
version = "1.0"
features = ["rt"]
optional = true

[dependencies.tokio-tungstenite]
version = "0.30"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "CloseEvent",
    "Event",
    "MessageEvent",
    "WebSocket",
]
optional = true

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

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt",
    "time",
    "signal",
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"