liminal-sdk 0.3.3

Application-facing SDK traits for liminal messaging clients
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.85"
name = "liminal-sdk"
version = "0.3.3"
authors = ["Tom Whiting <tom@ablative.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Application-facing SDK traits for liminal messaging clients"
readme = false
license = "Apache-2.0"
repository = "https://github.com/ablative-io/liminal"
resolver = "2"

[features]
browser = [
    "dep:js-sys",
    "dep:wasm-bindgen",
    "dep:web-sys",
]
default = ["std"]
std = [
    "thiserror/std",
    "serde/std",
    "dep:liminal",
    "dep:tungstenite",
]

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

[[example]]
name = "demo_feed_publisher"
path = "examples/demo_feed_publisher/main.rs"
required-features = ["std"]

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

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

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

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

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

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

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

[dependencies.liminal]
version = "0.3.2"
optional = true
package = "liminal-rs"

[dependencies.liminal-protocol]
version = "0.3.1"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.serde_json]
version = "1"
features = ["alloc"]
default-features = false

[dependencies.spin]
version = "0.9"
features = [
    "mutex",
    "spin_mutex",
]
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tungstenite]
version = "0.30.0"
features = ["handshake"]
optional = true
default-features = false

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.js-sys]
version = "0.3.102"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2.105"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.web-sys]
version = "0.3.102"
features = [
    "BinaryType",
    "Blob",
    "CloseEvent",
    "Event",
    "MessageEvent",
    "WebSocket",
]
optional = true

[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "deny"