rs-teststand-websocket 0.13.0

Serve the National Instruments TestStand™ Engine to a browser or another process over WebSocket
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 = "rs-teststand-websocket"
version = "0.13.0"
authors = ["Dominik Rajchel"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serve the National Instruments TestStand™ Engine to a browser or another process over WebSocket"
documentation = "https://docs.rs/rs-teststand-websocket"
readme = "README.md"
keywords = [
    "teststand",
    "websocket",
    "ipc",
    "test-automation",
    "ni",
]
categories = [
    "api-bindings",
    "network-programming",
    "os::windows-apis",
]
license = "MIT"
repository = "https://github.com/TheDomcio/rs-teststand"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["i686-pc-windows-msvc"]
all-features = true

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

[[example]]
name = "host"
path = "examples/host/main.rs"

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

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

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

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

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

[dependencies.rs-teststand-bridge]
version = "0.13.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

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

[dependencies.tokio-tungstenite]
version = "0.28"

[dev-dependencies.rs-teststand]
version = "0.13.0"

[dev-dependencies.rs-teststand-serde]
version = "0.13.0"

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

[lints.clippy]
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
doc_markdown = "deny"
empty_structs_with_brackets = "deny"
enum_glob_use = "deny"
exit = "deny"
expect_used = "deny"
float_cmp = "deny"
fn_to_numeric_cast_any = "deny"
format_push_string = "deny"
indexing_slicing = "deny"
integer_division = "deny"
lossy_float_literal = "deny"
mem_forget = "deny"
panic = "deny"
partial_pub_fields = "deny"
same_name_method = "deny"
todo = "deny"
try_err = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unnecessary_safety_comment = "deny"
unreachable = "deny"
unwrap_used = "deny"
verbose_file_reads = "deny"
wildcard_imports = "deny"

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

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

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

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

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

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

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

[lints.rust]
missing_debug_implementations = "deny"
missing_docs = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unreachable_pub = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
invalid_rust_codeblocks = "deny"
private_intra_doc_links = "deny"